@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --gold: #D4AF37; --dark-gold: #B8941F; --light-gold: #F4E4BC;
    --black: #0A0A0A; --dark-gray: #121212; --medium-gray: #1A1A1A;
    --light-gray: #F5F5F5; --white: #FFFFFF;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif; overflow-x: hidden;
    background: var(--black); color: var(--white);
    /* opacity: 0;  <-- Temporarily disabled */
    /* transition: opacity 1s ease-in-out; */
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* --- Navigation --- */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(20px);
    z-index: 1000; padding: 1rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}
/* prevent body scroll when menu open */
body.nav-open { overflow: hidden; }

/* ensure the mobile menu overlays content */
@media (max-width: 992px) {
  .nav-links {
    z-index: 1000;             /* sits over page content */
  }
  .hamburger { 
    display: block; 
    z-index: 1001;             /* sits over the overlay so it stays clickable */
    background: transparent;   /* since it’s now a button */
    border: 0;
  }
  .hamburger:focus { outline: 2px solid var(--gold); outline-offset: 4px; }
}

nav.scrolled { background: rgba(10, 10, 10, 0.95); box-shadow: 0 2px 20px rgba(212, 175, 55, 0.15); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; background: linear-gradient(135deg, var(--gold), var(--light-gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 3rem; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 500; position: relative; transition: all 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; background: var(--gold); transition: all 0.3s ease; transform: translateX(-50%); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.hamburger { display: none; cursor: pointer; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--white); }

/* --- Hero Section --- */
.hero { height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 2s ease-in-out; background-size: cover; background-position: center; }
.slide.active { opacity: 1; }
.slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.5)); z-index: 2; }
.slide-1 { background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070'); }
.slide-2 { background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2131'); }
.slide-3 { background-image: url('https://images.unsplash.com/photo-1590725175499-c42c98fb2b87?q=80&w=2127'); }
.slide-4 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070'); }
.hero-content { position: relative; z-index: 10; text-align: center; color: var(--white); max-width: 1000px; padding: 0 1rem; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 900; line-height: 1.2; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.2rem; margin: 1.5rem 0 3rem; color: var(--light-gold); font-weight: 300; letter-spacing: 2px; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }
.btn { padding: 1rem 2rem; border: none; font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: all 0.4s ease; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--dark-gold)); color: var(--black); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3); }
.btn-primary:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5); }
.btn-secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--black); transform: translateY(-8px); }

/* --- General Section Styling --- */
.section { padding: 6rem 0; }
.section-title { text-align: center; font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 4rem; position: relative; font-weight: 700; }
.section-title::after { content: ''; width: 80px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--light-gold)); position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); border-radius: 2px; }

/* --- Foundation Story Section --- */
.foundation-story { background: var(--dark-gray); }
.story-content { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story-text p.highlight-text { color: var(--gold); font-weight: 500; font-size: 1.3rem; line-height: 1.8; margin-bottom: 2rem; }
.story-text p { font-size: 1.1rem; line-height: 2; color: var(--light-gray); font-weight: 300; }
/* .story-image-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(4, 1fr); gap: 1rem; height: 500px; }
.story-image-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.story-image-grid img:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 5; }
.story-image-grid img:nth-child(2) { grid-column: 4 / 6; grid-row: 1 / 3; } */

/* --- Stats Section --- */
.stats-section { background: var(--gold); padding: 5rem 1rem; color: var(--black); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 900; }
.stat-label { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* --- Services Section --- */
.services-overview { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card { background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray)); border-radius: 20px; padding: 2.5rem; text-align: center; transition: all 0.4s ease; border: 1px solid rgba(212, 175, 55, 0.2); }
.service-card:hover { transform: translateY(-15px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2); }
.service-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--gold), var(--dark-gold)); border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; color: var(--black); font-size: 2rem; }
.service-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 1rem; color: var(--gold); }

