/* ============================================================
   GAUTAM GOLD — style.css
   SHARED across ALL pages: index.html, catalog.html, and any
   future pages. Contains: Reset, Variables, Typography,
   Buttons, Navigation, CTA Card, Footer, Responsive.
   Page-specific styles go in their own CSS file.
   ============================================================ */

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --gold:       #9B7C2E;
  --dark:       #1a1a1a;
  --body-grey:  #444444;
  --light-grey: #666666;
  --white:      #ffffff;
  --border:     #e2d9c8;
  --stat-bg: linear-gradient(90deg, #ffffff 0%, #F2EBD9 100%);

  --font-serif: 'Inria Serif', Georgia, serif;

  --container:  1160px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,.10);
}

/* ── BASE ───────────────────────────────────────────────── */
body {
  font-family: var(--font-serif);
  color: var(--dark);
  background: var(--white);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  padding: .7rem 2.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .25s ease;
  border: 1px solid transparent;
}
.btn-hero {
  background: var(--white);
  color: var(--gold);
  border-color: var(--white);
}
.btn-hero:hover { background: transparent; color: var(--white); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-cta {
  background: var(--white);
  color: var(--gold);
  border: 1px solid #ccc5b0;
  padding: .75rem 2.5rem;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-block;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-cta:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ============================================================
   NAVIGATION  (shared — same HTML on every page)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
}

.site-header:not(.scrolled) .nav-links a {
  color: var(--white);
}

.site-header:not(.scrolled) .nav-whatsapp {
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  height: 89px;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 24px; width: auto; display: block; }

/* Links — centred between logo and WhatsApp */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover  { color: var(--gold); }
.nav-links a.nav-active { color: var(--gold); font-weight: 700; }

.logo-dark {
  display: none;
}

.site-header.scrolled .logo-light {
  display: none;
}

.site-header.scrolled .logo-dark {
  display: block;
}

/* WhatsApp — black circle icon + number */
.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-whatsapp .wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-dark {
  display: none;
}

.site-header.scrolled .wa-light {
  display: none;
}

.site-header.scrolled .wa-dark {
  display: block;
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================================
   HOME PAGE — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
   background: url('assets/hero-bg.jpg') center/cover no-repeat;
  padding-top: 64px;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(30,25,15,.55); }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 2rem 1.5rem; }
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 40px; font-weight: 700;
  color: var(--white); line-height: 1.22; margin-bottom: 1.1rem;
}
.hero-content p {
  font-size: 20px; color: rgba(255,255,255,.88);
  margin-bottom: 2rem; font-weight: 400;
}

/* ============================================================
   HOME PAGE — ABOUT
   ============================================================ */
.about {
  background: linear-gradient(180deg, #F2EBD9 0%, #FFFFFF 100%);
}
.about-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 680px; margin-inline: auto;
}
.about-title { font-family: var(--font-serif); font-weight: 700; font-size: 24px; margin-bottom: 1.2rem; }
.about-text  { font-size: 20px; color: var(--body-grey); line-height: 1.75; margin-bottom: 2rem; }

/* ============================================================
   HOME PAGE — WE ARE CASTING
   ============================================================ */
.casting { background: var(--white); }
.casting-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.casting-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; }
.casting-img-wrap {
  width: 100%;
  height: 368px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casting-img-wrap img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform .4s ease;
}
.casting-card:hover .casting-img-wrap img { transform: scale(1.04); }
.casting-card p { font-size: 20px; font-weight: 400; color: var(--dark); }
.casting-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   HOME PAGE — STATS
   ============================================================ */
.stats { background: var(--white); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.25rem; max-width: 900px; margin-inline: auto;
}
.stat-card {
  background: var(--stat-bg); border-radius: var(--radius-md);
  padding: 2rem 2.5rem; display: flex; flex-direction: column; gap: .4rem;
}
.stat-num   { font-family: var(--font-serif); font-size: 32px; font-weight: 700; color: var(--dark); line-height: 1; }
.stat-label { font-size: 20px; color: var(--light-grey); font-weight: 400; }

/* ============================================================
   HOME PAGE — SERVICES
   ============================================================ */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.service-card { display: flex; flex-direction: column; align-items: center; gap: .85rem; text-align: center; }
