/*
Theme Name: Starkers Modernized
Theme URI: https://github.com/JoeyButler/starkers
Author: Joey Butler (Modernized by Gemini)
Author URI:
Description: A modernized, bare-bones WordPress theme with a modular file structure.
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: classic-theme, accessibility-ready, custom-logo, post-formats
Text Domain: starkers-modernized
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

:root {
  --bg-main: #2c2e33; /* Whole page background (body) */
  --text-main: #ebe9e7; /* Paragraphs, descriptions, normal content */
  --text-secondary: #c6af8f; /* Headings, important text, titles */
  --speaker-card-bg: #3b3e44; /* Card background color */
  --border: #4f535c; /* Card border */
  --accent: #2e8ad0;
  --emphasis: #d595cb;
  --font-family: "Inter", sans-serif;
}

/* ======================================
       Utility Classes
    ====================================== */

/* Headline Border top/bottom */
.headline {
  align-self: stretch;
  text-align: center;
  color: var(--text-secondary);
  margin-block-end: var(--space-xl);
  font-weight: 300;
  text-transform: uppercase;
  /* Border */
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  row-gap: 10px;
  justify-content: center;
  justify-items: center;
}

/* Border */
.headline::before,
.headline::after {
  width: 120%;
  height: 2px;
  background: var(--text-secondary);
  content: "";
  border-radius: 50%;
}

/* Styles */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(
    var(--header-height) - var(--space-xl)
  ); /* already defined as 100px in menu.css */
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--text-secondary);
}

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

#main {
  /* margin to applied for the sticky header */
  /* --space-s is the section padding */
  /* + 1px is the header border */
  margin-top: calc((var(--header-height) - var(--space-xl)) + 1px);
}

/* ======================================
       Home Page - Hero Image Section
    ====================================== */

.front-page-hero {
  padding-bottom: 0;
}

.intro_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.intro_wrapper p {
  text-align: center;
  max-width: 90ch;
  width: 100%;
  text-wrap: balance;
}

/* ======================================
       Home Page - About Seminar Section
    ====================================== */

.event_overview {
  background-color: var(--menu-main-bg);
}

/* .event_overview p {
  max-width: 20ch;
  margin-inline: auto;
} */

.event-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-m);
  background-color: var(--bg-main);
  padding: 20px;
  border-radius: 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  max-width: 1000px;
  margin-inline: auto;
  margin-block-end: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.info-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.text-content {
  text-align: center;
}

.label {
  color: #c5a059; /* Gold color for headers */
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.value {
  color: var(--accent);
  font-size: 16px;
  margin-top: 2px;
}

.divider {
  width: 1px;
  height: 40px;
  background-color: var(--border); /* Subtle vertical line */
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .event-strip {
    flex-direction: column;
    align-items: center;
    gap: initial;
  }
  .divider {
    transform: rotate(90deg);
  }
}

/* ======================================
       Home Page - Speakers Showcase
    ====================================== */

/* ======================================
       Home Page - Agenda
    ====================================== */
.front-page-agenda {
  background-color: var(--menu-main-bg);
  padding-block-end: calc(var(--space-xl) + 2rem);
}

.front-page-agenda .headline {
  margin-block-end: calc(var(--space-xl) + 2rem);
}

/* ======================================
       Home Page - Sponsors
    ====================================== */
.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Top logos */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 50px);
  margin-bottom: var(--space-m);
}

.logos img {
  width: clamp(80px, 20vw, 140px);
  height: auto;
}

/* Subtitle */
.splash .subtitle {
  font-size: clamp(14px, 2.5vw, 18px);
  padding-top: var(--space-m);
  line-height: 1.4;
  border-top: 1px solid var(--border);
}

.splash .subtitle a {
  color: var(--text-secondary);
}

/* Bottom section */
.cyprus {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cyprus img {
  width: clamp(80px, 20vw, 140px);
  margin-bottom: clamp(8px, 2vw, 16px);
  position: relative;
  top: -16px;
}

.cyprus p {
  font-size: clamp(16px, 4vw, 22px);
  line-height: 1.1;
  font-weight: 500;
}

/* ======================================
       Home Page - Location
    ====================================== */
.front-page-loction {
  background-color: var(--menu-main-bg);
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 480px) {
  .map-embed {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}

/* ======================================
       Home Page - Location
    ====================================== */
.footer_copyright {
  align-self: center;
}
