
/* ========================================
   GLOBAL IMPORTS
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ========================================
   ROOT VARIABLES
======================================== */

:root{
  --bg:#0d0d0d;
  --bg2:#161616;
  --bg3:#1f1f1f;
  --gold:#c8a46a;
  --gold-soft:#d8b57d;
  --text:#ece8e1;
  --muted:#b7b1a8;
  --border:rgba(255,255,255,0.08);
}

/* ========================================
   GLOBAL RESET
======================================== */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  width:100%;
  overflow-x:hidden;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
  width:100%;
  max-width:100%;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
textarea{
  font-family:'Inter',sans-serif;
}

/* ========================================
   GRAIN OVERLAY
======================================== */

.grain{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:0.05;
  z-index:999;
  background-image:url("https://www.transparenttextures.com/patterns/paper-fibers.png");
}

/* ========================================
   NAVBAR
======================================== */

.navbar{
  position:fixed;

  top:0;
  left:0;

  width:100%;

  z-index:100;

  padding:26px 7%;

  display:flex;
  justify-content:space-between;
  align-items:center;

  background:rgba(0,0,0,.22);

  backdrop-filter:blur(18px);

  border-bottom:1px solid rgba(255,255,255,.05);
}



.logo{
  font-size:38px;

  color:var(--gold);

  font-family:'Cormorant Garamond',serif;

  letter-spacing:.5px;
}

nav{
  display:flex;

  gap:36px;
}

nav a{
  position:relative;

  font-size:13px;

  text-transform:uppercase;

  letter-spacing:2px;

  transition:.35s;
}

nav a::after{
  content:"";

  position:absolute;

  left:0;
  bottom:-8px;

  width:0%;
  height:1px;

  background:var(--gold);

  transition:.35s;
}

nav a:hover{
  color:var(--gold);
}

nav a:hover::after{
  width:100%;
}


/* ========================================
   HERO
======================================== */

.hero,
.configurator-hero{
  position:relative;
  height:100vh;
  overflow:hidden;
}

.hero img,
.configurator-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.05);
}

.overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    to bottom,
    rgba(0,0,0,.55),
    rgba(0,0,0,.82)
  );
}

.hero-content,
.configurator-hero-content{
  position:absolute;
  top:50%;
  left:8%;
  transform:translateY(-50%);

  max-width:760px;

  z-index:5;
}

.hero-content span,
.configurator-hero-content span,
.eyebrow{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:12px;
}

.hero-content h1,
.configurator-hero-content h1{
  font-family:'Cormorant Garamond',serif;

  font-size:96px;

  line-height:.92;

  margin:24px 0;
}

.hero-content p,
.configurator-hero-content p{
  color:var(--muted);

  line-height:1.9;

  font-size:18px;

  max-width:620px;

  margin-bottom:40px;
}

.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

/* ========================================
   BUTTONS
======================================== */

.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:16px 32px;

  border-radius:999px;

  transition:.4s;

  font-weight:500;
}

.btn-primary{
  background:var(--gold);
  color:#111;
}

.btn-primary:hover{
  transform:translateY(-4px);

  box-shadow:
  0 15px 35px rgba(200,164,106,.25);
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.14);

  background:rgba(255,255,255,.03);

  color:var(--text);
}

.btn-secondary:hover{
  border-color:rgba(200,164,106,.45);
  transform:translateY(-4px);
}

/* ========================================
   GENERAL SECTIONS
======================================== */

.section{
  padding:120px 8%;
}

.section-heading{
  margin-bottom:70px;
}

.section-heading span{
  color:var(--gold);

  text-transform:uppercase;

  letter-spacing:3px;

  font-size:12px;
}

.section-heading h2{
  margin-top:12px;

  font-size:64px;

  font-family:'Cormorant Garamond',serif;
}

/* ========================================
   FEATURED GRID
======================================== */

.featured-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.featured-card{
  overflow:hidden;

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.01)
  );

  border:1px solid var(--border);

  transition:.45s;
}