.service-img-wrap { width: 100%; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; background: #f0f0f0; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-img-wrap img { transform: scale(1.04); }
.service-card p { font-size: 20px; font-weight: 400; color: var(--dark); }

/* ============================================================
   HOME PAGE — WHY GAUTAM GOLD
   ============================================================ */
.why { background: radial-gradient(ellipse 80% 60% at 50% 50%, #f0e8cc 0%, #e8dfc0 40%, #ddd4ae 100%); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem 4rem; max-width: 900px; margin-inline: auto; text-align: center; }
.why-card  { display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.why-icon  { width: 56px; height: 56px; border-radius: 50%; background: #5a5a5a; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; flex-shrink: 0; }
.why-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--dark); line-height: 24px; }
.why-card p  { font-size: 20px; color: var(--body-grey); line-height: 1.65; font-weight: 400; }

/* ============================================================
   CTA CLOSING CARD  (shared — same HTML on every page)
   ============================================================ */
.cta-section { background: var(--white); padding-block: clamp(2rem,5vw,4rem); }

.cta-card {
  position: relative;
  background: #e8e0c6;
  border-radius: 16px;
  padding: 4rem 2rem;
  overflow: hidden;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px;
}

/* Decorative G — bleeds off right edge */
.cta-g {
  position: absolute;
  width: 580px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}




.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  font-family: var(--font-serif);
  font-size: 40px; font-weight: 700;
  color: var(--dark); line-height: 1.2; margin-bottom: .4rem;
}
.cta-content p {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  color: var(--dark); line-height: 24px; margin-bottom: 1.75rem;
}

/* ============================================================
   FOOTER  (shared — same HTML on every page)
   ============================================================ */
.site-footer { background: var(--white); padding-block: 3rem 2rem; }

.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem; text-align: center;
}

.footer-logo     { display: flex; align-items: center; }
.footer-logo-img { height: 36px; width: auto; display: block; }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2.5rem; }
.footer-nav a {
  font-family: var(--font-serif); font-size: 20px;
  color: var(--dark); font-weight: 400; transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 1.5rem; align-items: center; }
.footer-social a {
  font-size: 1.6rem; color: var(--dark); transition: color .2s;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { color: var(--gold); }

/* Google review badge */
.google-review {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border: 1px solid #ddd;
  border-radius: 10px; padding: 1rem 2rem;
  transition: box-shadow .2s; cursor: pointer;
}
.google-review:hover  { box-shadow: var(--shadow-md); }
.google-g-icon        { width: 36px; height: 36px; flex-shrink: 0; }
.google-review-text   { display: flex; flex-direction: column; text-align: left; gap: .2rem; }
.google-review-text strong { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--dark); line-height: 22px; }
.review-stars         { font-family: var(--font-serif); font-size: 16px; color: var(--dark); line-height: 20px; }
.gold-stars           { color: #f5a623; }

/* Footer bottom bar */
.footer-bottom {
  display: flex; width: 100%;
  justify-content: space-between; align-items: center;
  font-family: var(--font-serif); font-size: 16px; color: var(--dark);
  border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: .25rem;
}
.managed-by { color: #9B59B6; font-size: 16px; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .casting-grid  { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid      { grid-template-columns: repeat(2,1fr); gap: 2.5rem 3rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {

  /* Nav */
  .nav-toggle   { display: flex; }
  .nav-whatsapp { display: none; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start; gap: 0;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); z-index: 199; padding: .5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li   { width: 100%; }
  .nav-links a    { display: block; padding: .75rem 1.5rem; width: 100%; font-size: 16px; }

  /* Hero */
  .hero-content h1 { font-size: 28px; }
  .hero-content p  { font-size: 17px; }

  /* Typography */
  .section-title { font-size: 20px; }
  .stat-num      { font-size: 26px; }

  /* Grids */
  .casting-grid  { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; gap: 2rem; }

  /* CTA */
  
  .cta-content h2 { font-size: 24px; }
  .cta-content p  { font-size: 16px; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 640px) {

  /* Transparent navigation (hero section) */
  .site-header:not(.scrolled) .nav-toggle span {
    background: #ffffff;
  }

  /* When navigation gets background after scroll */
  .site-header.scrolled .nav-toggle span {
    background: #1a1a1a;
  }

}

@media (max-width: 640px) {

  .nav-links.open a {
    color: #1a1a1a !important;
  }

}
