@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;1,400&family=Montserrat:wght@300;500&display=swap");

:root {
  --bg: #f8f6f200; /* Not pure white, "Museum White" */
  --gold: #c5a059;
  --dark: #1a1a1a;
}

body {
  background: var(--bg);
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  cursor: none; /* For custom cursor */
}

/* Loader Animation */
.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-text {
  color: var(--gold);
  font-size: 3rem;
  font-family: "Cormorant Garamond";
  letter-spacing: 10px;
}

/* Cursor Elements */
#cursor {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}
#cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.1s ease;
}


@media (hover: none) {
  body {
    cursor: auto;
  }
  #cursor,
  #cursor-follower {
    display: none;
  }
}






/* Navbar */
/* .navbar {
  padding: 40px 0;
  transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
  padding: 20px 0;
  background: rgba(248, 246, 242, 0.9);
  backdrop-filter: blur(10px);
}
.navbar-brand {
  font-family: "Cormorant Garamond";
  font-size: 2rem;
  font-weight: 600;
}
.gold {
  color: var(--gold);
}
.nav-links a {
  margin-left: 30px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
} */


/* updatewd navbar  */
/* Navbar Base State */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* Ensure it's on top of everything */
    padding: 30px 0;
    transition: all 0.4s ease-in-out;
    background: transparent;
}

/* Glassmorphism Effect on Scroll */
.main-nav.scrolled {
    padding: 15px 0;
    background: rgba(253, 251, 247, 0.7); /* Semi-transparent */
    backdrop-filter: blur(15px); /* The Glass Blur */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #FFFFFF;
    text-decoration: none;
}

/* Desktop Links */
.nav-links { gap: 40px; }
.n-link {
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.nav-btn {
    padding: 10px 20px;
    border: 1px solid #c5a059;
    color: #c5a059;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

/* Hamburger Icon */
.nav-toggle {
    background: transparent;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 10001;
}

.line {
    position: absolute;
    height: 2px;
    width: 100%;
    background: #C5A059;
    left: 0;
    transition: 0.3s;
}

.line-1 { top: 0; }
.line-2 { bottom: 0; width: 70%; left: 30%; }

/* Hamburger X State */
.nav-toggle.active .line-1 { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active .line-2 { transform: translateY(-9px) rotate(-45deg); width: 100%; left: 0; }

/* Mobile Overlay Menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fdfbf7;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    transition: all 0.5s ease;
}

.mobile-overlay.active {
    visibility: visible;
    opacity: 1;
}

.overlay-content { text-align: center; }
.m-link {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 20px;
}



/* Navbar color change AFTER hero */
.main-nav.light {
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Logo color change */
.main-nav.light .nav-logo {
    color: #C5A059;
}

/* Nav links color change */
.main-nav.light .n-link {
    color: #1a1a1a;
}

/* Hamburger lines */
.main-nav.light .line {
    /* background: #1a1a1a; */
    background:#C5A059 ;
}




/* 4. Mouse Scroll Animation */
.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

.scroll-down-indicator {
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}


@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(15px); }
}


















/* Hero */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}
.video-container {
  position: absolute;
  inset: 0;
  z-index: -1;
}
#heroVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-title {
  font-family: "Cormorant Garamond";
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.8;
  margin-bottom: 20px;
}
.italic {
  font-style: italic;
}
.reveal-text {
  display: inline-block;
  overflow: hidden;
}

/* Image Reveal */
.img-reveal-wrapper {
  position: relative;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
}
.reveal-img {
  transform: scale(1.4);
}

.btn-discover {
  background: none;
  border: 1px solid var(--gold);
  padding: 15px 40px;
  margin-top: 30px;
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}
.btn-discover:hover {
  background: var(--gold);
  color: white;
}





















/* programm section  */
/* PROGRAMS SECTION */
.programs-section {
    padding: 50px 0;
    background: #fff; /* Slight contrast from the cream bg */
}

.program-card-wrapper {
    perspective: 1000px;
}