.featured-card:hover{
  transform:translateY(-8px);

  border-color:rgba(200,164,106,.45);
}

.featured-card img{
  height:420px;
  object-fit:cover;
}

.card-content{
  padding:28px;
}

.card-content h3{
  font-size:36px;
  margin-bottom:12px;
  font-family:'Cormorant Garamond',serif;
}

.card-content p{
  color:var(--muted);
  line-height:1.8;
}

/* ========================================
   PHILOSOPHY SECTION
======================================== */

.philosophy{
  padding:160px 8%;

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,.015),
    transparent
  );
}

.philosophy-content{
  max-width:920px;
}

.philosophy-content span{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:12px;
}

.philosophy-content h2{
  font-size:72px;
  line-height:.95;
  margin:24px 0 34px;
  font-family:'Cormorant Garamond',serif;
}

.philosophy-content p{
  color:var(--muted);
  font-size:18px;
  line-height:2;
  margin-bottom:24px;
}

/* ========================================
   SERVICES
======================================== */

.service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.service-card{
  padding:36px;

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.01)
  );

  border:1px solid var(--border);

  transition:.45s;
}

.service-card:hover{
  transform:translateY(-8px);

  border-color:rgba(200,164,106,.45);
}

.service-card h3{
  font-size:34px;
  margin-bottom:14px;
  font-family:'Cormorant Garamond',serif;
}

.service-card p{
  color:var(--muted);
  line-height:1.8;
}

/* ========================================
   QUOTES
======================================== */

.quote-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.quote-card{
  padding:42px;

  border:1px solid var(--border);

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,.02),
    rgba(255,255,255,.01)
  );
}

.quote-card p{
  font-size:22px;
  line-height:1.8;
  margin-bottom:30px;
  font-family:'Cormorant Garamond',serif;
}

.quote-card span{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
}

/* ========================================
   SOCIAL GALLERY
======================================== */

.gallery-preview{
  /* horizontal looping carousel container */
  overflow:hidden;
  position:relative;
  padding:36px;
  border-radius:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border:1px solid var(--border);
}

.gallery-preview img{
  height:260px;
  object-fit:cover;
  transition:.45s;
}

.gallery-preview img:hover{
  transform:scale(1.03);
}

/* Carousel internals */
.carousel-slider{
  display:flex;
  width:auto;
  align-items:center;
  animation-name:carousel-scroll;
  animation-timing-function:linear;
  animation-iteration-count:infinite;
  animation-duration:20s; /* will be tuned by JS */
  will-change:transform;
  backface-visibility:hidden;
  transform-style:preserve-3d;
  transform:translate3d(0,0,0);
}

.carousel-track{
  display:flex;
}

@keyframes carousel-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(var(--scroll-end)); }
}

.gallery-preview:hover .carousel-slider{
  animation-play-state:paused;
}

/* Clients' Voices padding (was missing) */
.voices{
  padding:120px 8%;
}

/* Social grid section padding so gallery-preview sits nicely */
.social-grid{
  padding:120px 8%;
}

/* make gallery images look nicer */
.gallery-preview img{
  border-radius:8px;
  box-shadow:0 8px 30px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.03);
}

/* Ensure carousel images don't shrink and have consistent spacing */
.carousel-track img{
  margin-right:18px;
  flex:0 0 auto;
  display:block;
  width:auto;
  height:260px;
  object-fit:cover;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ========================================
   CONTACT PREVIEW
======================================== */

.contact-preview{
  padding-bottom:140px;
}

.contact-box{
  padding:90px;

  text-align:center;

  border:1px solid var(--border);

  background:
  linear-gradient(
    180deg,
    rgba(255,255,255,.02),
    rgba(255,255,255,.01)
  );
}

.contact-box span{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:12px;
}

.contact-box h2{
  font-size:72px;
  line-height:.95;
  margin:22px auto 38px;
  max-width:760px;
  font-family:'Cormorant Garamond',serif;
}

/* ========================================
   FOOTER
======================================== */

footer{
  padding:40px 8%;

  border-top:1px solid var(--border);

  text-align:center;

  color:var(--muted);
}

/* ========================================
   GALLERY PAGE
======================================== */

.masonry-grid{
  columns:3;
  column-gap:20px;
}

.masonry-item{
  break-inside:avoid;
  margin-bottom:20px;
}

.masonry-item img{
  border:1px solid var(--border);
  transition:.4s;
  cursor:pointer;
}

.masonry-item img:hover{
  transform:scale(1.02);
}

.lightbox{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,.92);

  display:flex;
  align-items:center;
  justify-content:center;

  opacity:0;
  pointer-events:none;

  transition:.4s;

  z-index:9999;
}

