
/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Colors */
    --clr-primary: #4A2270;
    --clr-dark: #000000;
    
    --clr-light: #fcfcfc;
    --clr-white: #ffffff;
    --clr-gray: #e0e0e0;
    --clr-text-muted: #555555;
    
    /* Fonts */
    --ff-heading: 'Syne', sans-serif;
    --ff-accent: 'Cinzel', serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* The magic property */
}

body {
    background-color: var(--clr-light);
    font-family: var(--ff-heading);
    color: var(--clr-dark);
    overflow-x: hidden;
    padding: 20px 25px 25px 25px; 
    box-sizing: border-box; /* Keeps the padding from causing side-scrolling */
}

/* Universal Initial State - 5rem neeche aur invisible */
.gsap-reveal {
    transform: translateY(3rem); /* 5rem ko 3rem kar diya */
}

/* Agar kisi item ko sirf 1rem se uthana hai, toh alag class bana lein */
.gsap-reveal-small {
    transform: translateY(1rem);
}


/* ==========================================================================
   GLOBAL SMOOTH RESIZE ANIMATION (Premium Feel)
   ========================================================================== */
* {
  /* Sirf layout properties ko transition denge taaki hover effects kharab na hon */
  transition-property: width, height, margin, padding, max-width, font-size, gap, flex-basis;
  
  /* Rhode-style smooth animation timing */
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1); 
}

/* Hover wale elements ke liye transition-property reset kar dete hain 
   taaki unka apna original transition kaam karta rahe */
a, button, .nav-link, .submit-btn, .hamburger .bar {
  transition-property: all;
}


/* Purple dot cursor */
.custom-cursor {
    position: fixed;
    width: 14px;
    height: 14px;
    background: #4A2270;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
}

.custom-cursor.active {
    opacity: 1;
}

/* ==========================================================================
   2. NAVBAR STYLING
   ========================================================================== */

/* ---------- Base Navbar (Desktop) ---------- */
.navbar {
  position: fixed;
  top: 20px;
  left: 25px;
  right: 25px;
  width: auto;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 10000;
  padding: 0;
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
  box-shadow: none;
}

.navbar.scrolled {
  background-color: #f4f4f4;
}

.navbar.nav-hidden {
  transform: translateY(calc(-100% - 25px));
}

.navbar.nav-visible {
  transform: translateY(0);
}

/* ---------- Container ---------- */
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  position: relative;
  box-sizing: border-box;
  height: 60px;
}

/* ---------- Logo ---------- */
.nav-logo {
  font-size: clamp(30px, 4.5vw, 38px);
  letter-spacing: -1px;
  color: var(--clr-primary, #60137f);
  font-family: var(--ff-heading, sans-serif);
  font-weight: 900;
  text-transform: uppercase;
  user-select: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  line-height: 1;
}

.nav-logo a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Menu (Desktop) ---------- */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

/* ---------- Nav Links ---------- */
.nav-link {
  font-family: var(--ff-heading, sans-serif);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #5a5a5a;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0;
  display: flex;
  align-items: center;
  height: 100%;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.4;
}

/* ---------- Hamburger (Hidden on Desktop) ---------- */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 10002;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger .bar {
  width: 28px;
  height: 2px;
  background-color: #5a5a5a;
  border-radius: 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* ---------- Utilities ---------- */
body.no-scroll {
  overflow: hidden !important;
}

.nav-menu.no-transition,
.nav-menu.no-transition * {
  transition: none !important;
}

/* ==========================================================================
   MOBILE (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {

  .custom-cursor {
    display: none;
  }

  .navbar {
    top: 20px;
    left: 25px;
    right: 25px;
    border-radius: 12px 12px 0 0;
    overflow: visible;
    z-index: 10000;
  }

  .nav-container {
    padding: 0 20px;
    height: 60px;
    background-color: transparent;
    z-index: 10002;
    border-radius: 12px 12px 0 0;
    position: relative;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10003;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10003;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* --- Mobile Menu Overlay (Clip-Path Unroll Effect) --- */
.nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    background-color: #f4f4f4;
    
    /* Sits BEHIND navbar */
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;

    /* NAYA MAGIC: Clip-path */
    /* Iska matlab hai menu apni jagah par hai, par uska 100% hissa neeche se kata (hide) hua hai */
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    pointer-events: none;
  }

  .nav-menu.transitions-ready {
    transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.8s, border-radius 0.8s ease;
  }

  .nav-menu.active {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    pointer-events: auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  /* --- Mobile Nav Links (Pure CSS Transitions) --- */
  .nav-link {
    margin: 0; 
    padding: 10px 20px; 
    width: auto;
    height: auto;
    text-align: center;
    font-size: clamp(16px, 6vw, 28px);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.2; 
    display: block;
    
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  /* Staggered entry delay */
  .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.20s; }
  .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.28s; }
  .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.36s; }
  .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.44s; }
  .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.52s; }

  /* Hover reset (overrides entry delay) */
  .nav-menu.active .nav-link:hover {
    opacity: 0.4;
    transition: opacity 0.2s ease; 
  }
}