/* --- Featured Projects Section --- */
.portfolio-preview { background: var(--dark-gray); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2rem; }
.portfolio-item { background: var(--medium-gray); border-radius: 15px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: all 0.4s ease; display: block; text-decoration: none; }
.portfolio-item img { width: 100%; height: 400px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.portfolio-item:hover { transform: translateY(-10px); }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(10,10,10,0.95), transparent); padding: 3rem 1.5rem 1.5rem; }
.portfolio-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold); margin-bottom: 0.5rem; }
.portfolio-category { font-size: 0.8rem; color: var(--light-gray); text-transform: uppercase; letter-spacing: 1px; }

/* --- Footer --- */
footer { background: var(--dark-gray); color: var(--light-gray); padding: 5rem 0 2rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 1.5rem; }
.footer-col p, .footer-col li { line-height: 2; list-style: none; font-weight: 300; font-size: 0.95rem; }
.footer-col a { color: var(--light-gray); text-decoration: none; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--gold); }
.social-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
.social-links a { font-size: 1.5rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--medium-gray); font-size: 0.9rem; font-weight: 300; }

/* =================================
   FOUNDATION STORY SECTION (Well-Aligned 3-Image Grid)
==================================== */
.story-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* A simple 2-column grid */
    grid-template-rows: repeat(2, 1fr);    /* A 2-row grid */
    gap: 1.5rem;
    height: 450px;
}

.story-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Position the three images within the new, balanced grid */
.story-image-grid img:nth-child(1) {
    grid-column: 1 / 2;      /* First column */
    grid-row: 1 / 3;         /* Spans both rows (making it tall) */
}
.story-image-grid img:nth-child(2) {
    grid-column: 2 / 3;      /* Second column */
    grid-row: 1 / 2;         /* Top row */
}
.story-image-grid img:nth-child(3) {
    grid-column: 2 / 3;      /* Second column */
    grid-row: 2 / 3;         /* Bottom row */
}
/* ================================
   DIRECTORS SECTION
================================ */
.directors { background: var(--black); }
.directors-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--light-gray);
  font-weight: 300;
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Card */
.director-card {
  background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-radius: 20px;
  padding: 2rem 1.75rem 1.9rem;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease, border-color .3s ease;
  box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}
.director-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 22px 55px rgba(212,175,55,0.18);
}

/* Image with gold ring */
.director-figure {
  width: 150px; height: 150px; margin: 0 auto 1.25rem; position: relative;
}
.director-figure::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--light-gold));
  z-index: 0;
  filter: drop-shadow(0 10px 25px rgba(212,175,55,0.15));
}
.director-figure img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  display: block;
}

/* Text */
.director-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; margin-top: .25rem; color: var(--white);
}
.director-role {
  color: var(--gold);
  font-weight: 600; letter-spacing: .3px; margin-top: .2rem; margin-bottom: .6rem;
}
.director-bio {
  color: var(--light-gray);
  font-size: .95rem; line-height: 1.8; font-weight: 300;
}

/* Scroll reveal (pairs with tiny JS below) */
.reveal { 
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Responsive tweaks to match your breakpoints */
@media (max-width: 992px) {
  .director-figure { width: 140px; height: 140px; }
}
@media (max-width: 768px) {
  .directors-grid { gap: 1.5rem; }
  .director-card { padding: 1.6rem 1.4rem; }
}
/* ============ Directors Portrait Styling ============ */
.director-figure {
  /* control portrait size here */
  --portrait-size: clamp(160px, 18vw, 220px);

  width: var(--portrait-size);
  height: var(--portrait-size);
  margin: 0 auto 1.1rem;
  position: relative;
  border-radius: 50%;
  padding: 6px; /* space for the ring */
  background:
    /* gold ring */
    conic-gradient(from 200deg,
      var(--gold), var(--light-gold), var(--dark-gold), var(--gold));
  box-shadow:
    0 14px 35px rgba(0,0,0,0.35),
    0 10px 28px rgba(212,175,55,0.12);
}

/* inner dark bezel so the ring reads clearly on dark bg */
.director-figure::before {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
  z-index: 0;
}

/* Portrait image itself */
.director-img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  /* subtle inner highlight */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* Hover micro-interaction on the whole card */
.director-card:hover .director-figure {
  transform: translateY(-4px);
  box-shadow:
    0 20px 55px rgba(0,0,0,0.45),
    0 14px 38px rgba(212,175,55,0.18);
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Optional animated halo (comment out if you prefer static) */
.director-figure::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0%, rgba(212,175,55,.35) 12%,
    rgba(244,228,188,.25) 22%, transparent 34%);
  filter: blur(0.5px);
  animation: sarujiHalo 7s linear infinite;
  opacity: .6;
}
@keyframes sarujiHalo { to { transform: rotate(360deg); } }