.lightbox.active{
  opacity:1;
  pointer-events:auto;
}

.lightbox img{
  width:auto;
  max-width:85%;
  max-height:85%;
}

/* ========================================
   CONTACT PAGE
======================================== */

.contact-form{
  max-width:900px;
  margin:auto;
}

.contact-form form{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.contact-form input,
.contact-form textarea{
  background:rgba(255,255,255,.03);

  border:1px solid var(--border);

  padding:22px;

  color:var(--text);

  font-size:15px;
}



.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;

  border-color:rgba(200,164,106,.45);
}

/* ========================================
   CONFIGURATOR
======================================== */
.configurator-container{
  display:grid;

  grid-template-columns:1.5fr .75fr;

  gap:50px;

  align-items:start;
}

.configurator-left{
  display:flex;
  flex-direction:column;
  gap:120px;
}

.config-block{
  position:relative;
}

.config-block::before{
  content:"";

  position:absolute;

  left:-30px;
  top:0;

  width:1px;
  height:100%;

  background:
  linear-gradient(
    to bottom,
    rgba(200,164,106,.45),
    transparent
  );
}

.config-title span{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:12px;
}

.config-title h3{
  font-size:64px;
  margin-top:14px;
  margin-bottom:40px;
  font-family:'Cormorant Garamond',serif;
}

/* ========================================
   CONFIG INPUTS
======================================== */

.luxury-inputs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.luxury-inputs input{
  background:rgba(255,255,255,.03);

  border:1px solid var(--border);

  padding:22px;

  color:var(--text);
}

/* ========================================
   MATERIAL GRID
======================================== */

.material-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.material-card,
.service-mini-card{
  position:relative;

  overflow:hidden;

  background:
  linear-gradient(
    145deg,
    rgba(255,255,255,.03),
    rgba(255,255,255,.01)
  );

  border:1px solid var(--border);

  cursor:pointer;

  transition:.45s;
}

.material-card{
  padding:34px;
}

.service-mini-card{
  padding:24px;
  min-height:210px;
}

.material-card:hover,
.service-mini-card:hover{
  transform:translateY(-6px);

  border-color:rgba(200,164,106,.45);
}

.material-card.selected,
.service-mini-card.selected{
  border-color:var(--gold);

  box-shadow:
  0 0 40px rgba(200,164,106,.12);
}

.material-card h4,
.service-mini-card h4{
  font-size:30px;
  margin-bottom:12px;
  font-family:'Cormorant Garamond',serif;
}