.program-card {
    position: relative;
    height: 550px;
    border-radius: 0; /* Sharp edges look more premium */
    overflow: hidden;
    background: var(--dark);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-img {
    position: absolute;
    inset: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(40%);
    transition: 0.8s;
}

.program-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 10%, transparent 60%);
}

.program-info {
    position: absolute;
    bottom: 0;
    padding: 40px;
    color: white;
    z-index: 2;
    width: 100%;
}

.program-number {
    font-family: 'Cormorant Garamond';
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 10px;
}

.program-info h3 {
    font-family: 'Cormorant Garamond';
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.program-info p {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
    max-width: 80%;
}

.view-btn {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 20px;
    opacity: 0;
    transition: 0.5s;
}

/* Hover Effects */
.program-card:hover .program-img {
    transform: scale(1.1);
}

.program-card:hover img {
    opacity: 0.5;
    filter: grayscale(0%);
}

.program-card:hover p, 
.program-card:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}

.program-card:hover .view-btn:hover {
    color: white;
    letter-spacing: 4px;
}



























/* Gallery section  */
.gallery-pin-section {
    position: relative;
    overflow: hidden;
    background: #fdfbf7;
}

.pin-container {
    height: 100vh;
    width: 100%;
    display: flex;
    overflow: hidden;
}

.pin-wrapper {
    display: flex;
    width: 250vw; /* Accommodates the sliding images */
    height: 100vh;
}

/* Left Content Side */
.gallery-text {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: #fdfbf7;
    z-index: 10;
}

.gold-label { color: #c5a059; letter-spacing: 5px; font-weight: 600; font-size: 0.8rem; margin-bottom: 20px; }
.display-title { font-family: 'Cormorant Garamond', serif; font-size: 5rem; line-height: 1; font-weight: 700; }
.description { max-width: 400px; color: #666; margin-top: 30px; font-size: 1.1rem; }

/* Progress Bar Logic */
.scroll-status { display: flex; align-items: center; margin-top: 50px; gap: 15px; }
.progress-bar-wrap { width: 150px; height: 2px; background: rgba(0,0,0,0.1); position: relative; }
.progress-bar-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: #c5a059; }

/* Sliding Images Side */
.gallery-images {
    display: flex;
    align-items: center;
    padding-left: 5vw;
}

.img-slide {
    width: 600px;
    height: 70vh;
    margin-right: 150px;
    position: relative;
    flex-shrink: 0;
}

.img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-slide:hover img { filter: grayscale(0%); transform: scale(1.02); }

.img-meta {
    position: absolute;
    bottom: -40px;
    font-family: 'Cormorant Garamond';
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.img-meta span { color: #c5a059; margin-right: 10px; font-weight: bold; }




























/* showcase section  */
.faculty-section { background: #fdfbf7; padding: 50px 0; }

.title-underline { width: 80px; height: 2px; background: var(--gold); margin-top: 15px; transform-origin: left; }

/* Grid Setup */
.faculty-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 420px);
    gap: 25px;
}

/* Perfect alignment for titles */
.fac-overlay {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Forces all text to the bottom */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
}

.fac-name {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3vw, 3rem); /* Prevents uneven text wrapping */
    margin: 0;
    line-height: 1.1;
}

.fac-role {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Masking & Parallax */
.fac-mask {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(100% 0 0 0); /* Used by GSAP for the reveal */
}

.fac-mask img {
    width: 100%;
    height: 120%; /* Extra height for parallax */
    object-fit: cover;
    transform: scale(1.4);
}

/* Grid Areas */
.item-large { grid-column: 1 / 3; }
.item-tall { grid-column: 3 / 4; grid-row: 1 / 3; }
.item-square { grid-column: 1 / 2; }
.item-wide { grid-column: 2 / 3; }

@media (max-width: 991px) {
    .faculty-bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .item-large, .item-tall, .item-square, .item-wide { grid-column: span 1; grid-row: auto; height: 450px; }
}








/* atmosphere section  */

.atmosphere-section {
    padding: 100px 0;
    background: #fdfbf7;
    overflow: hidden;
}

.marquee-viewport {
    width: 100%;
    cursor: grab;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    touch-action: none; /* Prevents mobile scroll conflict */
}

.marquee-viewport:active { cursor: grabbing; }

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

.marquee-item {
    width: 450px;
    height: 600px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Hover Scale Feature */
.marquee-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Essential for Drag */
}

.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: 0.4s ease;
}

.marquee-item:hover .item-overlay { opacity: 1; }
.item-overlay span { color: white; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; }



@media (max-width: 768px) {
    .atmosphere-section {
    padding: 50px 0;

    }

}






/* evolution section  */

.evolution-section {
    background: #0d0d0d; /* Sophisticated deep black */
    color: white;
    position: relative;
    padding-bottom: 115px;
    /* padding-bottom: 50px; */

    padding-top: 115px;
}

.sticky-narrative {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 10%;
    position: sticky;
    top: 0;
}

.evolution-stage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10% 15%;
    position: relative;
    border-left: 1px solid rgba(197, 160, 89, 0.2);
}

.stage-img-wrap {
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin-bottom: 40px;
    clip-path: inset(0 0 0 0); /* Used for reveal animation */
}

.stage-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    transition: 1s ease;
}

