/* =============================================
   THAOKAR GROUP — Main Stylesheet
   Design: Corporate Luxury | Gold & Deep Navy
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────── */
:root {
  --gold:        #C8A84B;
  --gold-light:  #E2C97E;
  --gold-dark:   #9A7A2E;
  --navy:        #0B1628;
  --navy-mid:    #142040;
  --navy-soft:   #1E3060;
  --white:       #F9F6F0;
  --cream:       #F2EDE4;
  --gray:        #9AA3B2;
  --text:        #2C3545;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 4px;
  --shadow: 0 8px 40px rgba(0,0,0,0.18);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
}

/* ── Gold Divider ──────────────────────────── */
.divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px 0 24px;
}
.divider.center { margin: 16px auto 24px; }

/* ── Section Labels ────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(11, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  height: 68px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--navy);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(249,246,240,0.8);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--navy);
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: var(--radius);
  min-width: 220px; padding: 8px 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 0.82rem; letter-spacing: 0.08em;
  color: rgba(249,246,240,0.75);
  transition: var(--transition);
}
.dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(200,168,75,0.08);
  padding-left: 26px;
}
.dropdown-menu a::after { display: none; }

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-size: 0.78rem !important;
  color: var(--gold) !important;
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0F1E3A 100%);
}
/* Geometric pattern overlay */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(200,168,75,0.04) 40px, rgba(200,168,75,0.04) 41px),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(200,168,75,0.04) 40px, rgba(200,168,75,0.04) 41px);
}
.hero-bg::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 55%;
  background: linear-gradient(135deg, transparent, rgba(200,168,75,0.06), rgba(200,168,75,0.03));
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
/* Decorative circle */
.hero-circle {
  position: absolute; right: 8%; top: 50%;
  transform: translateY(-50%);
  width: min(480px, 42vw); height: min(480px, 42vw);
  border-radius: 50%;
  border: 1px solid rgba(200,168,75,0.15);
  pointer-events: none;
}
.hero-circle::before {
  content: '';
  position: absolute; inset: 16px;
  border-radius: 50%;
  border: 1px solid rgba(200,168,75,0.1);
}
.hero-circle::after {
  content: '';
  position: absolute; inset: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,0.08), transparent 70%);
}

.hero-content {
  position: relative; z-index: 1;
  padding: 0 5%; max-width: 680px;
  animation: fadeUp 1s ease both;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: var(--gold);
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300; color: var(--white);
  margin-bottom: 8px; line-height: 1.08;
}
.hero-content h1 strong {
  display: block; font-weight: 600;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(249,246,240,0.65);
  margin: 24px 0 40px;
  max-width: 500px;
  font-weight: 300;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.btn-primary {
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(200,168,75,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,168,75,0.45);
}
.btn-outline {
  padding: 13px 36px;
  border: 1px solid rgba(249,246,240,0.3);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(249,246,240,0.4);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  animation: bob 2.5s ease-in-out infinite;
}
.hero-scroll::before {
  content: '';
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--navy);
  padding: 0 5%;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(200,168,75,0.15);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(200,168,75,0.05); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(249,246,240,0.5);
  margin-top: 6px;
}

/* ============================================
   BUSINESSES / PORTFOLIO
   ============================================ */
#businesses {
  padding: 100px 5%;
  background: var(--cream);
}
.section-header {
  text-align: center;
  max-width: 600px; margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
}
.section-header p {
  color: var(--gray);
  font-size: 0.95rem; font-weight: 300;
  margin-top: 16px;
}

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
}
.business-card {
  position: relative; overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4/3;
  cursor: pointer;
  group: true;
}
.business-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  transition: transform 0.6s ease;
}
.business-card:hover .business-card-bg { transform: scale(1.05); }