.material-card p,
.service-mini-card p{
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

.service-mini-card span{
  display:block;
  margin-top:18px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
}

/* ========================================
   SERVICE TIERS
======================================== */

.service-tier{
  margin-bottom:70px;
}

.service-tier-header{
  margin-bottom:34px;
  position:relative;
  padding-left:28px;
}

.service-tier-header::before{
  content:"";

  position:absolute;

  left:0;
  top:8px;

  width:4px;
  height:90%;

  border-radius:999px;

  background:
  linear-gradient(
    to bottom,
    var(--gold),
    rgba(200,164,106,.2)
  );
}

.service-tier-header span{
  color:var(--gold);

  text-transform:uppercase;

  letter-spacing:5px;

  font-size:20px;

  font-weight:700;
}

.service-tier-header h4{
  margin-top:14px;

  font-size:68px;

  line-height:.95;

  font-family:'Cormorant Garamond',serif;
}

.service-grid-modern{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.tier-two-grid{
  grid-template-columns:repeat(2,1fr);
}

/* ========================================
   SIDEBAR
======================================== */
.configurator-sidebar{

  position:sticky;

  top:110px;

  align-self:start;

  height:max-content;

}

.summary-card{
  padding:40px;

  border:1px solid var(--border);

  background:
  linear-gradient(
    180deg,
    rgba(20,20,20,.96),
    rgba(10,10,10,.96)
  );
}

.summary-card h2{
  font-size:54px;
  margin:24px 0;
  font-family:'Cormorant Garamond',serif;
}

.summary-price{
  margin:60px 0;

  color:var(--gold);

  font-family:'Cormorant Garamond',serif;
}

.summary-price::before{
  content:"₹";

  font-size:120px;

  color:var(--gold);
}

.summary-price #livePrice{
  display:block;

  font-size:120px;

  line-height:.82;

  letter-spacing:-6px;

  font-weight:700;

  color:#f3e7d1;

  font-family:'Cormorant Garamond',serif;
}

.small-price-text{
  display:block;

  font-size:24px !important;

  line-height:1.3 !important;

  letter-spacing:0 !important;

  max-width:240px;
}

.summary-details{
  display:flex;
  flex-direction:column;
  gap:30px;
}

.summary-item{
  padding-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.summary-item label{
  display:block;
  margin-bottom:12px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:11px;
}

.summary-item p{
  line-height:1.8;
}

.summary-btn{
  width:100%;
  margin-top:40px;
}

/* ========================================
   REVEAL ANIMATION
======================================== */

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:1s;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:1200px){

  .featured-grid,
  .service-grid,
  .quote-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:1100px){

  .configurator-container{
    grid-template-columns:1fr;
  }

  .configurator-sidebar{
    position:relative;
    top:auto;
  }

}

@media(max-width:900px){

  .featured-grid,
  .service-grid,
  .quote-grid,
  .gallery-preview,
  .material-grid,
  .tier-two-grid,
  .luxury-inputs{
    grid-template-columns:1fr;
  }

  .masonry-grid{
    columns:1;
  }

}

@media(max-width:768px){

  nav{
    display:none;
  }

  .hero,
  .configurator-hero{
    height:75vh;
  }

  .hero-content h1,
  .configurator-hero-content h1{
    font-size:58px;
  }

  .section-heading h2,
  .config-title h3,
  .contact-box h2,
  .philosophy-content h2{
    font-size:42px;
  }

  .service-tier-header h4{
    font-size:42px;
  }

  .summary-card h2{
    font-size:42px;
  }

  .summary-price::before,
  .summary-price #livePrice{
    font-size:72px;
  }

  .contact-box{
    padding:50px 30px;
  }

}

@media(max-width:480px){

  .hero-content,
  .configurator-hero-content{
    left:5%;
    width:90%;
    max-width:90%;
  }

  .navbar{
    padding-left:5%;
    padding-right:5%;
  }

  .hero-content h1,
  .configurator-hero-content h1{
    font-size:38px;
  }

}
/* =========================
   MOBILE NAVIGATION
========================= */

/* =========================
   MOBILE NAVIGATION
========================= */

.hamburger{
  display:none;
  width:48px;
  height:48px;
  border:none;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(20px);
  border-radius:14px;
  cursor:pointer;
  z-index:1002;
}

.hamburger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--text);
  margin:5px auto;
  transition:.35s ease;
}

.hamburger.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

@media(max-width:768px){

  .hamburger{
    display:block;
  }

  nav{
    position:fixed;
    top:0;
    right:0;

    width:320px;
    height:100vh;

    display:flex !important;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:28px;

    background:rgba(10,10,10,.97);
    backdrop-filter:blur(30px);

    transform:translateX(100%);
    transition:.45s ease;

    z-index:1001;
  }

  nav.active{
    transform:translateX(0);
  }

  nav a{
    color:var(--text) !important;
    font-size:16px;
    letter-spacing:3px;
    text-transform:uppercase;
    display:block;
  }
}