/* ==========================================================================
   3. HERO SECTION (IMAGE ONLY)
   ========================================================================== */
.hero {
  width: 100%;
  max-width: 1440px;
  background-color: #f4f4f4;
  overflow: hidden;
  margin: 100px auto 40px auto;
  
  /* Desktop par ratio lock nahi hota, fixed height rehti hai */
  height: calc(100vh - 5rem); 
  max-height: calc(100vh - 4.5vw);                             
  border-radius: 12px;
}

/* ---------- Image Wrapper (rounded corners) ---------- */
.hero-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* ---------- Hero Image ---------- */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* REMOVE THIS LINE */
  /* will-change: transform; */ 
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
    min-height: 400px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    /* Height ko auto kiya gaya hai taaki Aspect-Ratio control le sake */
    height: auto; 
    aspect-ratio: 4 / 7; /* <-- Shuruati Mobile State */
  }

  .hero-image-wrapper {
    border-radius: 16px;                   
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero {
    /* Yahan se bhi fixed height hata di gayi hai */
    height: auto;
    /* Aspect ratio 768px wali media query se apne aap aa jayega */
  }

  .hero-image-wrapper {
    border-radius: 12px;
  }
}


/* Button ka parent container - Center karne ke liye */
/* Container ko center karne ke liye */
/* Button Container */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 0;
}

/* Button (works as <a> tag) */
.favvl-btn {
  position: relative;
  padding: 15px 45px;
  background: transparent;
  border: 1px solid #000;
  cursor: pointer;
  overflow: hidden;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  display: inline-block;
}

/* Background fill circle — uses transform instead of clip-path */
.favvl-btn::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #e5e5e5;
  z-index: -1;

  /* Position at center by default, JS will override with --x / --y */
  left: var(--x, 50%);
  top: var(--y, 50%);
  translate: -50% -50%;          /* center the circle on the cursor point */

  /* Start invisible and tiny */
  scale: 0;
  opacity: 0;

  /* GPU-accelerated properties only */
  transition:
    scale 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Hover — expand the circle */
.favvl-btn:hover::before {
  scale: 3;       /* 200px × 3 = 600px diameter — covers any button size */
  opacity: 1;
}

/* Text color on hover */
.favvl-btn:hover {
  color: #fff;
}

/* Smooth border transition on hover (optional polish) */
.favvl-btn {
  transition:
    color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.favvl-btn:hover {
  border-color: #e5e5e5;
}

@media (max-width: 768px) {
  .button-container {
    padding: 40px 0;
  }
  
  .favvl-btn {
    padding: 12px 36px;
    font-size: 13px;
  }
}



/* ==========================================================================
   5. SOCIAL DISPLAY GRID SECTION
   ========================================================================== */
.social-grid-section {
    background-color: #F0F0F0;
    width: 100%;
    max-width: 1440px;      
    margin: 0 auto 40px auto;     
    padding: 35px 40px;     
    border-radius: 20px;
    box-sizing: border-box; 
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    
}

.grid-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.grid-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #4A2270;
    letter-spacing: -0.5px;
}

.social-link {
    position: absolute;
    top: 55px;
    right: 40px;
    display: inline-block;
    text-decoration: none;
}

.social-btn.white-btn {
    background: #ffffff;
    color: #4A2270;
    border: 1px solid #4A2270;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
}

.social-btn.no-hover:hover {
    background: #ffffff !important;
    color: #4A2270 !important;
}

.gallery-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    margin-left: -40px;  
    margin-right: -40px; 
    padding-left: 40px;  
    padding-right: 40px; 
    padding-top: 5px;
    padding-bottom: 5px;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
    cursor: grab;
    user-select: none;
}

.gallery-wrapper:active {
    cursor: grabbing;
}

.gallery-wrapper::-webkit-scrollbar {
    display: none; 
}

.gallery-item {
    flex: 0 0 325px;           
    aspect-ratio: 1 / 1.15; 
    border-radius: 14px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transform: scale(1.15); 
    transition: transform 0.15s ease-out;
}

.grid-footer {
    display: flex;
    align-items: center;
    gap: 25px;
}

.progress-container {
    flex: 1;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.08); 
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; 
    background-color: #4A2270;
}

/* SOCIAL GRID ARROWS */
.nav-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    background: transparent;
    border: 1px solid #4A2270;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A2270;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.arrow-btn:hover {
    background-color: #ffffff; 
    color: #4A2270;            
    border-color: #4A2270;     
}

