/* ================================
   SEAA Holdings - Styles
   ================================ */

/* CSS Variables */
:root {
  --emerald: #234442;
  --emerald-dark: #1a3331;
  --gold: #b28159;
  --gold-dark: #9a6d4a;
  --gold-light: #c9936a;
  --off-white: #f5f5f1;
  --white: #ffffff;
  --text-dark: #234442;
  --text-muted: rgba(35, 68, 66, 0.7);
  --text-light: rgba(255, 255, 255, 0.9);
  --text-light-muted: rgba(255, 255, 255, 0.7);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(35, 68, 66, 0.1);
  --shadow-md: 0 4px 12px rgba(35, 68, 66, 0.1);
  --shadow-lg: 0 8px 24px rgba(35, 68, 66, 0.12);
  --transition: 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================================
   Navigation
   ================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--emerald);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.nav-scrolled {
  background-color: rgba(35, 68, 66, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 6rem;
  width: auto;
  opacity: 0.95;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================
   Hero Section
   ================================ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald) 0%, #1a3331 50%, #152726 100%);
  overflow: hidden;
  padding-top: 7.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(178, 129, 89, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  overflow: hidden;
}

.hero-decoration svg {
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 120px;
}

.hero-line-accent {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(178, 129, 89, 0.3) 20%, rgba(178, 129, 89, 0.3) 80%, transparent 100%);
  transform: translateY(-50%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 60rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

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

@media (min-width: 992px) {
  .hero-text {
    text-align: left;
  }
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3rem;
  }
}

@media (min-width: 992px) {
  .hero-headline {
    font-size: 3.5rem;
  }
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

@media (min-width: 992px) {
  .hero-slideshow {
    margin: 0;
  }
}

.hero-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hero-slide img {
    height: 350px;
  }
}

.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(35, 68, 66, 0.95));
}

.hero-slide-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.hero-slide-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-slide-indicators {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.hero-slide-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color var(--transition);
}

.hero-slide-dot.active {
  background-color: var(--gold);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-subtext {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}


/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold-light);
}

.btn-primary:hover {
  background-color: var(--gold-dark);
  box-shadow: var(--shadow-md);
}

.btn-link {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color var(--transition);
}

.btn-link:hover {
  color: var(--gold-light);
}

/* ================================
   Section Styles
   ================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-light .section-title,
.section-title-light {
  color: var(--white);
}

.section-header-light .section-subtitle,
.section-subtitle-light {
  color: rgba(255, 255, 255, 0.8);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
}

.section-line {
  width: 4rem;
  height: 2px;
  background-color: var(--gold);
  margin: 1.5rem auto 0;
}

.section-line-left {
  margin: 2rem 0 0;
}

/* ================================
   Verticals Section
   ================================ */
.verticals {
  padding: 7rem 0;
  background-color: var(--off-white);
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.vertical-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  border-top: 4px solid var(--gold);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  gap: 1rem;
}

.vertical-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.vertical-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  background-color: rgba(35, 68, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  transition: background-color var(--transition), color var(--transition);
}

.vertical-card:hover .vertical-icon {
  background-color: var(--emerald);
  color: var(--white);
}

.vertical-content {
  flex: 1;
}

.vertical-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.vertical-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.vertical-objective {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--gold);
  font-style: italic;
}

.vertical-objective span {
  font-weight: 600;
}

/* ================================
   Story Section
   ================================ */
.story {
  padding: 7rem 0;
  background-color: rgba(35, 68, 66, 0.05);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.story-header .section-title {
  text-align: left;
}

.story-content p {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.story-content p + p {
  margin-top: 1.5rem;
}

.story-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Themes */
.themes {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(35, 68, 66, 0.1);
}

.themes-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.themes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.theme-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: rgba(35, 68, 66, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

.theme-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--gold);
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* ================================
   Presence Section
   ================================ */
.presence {
  padding: 7rem 0;
  background-color: var(--off-white);
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.region-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  border-top: 4px solid var(--gold);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.region-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.region-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--emerald);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  transition: background-color var(--transition);
}

.region-card:hover .region-badge {
  background-color: var(--gold);
}

.region-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.region-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================
   Insights Section (Graphs)
   ================================ */
.insights {
  padding: 6rem 0;
  background-color: var(--white);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.insight-card {
  background-color: var(--background);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
  cursor: pointer;
}

.insight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.insight-card img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

.insight-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 1rem;
  text-align: center;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--gold);
}

/* ================================
   Team Section
   ================================ */
.team {
  padding: 6rem 0;
  background-color: var(--off-white);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.team-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  max-width: 320px;
  width: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: var(--emerald);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.team-position {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.team-bio {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .insights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================================
   Contact Section
   ================================ */
.contact {
  padding: 7rem 0 0;
  background-color: var(--emerald);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(178, 129, 89, 0.2);
  color: var(--gold);
  margin: 0 auto 1rem;
}

.contact-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--white);
}

.contact-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .contact-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* Fixed WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
  }
  
  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }
}

/* ================================
   Footer
   ================================ */
.footer {
  margin-top: 5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-img {
  height: 6rem;
  width: auto;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Responsive Styles
   ================================ */

/* Tablet and up */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .hero-logo-main {
    font-size: 5rem;
  }

  .hero-tagline {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .section-title {
    font-size: 3rem;
  }

  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .story-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
  }

  .presence-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-logo-main {
    font-size: 6rem;
  }

  .hero-tagline {
    font-size: 3rem;
  }

  .verticals {
    padding: 8rem 0;
  }

  .story {
    padding: 8rem 0;
  }

  .presence {
    padding: 8rem 0;
  }

  .contact {
    padding: 8rem 0 0;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(35, 68, 66, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }

  .nav-links-open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 0.375rem;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .vertical-card {
    flex-direction: column;
    text-align: center;
  }

  .vertical-icon {
    margin: 0 auto 1rem;
  }
}