.business-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,22,40,0.95) 0%, rgba(11,22,40,0.4) 60%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: var(--transition);
}
.business-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(200,168,75,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: rgba(200,168,75,0.1);
  font-size: 1.4rem;
  transition: var(--transition);
}
.business-card:hover .business-icon {
  background: var(--gold);
  border-color: var(--gold);
}
.business-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}
.business-card p {
  font-size: 0.82rem; color: rgba(249,246,240,0.6);
  font-weight: 300;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.business-card:hover p { max-height: 80px; }
.business-card-tag {
  position: absolute; top: 20px; right: 20px;
  padding: 4px 12px;
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 20px;
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-light);
}
.business-arrow {
  position: absolute; bottom: 32px; right: 32px;
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  opacity: 0; transform: translateY(8px);
  transition: var(--transition);
}
.business-card:hover .business-arrow {
  opacity: 1; transform: translateY(0);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  padding: 100px 5%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1300px; margin: 0 auto;
}
.about-visual {
  position: relative;
}
.about-img-frame {
  position: relative;
  background: var(--navy-mid);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 520px;
}
.about-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(200,168,75,0.1), transparent);
}
.about-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem; color: var(--gold);
  opacity: 0.3;
}
.about-accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 160px; height: 160px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 4px; opacity: 0.12;
  z-index: -1;
}
.about-badge {
  position: absolute; top: -16px; left: -16px;
  background: var(--navy);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: center;
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about-badge-text {
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gray);
  margin-top: 4px;
}

.about-text h2 {
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400;
}
.about-text p {
  color: #5A6475; font-weight: 300; font-size: 0.95rem;
  margin-bottom: 16px;
}
.about-values {
  margin: 32px 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-value {
  padding: 20px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
.about-value h4 {
  font-size: 0.95rem; font-weight: 600;
  color: var(--navy); margin-bottom: 4px;
}
.about-value p {
  font-size: 0.82rem; color: var(--gray);
  margin-bottom: 0;
}

/* ============================================
   LEADERSHIP
   ============================================ */
#leadership {
  padding: 100px 5%;
  background: var(--navy);
  text-align: center;
}
#leadership .section-header h2 { color: var(--white); }
#leadership .section-header p { color: rgba(249,246,240,0.5); }

.leadership-grid {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 32px; margin-top: 0;
}
.leader-card {
  width: 260px;
  text-align: center;
}
.leader-photo {
  width: 120px; height: 120px; margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy-mid));
  border: 2px solid rgba(200,168,75,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem; color: var(--gold);
  position: relative;
}
.leader-photo::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(200,168,75,0.15);
}
.leader-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--white);
  margin-bottom: 4px;
}
.leader-card .role {
  font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}

/* ============================================
   CONTACT / CTA
   ============================================ */
#contact-cta {
  padding: 100px 5%;
  background: linear-gradient(135deg, #0B1628, #142040);
  position: relative; overflow: hidden;
}
#contact-cta::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,0.06), transparent 70%);
}
.cta-inner {
  max-width: 680px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white); font-weight: 300;
  margin-bottom: 16px;
}
.cta-inner h2 span { color: var(--gold); }
.cta-inner p {
  color: rgba(249,246,240,0.55);
  margin-bottom: 40px;
}
.cta-actions {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #060E1C;
  padding: 60px 5% 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(249,246,240,0.4);
  font-size: 0.88rem; font-weight: 300;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col a {
  display: block; margin-bottom: 10px;
  font-size: 0.88rem; color: rgba(249,246,240,0.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(200,168,75,0.12);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem; color: rgba(249,246,240,0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Scroll-reveal utility */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   INNER PAGES
   ============================================ */
.page-hero {
  padding: 160px 5% 80px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(200,168,75,0.03) 40px, rgba(200,168,75,0.03) 41px);
}
.page-hero-content { position: relative; z-index: 1; max-width: 600px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); color: var(--white); }
.page-hero p { color: rgba(249,246,240,0.6); margin-top: 16px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(249,246,240,0.4);
  margin-bottom: 24px; letter-spacing: 0.1em;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb-sep { opacity: 0.3; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  #about { grid-template-columns: 1fr; gap: 48px; max-width: 700px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  #navbar.mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 68px;
    background: var(--navy);
    padding: 40px 5%;
    gap: 24px; align-items: flex-start;
  }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .businesses-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