/* Tighten on small screens */
@media (max-width: 768px) {
  .director-figure { --portrait-size: 170px; }
}



/* ================================
   DIRECTORS (tight alignment + phone)
================================ */
.directors .directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* unify portrait size and ring (reuse your director-figure) */
.director-figure {
  --portrait-size: clamp(160px, 18vw, 210px);
  width: var(--portrait-size);
  height: var(--portrait-size);
  margin: 0 auto 1.1rem;
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 200deg,
    var(--gold), var(--light-gold), var(--dark-gold), var(--gold));
  box-shadow:
    0 14px 35px rgba(0,0,0,0.35),
    0 10px 28px rgba(212,175,55,0.12);
}
.director-figure::before {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
  z-index: 0;
}
.director-img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.director-card {
  background: linear-gradient(135deg, var(--medium-gray), var(--dark-gray));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0,0,0,0.35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .3s ease;
}
.director-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 22px 55px rgba(212,175,55,0.18);
}

.director-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-top: .25rem;
}
.director-title { color: var(--gold); font-weight: 600; margin: .2rem 0 .6rem; }
.director-bio { color: var(--light-gray); font-weight: 300; }

/* phone line */
.director-contact {
  margin-top: .8rem;
  font-size: .95rem;
}
.director-contact a {
  color: var(--light-gold);
  text-decoration: none;
}
.director-contact a:hover { color: var(--gold); }

/* keep your reveal animation working nicely */
.reveal { opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }




/* =================================
   HERO SLIDESHOW STYLES
==================================== */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits behind the hero content */
}

/* Dark overlay for text readability */
.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 30, 0.6);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: zoom-pan 20s linear infinite alternate; /* Adds a slow zoom effect */
}

.slide.active {
    opacity: 1;
}
/* Make founders portraits a bit larger but keep the same design */
.founders-grid .director-figure { --portrait-size: clamp(180px, 22vw, 240px); }

/* Extra spacing between name → title → bio (fixes your gap issue) */
.director-name { margin-bottom: .45rem; }
.director-title { margin-top: .25rem; margin-bottom: 1.1rem; }
.director-bio { margin-top: .35rem; line-height: 1.9; }

/* Optional: give Founders section same background as Directors or keep dark-gray */
.founders { background: var(--dark-gray); }


/* -- NEW, WORKING SLIDESHOW IMAGES -- */
.slide-1 { background-image: url('https://images.pexels.com/photos/3184431/pexels-photo-3184431.jpeg'); }
.slide-2 { background-image: url('https://images.pexels.com/photos/1216589/pexels-photo-1216589.jpeg'); animation-delay: -5s; }
.slide-3 { background-image: url('https://images.pexels.com/photos/2219024/pexels-photo-2219024.jpeg'); animation-delay: -10s; }
.slide-4 { background-image: url('https://images.pexels.com/photos/209230/pexels-photo-209230.jpeg'); animation-delay: -15s; }

@keyframes zoom-pan {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2; /* Sits on top of the slideshow */
}
/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .nav-links { position: fixed; left: -100%; top: 0; gap: 0; flex-direction: column; background-color: var(--dark-gray); width: 100%; height: 100vh; text-align: center; transition: 0.3s; justify-content: center; padding-top: 5rem; }
    .nav-links.active { left: 0; }
    .nav-links li { padding: 2rem 0; }
    .nav-links a { font-size: 1.5rem; }
    .hamburger { display: block; z-index: 1001; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .story-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .section { padding: 4rem 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}