@media (max-width: 768px) {
    .social-grid-section {
        padding: 24px 20px; 
        gap: 20px;
    }

    .grid-header {
        padding: 0;
    }

    .grid-title {
        font-size: 1.7rem;
    }

    .gallery-wrapper {
        margin-left: -20px;  
        margin-right: -20px; 
        padding-left: 20px;  
        padding-right: 20px; 
        gap: 12px;
    }

    .gallery-item {
        flex: 0 0 calc(100% - 30px); 
        max-width: 290px;
        border-radius: 12px;
    }

    .grid-footer {
        display: grid;
        grid-template-columns: 1fr auto;
        width: 100%;
        gap: 16px;
        padding: 0;
    }

    .progress-container {
        height: 3px; 
    }

    .social-link {
        position: static;
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0;
        margin-top: 4px;
        outline: none;
        text-decoration: none;
    }

    .social-btn.white-btn {
        padding: 10px 24px;
        background-color: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.6);
    }
}

/* ==========================================================================
   6. CONTACT FORM SECTION
   ========================================================================== */
.form-root-container {
    width: 100%;
    clear: both; /* Fixes floating layout issues */
    display: block; 
}

.contact-form {
    background-color: #F0F0F0;
    width: 100%;            
    max-width: 1440px;
    margin: 100px auto 40px auto;      
    padding: 35px 40px;     
    border-radius: 20px;
    box-sizing: border-box; 
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
}

.form-title {
    font-size: 2.2rem;         
    font-weight: 800;          
    color: #4A2270;            
    letter-spacing: -0.5px;    
    text-align: left;          
    margin: 0;                 
    padding-bottom: 50px;
    line-height: 1.1;
    text-transform: uppercase;
}

.contact-form .form-container {
    display: flex;
    gap: 20px;                 
    width: 100%;
    box-sizing: border-box;
}

.contact-form .form-left,
.contact-form .form-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;                 
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form .submit-btn {
    width: 100%;
    padding: 18px 20px;
    background-color: #ffffff; 
    border: none;
    border-radius: 14px;       
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #7d7d7d;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    height: 55px;
}

.contact-form textarea {
    height: 130px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #7d7d7d;
    opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #4A2270;
    background-color: #F0F0F0;
}

.contact-form .submit-btn {
    height: 55px;
    background-color: #ffffff;
    color: #4A2270;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.contact-form .submit-btn:hover {
    background-color: #4A2270;
    color: #ffffff;
}

.contact-form .send-icon {
    transition: transform 0.3s ease;
}

.contact-form .submit-btn:hover .send-icon {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .contact-form {
        max-width: none;         
        padding: 24px 20px;    
        gap: 20px;
    }

    .form-title {
        font-size: 1.7rem;     
    }

    .contact-form .form-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-form .form-left,
    .contact-form .form-right {
        gap: 20px;
    }
    
    .contact-form textarea {
        height: 150px;
    }
}



/* ==========================================================================
   8. SITE FOOTER SECTION
   ========================================================================== */
.site-footer {
    width: 100%;
    max-width: 1440px; 
    background-color: #f4f4f4;
    border-radius: 20px; 
    /* Top: 60px, Sides: 40px, Bottom: 20px (Space kam kar di) */
    padding: 60px 40px 20px 40px; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Gap kam kiya taaki compact lage */
    margin: 40px auto 20px auto; /* Bottom margin kam ki */
}

.footer-main-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
}

.footer-logo-box {
    flex-shrink: 0;
}

.footer-logo {
    height: 180px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;     
    gap: 32px; 
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px; 
}

.footer-link {
    font-family: var(--ff-heading); 
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: #4A2270;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7; 
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item {
    font-family: var(--ff-heading);
    font-size: 16px;
    font-weight: 900;
    color: #4A2270;
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-item:hover,
.contact-item:visited,
.contact-item:active {
    text-decoration: none;
    opacity: 0.7;
    color: #4A2270;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    /* Border color thoda light kar diya taaki premium lage */
    border-top: 1px solid rgba(96, 19, 127, 0.08); 
    padding-top: 24px;
}

.copyright {
    font-family: var(--ff-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #4A2270;
    letter-spacing: 0.5px;
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 20px 20px 20px;
        gap: 40px;
        
        /* ⚠️ NAYA CODE: Padding ko width ke andar hi rakhne ke liye */
        box-sizing: border-box;
        width: 100%;
        overflow-x: hidden; /* Bahar nikalne wale hisse ko chupa dega */
    }

    .footer-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-logo {
        height: 130px; 
        max-width: 100%; /* width: 100% ki jagah max-width use karo taaki image fate na */
        object-fit: contain; /* Agar ye img tag hai toh aspect ratio sahi rahega */
    }
    
    .footer-links-group {
        align-items: center;
        text-align: center;
        width: 100%;
        
        /* ⚠️ NAYA CODE: Lambe links ko agli line me todne ke liye */
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .footer-link,
    .contact-item {
        font-size: 13px; /* 16px se ghatakar 13px ya 12px kar do */
    }

    .copyright {
        font-size: 9px; 
        line-height: 1.4;
        width: 100%;
        
        /* ⚠️ NAYA CODE: Lamba copyright text agli line me bhej dega */
        overflow-wrap: break-word;
        word-wrap: break-word;
        padding: 0 10px; /* Thodi jagah side se chhodne ke liye */
        box-sizing: border-box;
    }
}



