/*
 * styles.css
 * This stylesheet has been updated to match the navy and gold theme from the example image.
 * Key changes include:
 * - A dark navy background for the entire site.
 * - Use of a serif font for headings and gold as the accent color.
 * - Responsive layout for the header and navigation.
 * - Consistent button styling.
 * - Improved image sizing and aspect ratios.
 */

/* VARIABLES */
:root {
  --navy: #0F2C51; /* Updated to match the logo background */
  --gold: #d4af37;
  --white: #ffffff;
  --muted: #6b7280;
  --container: 1200px;
  --gap: 24px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.45;
  color: var(--white);
  background: var(--navy);
}

/* WRAP */
.wrap {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 0;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 50;
  padding: 12px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.logo-lockup {
  height: 36px;
  display: block;
}
.logo-icon {
  height: 32px;
}
.header-btn {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
  transition: background 250ms ease, color 250ms ease;
}
.header-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

/* NAV */
.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 18px;
  margin-left: 12px;
}
.nav-list a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 250ms ease;
  padding: 4px 0;
}
.nav-list a:hover {
  color: var(--gold);
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 250ms ease;
}
.nav-list a:hover::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--gold);
  cursor: pointer;
}

/* LANG */
.lang {
  display: flex;
  gap: 8px;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--white);
  font-weight: 600;
}
.lang-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 700;
}

/* HERO */
.hero {
  min-height: 62vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 60%, var(--navy) 100%);
  z-index: 1;
}
.hero-inner {
  padding: 48px 0;
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.2rem;
  line-height: 1.02;
  margin-bottom: 12px;
  color: var(--gold);
}
.hero-sub {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  margin-right: 12px;
  transition: background 250ms ease, color 250ms ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--white);
}
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* INTRO */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
}
.intro-media {
  position: relative; /* Needed for pseudo-element positioning */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}
.intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.intro-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--navy) 0%, transparent 100%);
  z-index: 1;
}
.intro-copy h2 {
  color: var(--gold);
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
}
.intro-copy p {
  color: var(--white);
}

/* CONTENT / SECTIONS */
.content {
  padding: 36px 0;
}
h1,
h2 {
  color: var(--gold);
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
}
h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* VERTICALS (roadmap) */
.verticals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding-left: 0;
}
.verticals li {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 14px;
  border-radius: 8px;
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: space-between;
}
.footer-inner .logo-icon {
  height: 32px;
}
.footer-inner div p {
  margin-bottom: 8px;
}
.disclaimer {
  font-size: 0.9rem;
  color: #dfe6f0;
  max-width: 720px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    padding: 18px 0;
    text-align: center;
  }
  .nav-list {
      flex-direction: column;
      margin-left: 0;
      gap: 10px;
  }
  .nav-list a {
      padding: 8px 0;
  }
  .nav-list a::after {
      display: none;
  }
  .nav-toggle {
    display: inline-block;
  }
  .site-header .wrap {
    flex-wrap: nowrap; /* Prevents wrapping on small screens */
    justify-content: space-between;
  }
  .lang {
    display: none; /* Hide lang toggle on mobile for cleaner header */
  }
  .main-nav.open {
    display: flex;
  }
}

/* small devices */
@media (max-width: 480px) {
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .logo-lockup {
    height: 32px;
  }
}