.evolution-stage:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.stage-year {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.stage-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Scroll Progress Bar */
.scroll-line {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    position: relative;
}

.scroll-progress {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    background: var(--gold);
}
/* TABLET + MOBILE (same behavior) */

/* before it was : max-width: 1199px */
@media (max-width: 1024px) {

  .evolution-section .row {
    flex-direction: column;
  }

  .sticky-narrative {
    position: relative;
    height: auto;
    padding: 60px 8% 40px;
  }

  .evolution-stage {
    min-height: auto;
    padding: 0 8% 80px;
    border-left: none;
  }

  .stage-img-wrap {
    height: 320px;
  }

}


/* TABLET FIX (768px – 1024px) */
@media (max-width: 1024px) {

  .evolution-section .row {
    flex-direction: column;
  }

  .sticky-narrative {
    height: auto;
    padding: 60px 8% 40px;
  }

  .evolution-stage {
    min-height: auto;
    padding: 0 8% 80px;
    border-left: none;
  }

  .stage-img-wrap {
    height: 320px;
    margin-bottom: 30px;
  }

}

@media (max-width: 768px) {

  .evolution-section {
   padding: 20px 0px 0px 0px;
  }

  .sticky-narrative {
    position: relative;
    height: auto;
    padding: 0 6% 60px;
  }

  .sticky-narrative h2 {
    font-size: 3rem;
  }

  .evolution-stage {
    min-height: auto;
    padding: 0 6% 80px;
    border-left: none;
  }

  .stage-img-wrap {
    height: 260px;
  }

  .stage-text h3 {
    font-size: 2.2rem;
  }

  .scroll-indicator-wrap {
    display: none; /* progress bar hidden on mobile */
  }
}





/* footer section  */

.studio-footer {
    background-color: #e2e0db;
    padding: 15px 0 10px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* 1. Logo Styling */
.footer-brand-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 15px;
    margin-bottom: 5px;
    color: #C5A059;
}

.footer-brand-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #c5a059;
    margin-bottom: 25px;
}

/* 2. Navigation Styling */
.footer-vertical-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-vertical-nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.footer-vertical-nav a:hover {
    color: #000;
    letter-spacing: 4px;
}

.nav-dot {
    width: 4px;
    height: 4px;
    background: #c5a059;
    border-radius: 50%;
    opacity: 0.5;
}

/* 3. Social Styling */
.footer-social-wrap {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-circle {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: all 0.4s ease;
}

.social-circle:hover {
    border-color: #c5a059;
    color: #c5a059;
    transform: translateY(-5px);
}

.footer-copyright {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #666666;
    text-transform: uppercase;
    margin-bottom: 0;
}

.footer-section-bottom span {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #666666;
    text-transform: uppercase;
}

.footer-section-bottom span a {
    text-decoration: none;
    color: #666666;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-vertical-nav {
        flex-direction: column;
        gap: 15px;
    }
    .nav-dot { display: none; }
    .footer-brand-logo { font-size: 2.5rem; letter-spacing: 10px; }
}