:root{
  --bg-main:#f6f1ea;
  --bg-soft:#ede4d8;
  --bg-cream:#f8f4ee;
  --bg-deep:#efe7dc;
  --text-dark:#2f2925;
  --text-body:#5f5750;
  --gold:#c6a46b;
  --gold-deep:#b89257;
  --deep:#1f1a17;
  --white:#ffffff;
  --line:#e5ddd2;
  --shadow-soft:0 10px 30px rgba(0,0,0,0.05);
  --shadow-medium:0 18px 40px rgba(0,0,0,0.08);
  --shadow-strong:0 24px 50px rgba(0,0,0,0.12);
}

html{
  scroll-behavior:smooth;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:var(--bg-main);
  color:var(--text-body);
  line-height:1.75;
  opacity:0;
  animation:fadeIn 0.6s ease forwards;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
}

p{
  letter-spacing:0.15px;
}

h1,h2,h3{
  text-wrap:balance;
}

::selection{
  background:#1f1a17;
  color:#fff;
}

@keyframes fadeIn{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* NAVBAR */

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 8%;
  background:rgba(255,255,255,0.78);
  border-bottom:1px solid rgba(229,221,210,0.75);
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(18px);
  box-shadow:0 4px 14px rgba(0,0,0,0.03);
  transition:all 0.3s ease;
}

.navbar:hover{
  box-shadow:0 10px 24px rgba(0,0,0,0.05);
}

.logo{
  font-family:'Playfair Display',serif;
  letter-spacing:4px;
  font-size:18px;
  color:var(--text-dark);
  text-transform:uppercase;
}

nav{
  display:flex;
  align-items:center;
  gap:28px;
}

nav a{
  color:var(--text-body);
  font-size:13px;
  letter-spacing:1.5px;
  position:relative;
  padding-bottom:7px;
  transition:0.3s ease;
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:var(--gold);
  transition:0.35s ease;
}

nav a:hover,
nav a.active{
  color:var(--text-dark);
}

nav a:hover::after,
nav a.active::after{
  width:100%;
}

/* HIDE SMALL LABELS */

.hero-subtitle,
.section-tag,
.founder-label{
  display:none;
}

/* HERO */

.hero{
  position:relative;
  min-height:95vh;
  display:flex;
  align-items:center;
  padding:0 8%;
  background:url("images/portfolio/p1.jpg") center center/cover no-repeat;
  background-attachment:fixed;
  color:var(--white);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to right, rgba(20,17,15,0.76), rgba(20,17,15,0.22));
}

.hero-content{
  position:relative;
  max-width:650px;
  z-index:1;
}

.hero h1{
  font-family:'Playfair Display',serif;
  font-size:70px;
  line-height:0.98;
  margin-bottom:22px;
  color:var(--white);
  letter-spacing:-0.8px;
  text-shadow:0 10px 28px rgba(0,0,0,0.35);
}

.hero p,
.hero-text{
  font-size:17px;
  color:rgba(255,255,255,0.92);
  margin-bottom:38px;
  max-width:540px;
  line-height:1.85;
  text-shadow:0 4px 18px rgba(0,0,0,0.25);
}

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* BUTTONS */

.primary-btn{
  background:var(--gold);
  color:var(--white);
  padding:15px 30px;
  display:inline-block;
  border-radius:4px;
  transition:all 0.35s ease;
  border:none;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  font-weight:500;
  letter-spacing:0.4px;
  box-shadow:0 10px 22px rgba(0,0,0,0.08);
}

.primary-btn::after{
  content:"";
  position:absolute;
  left:-100%;
  top:0;
  width:100%;
  height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transition:0.55s;
}

.primary-btn:hover::after{
  left:100%;
}

.primary-btn:hover{
  background:var(--gold-deep);
  transform:translateY(-3px);
  box-shadow:0 16px 30px rgba(0,0,0,0.16);
}

.secondary-btn{
  border:1px solid rgba(255,255,255,0.78);
  color:var(--white);
  padding:15px 30px;
  display:inline-block;
  border-radius:4px;
  transition:all 0.35s ease;
  font-weight:500;
  background:rgba(255,255,255,0.02);
}

.secondary-btn:hover{
  background:var(--white);
  color:var(--text-dark);
}

section{
  margin-bottom:10px;
}

/* COMMON */

.section-head{
  text-align:center;
  max-width:860px;
  margin:0 auto 64px;
}

.section-head h2,
.intro h2,
.split-text h2,
.dark-section h2,
.page-hero h1{
  font-family:'Playfair Display',serif;
  font-size:48px;
  line-height:1.1;
  color:var(--text-dark);
  letter-spacing:-0.45px;
}

.section-head h2{
  margin-bottom:18px;
}

.section-head p{
  font-size:17px;
  color:var(--text-body);
  max-width:68ch;
  margin-left:auto;
  margin-right:auto;
}

.intro{
  padding:120px 8%;
  max-width:980px;
  margin:0 auto;
  text-align:center;
}

.intro-narrow{
  max-width:860px;
}

.intro h2{
  margin-bottom:24px;
}

.intro p{
  font-size:17px;
  margin-bottom:18px;
  max-width:68ch;
  margin-left:auto;
  margin-right:auto;
}

.intro .primary-btn{
  margin-top:14px;
}

.soft-section{
  padding:120px 8%;
}

.page-hero{
  padding:120px 8% 86px;
  text-align:center;
  background:linear-gradient(to bottom, #ece4d9, #eee7de);
}

.page-hero h1{
  margin-bottom:16px;
}

.page-hero p{
  max-width:760px;
  margin:0 auto;
  font-size:18px;
  color:var(--text-body);
}

.section-head h2::after,
.intro h2::after,
.split-text h2::after{
  content:"";
  display:block;
  width:60px;
  height:2px;
  background:var(--gold);
  margin:16px auto 0;
}

.split-text h2::after{
  margin:16px 0 0;
}

/* SPLIT SECTION */

.split-section{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
  padding:40px 8% 110px;
}

.split-image img{
  height:580px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:var(--shadow-medium);
}

.split-text h2{
  margin-bottom:22px;
}

.split-text p{
  font-size:17px;
  margin-bottom:18px;
  max-width:68ch;
}

.text-link{
  color:var(--text-dark);
  font-weight:500;
  border-bottom:1px solid var(--gold);
  padding-bottom:4px;
  transition:0.3s ease;
}

.text-link:hover{
  color:var(--gold-deep);
}

/* FOUNDER */

.founder-section{
  align-items:stretch;
  background:linear-gradient(to bottom, #f7f1e9, #f3ece3);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.founder-card{
  display:flex;
  align-items:center;
  justify-content:center;
}

.founder-card-inner{
  width:100%;
  background:linear-gradient(to bottom right, #ffffff, #fbf7f2);
  border:1px solid var(--line);
  padding:56px 44px;
  border-radius:18px;
  box-shadow:var(--shadow-soft);
  transition:all 0.35s ease;
}

.founder-card-inner:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-medium);
}

.founder-card-inner h3{
  font-family:'Playfair Display',serif;
  font-size:34px;
  line-height:1.18;
  color:var(--text-dark);
  margin-bottom:16px;
  padding-bottom:14px;
  position:relative;
}

.founder-card-inner h3::after{
  content:"";
  display:block;
  width:58px;
  height:2px;
  background:var(--gold);
  margin-top:14px;
}

.founder-card-inner p{
  font-size:17px;
  color:var(--text-body);
}

/* PORTFOLIO + COLLECTION */

.portfolio-preview{
  padding:110px 8%;
  background:linear-gradient(to bottom, #f8f4ee, #f6f1ea);
  text-align:center;
}

.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  padding:0;
}

.portfolio-item,
.collection-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  transition:all 0.45s ease;
}

.portfolio-item img,
.collection-card img{
  width:100%;
  object-fit:cover;
  transition:transform 0.8s ease, filter 0.6s ease;
  filter:brightness(0.96);
}

.portfolio-item img{
  height:430px;
}

.collection-card img{
  height:430px;
}

.portfolio-item::after,
.collection-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.38), transparent 60%);
  opacity:0;
  transition:0.45s ease;
}

.portfolio-item:hover,
.collection-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-strong);
}

.portfolio-item:hover img,
.collection-card:hover img{
  transform:scale(1.06);
  filter:brightness(1);
}

.portfolio-item:hover::after,
.collection-card:hover::after{
  opacity:1;
}

.portfolio-overlay{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:30px;
  background:linear-gradient(transparent, rgba(0,0,0,0.8));
  color:var(--white);
  opacity:0;
  transition:0.4s ease;
  z-index:2;
}

.portfolio-item:hover .portfolio-overlay{
  opacity:1;
}

.portfolio-overlay h3{
  font-family:'Playfair Display',serif;
  font-size:20px;
  margin-bottom:5px;
}

.portfolio-overlay p{
  font-size:14px;
  opacity:0.8;
}

.portfolio-preview .primary-btn{
  margin-top:40px;
}

.collection-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
  padding:86px 8%;
}

.collection-card{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:var(--white);
  box-shadow:var(--shadow-soft);
  transition:all 0.45s ease;
}

.collection-card a{
  display:block;
  position:relative;
  z-index:3;
  text-decoration:none;
  color:inherit;
}

.collection-card img{
  width:100%;
  height:430px;
  object-fit:cover;
  transition:transform 0.8s ease, filter 0.6s ease;
  filter:brightness(0.96);
}

.collection-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.38), transparent 60%);
  opacity:0;
  transition:0.45s ease;
  pointer-events:none;
}

.collection-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-strong);
}

.collection-card:hover img{
  transform:scale(1.06);
  filter:brightness(1);
}

.collection-card:hover::after{
  opacity:1;
}

.collection-overlay{
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  padding:30px 24px;
  background:linear-gradient(to top, rgba(0,0,0,0.76), rgba(0,0,0,0.05));
  z-index:2;
  pointer-events:none;
}

.collection-overlay h3{
  font-family:'Playfair Display',serif;
  font-size:31px;
  line-height:1.1;
  margin:0;
  color:var(--white);
  letter-spacing:0.35px;
}

/* GALLERY PAGES */

.gallery-hero{
  padding:90px 8% 40px;
  text-align:center;
  background:linear-gradient(to bottom, #efe7dc, #f6f1ea);
}

.gallery-hero h1{
  font-family:'Playfair Display',serif;
  font-size:52px;
  line-height:1.08;
  color:var(--text-dark);
  margin-bottom:16px;
  letter-spacing:-0.3px;
}

.gallery-hero p{
  max-width:760px;
  margin:0 auto;
  font-size:17px;
  color:var(--text-body);
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  padding:40px 8% 90px;
}

.gallery-grid a{
  display:block;
  border-radius:16px;
  overflow:hidden;
  position:relative;
  box-shadow:0 12px 28px rgba(0,0,0,0.06);
}

.gallery-grid img{
  width:100%;
  height:440px;
  object-fit:cover;
  transition:transform 0.6s ease, filter 0.5s ease;
  filter:brightness(0.97);
  border-radius:16px;
  box-shadow:var(--shadow-soft);
}

.gallery-grid img:hover{
  transform:translateY(-4px) scale(1.02);
  box-shadow:var(--shadow-medium);
}

.gallery-back{
  text-align:center;
  padding:0 8% 90px;
}

/* SERVICES */

.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  padding:10px 8% 0;
}

.service-card{
  background:var(--white);
  padding:34px 28px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  transition:all 0.35s ease;
  border-radius:16px;
}

.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-medium);
}

.service-card h3{
  font-family:'Playfair Display',serif;
  font-size:26px;
  line-height:1.2;
  color:var(--text-dark);
  margin-bottom:14px;
}

.service-card p{
  font-size:16px;
  color:var(--text-body);
  max-width:68ch;
}

/* VISION */

.vision-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:36px;
  max-width:1000px;
  margin:0 auto;
}

.vision-card{
  background:var(--white);
  padding:46px;
  border:1px solid var(--line);
  transition:all 0.35s ease;
  border-radius:16px;
  box-shadow:var(--shadow-soft);
}

.vision-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-medium);
}

.vision-card h3{
  font-family:'Playfair Display',serif;
  font-size:28px;
  color:var(--text-dark);
  margin-bottom:16px;
}

.vision-card p{
  color:var(--text-body);
  font-size:17px;
}

/* TESTIMONIALS */

.testimonial-section{
  padding:110px 8%;
  background:linear-gradient(to bottom, #efe5d8, #f4ede5);
}

.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin-top:8px;
}

.testimonial-card{
  background:rgba(255,255,255,0.9);
  border:1px solid rgba(229,221,210,0.9);
  border-radius:18px;
  padding:38px 30px;
  box-shadow:var(--shadow-soft);
  position:relative;
  transition:all 0.35s ease;
}

.testimonial-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-medium);
}

.testimonial-card::before{
  content:"“";
  font-family:'Playfair Display',serif;
  font-size:72px;
  line-height:1;
  color:rgba(198,164,107,0.22);
  position:absolute;
  top:18px;
  left:22px;
}

.testimonial-card p{
  font-size:17px;
  color:var(--text-body);
  margin-bottom:18px;
  position:relative;
  z-index:1;
  max-width:68ch;
}

.testimonial-card span{
  display:inline-block;
  font-size:13px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--gold-deep);
  font-weight:600;
}

/* CONTACT */

.contact-section{
  padding:90px 8%;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:16px;
  margin-bottom:18px;
  border:1px solid var(--line);
  background:var(--white);
  font-family:'Inter',sans-serif;
  border-radius:8px;
}

.contact-form textarea{
  height:150px;
}

.contact-details p{
  margin-bottom:10px;
  color:var(--text-body);
}

/* DARK SECTION */

.dark-section{
  background:linear-gradient(rgba(23,19,17,0.82), rgba(23,19,17,0.82)), url("images/portfolio/p3.jpg") center center/cover no-repeat;
  padding:120px 8%;
  color:var(--white);
  text-align:center;
}

.dark-section-inner{
  max-width:780px;
  margin:0 auto;
}

.dark-section h2{
  color:var(--white);
  margin-bottom:18px;
}

.dark-section h2::after{
  content:"";
  display:block;
  width:60px;
  height:2px;
  background:var(--gold);
  margin:14px auto 0;
}

.dark-section p{
  font-size:17px;
  color:rgba(255,255,255,0.86);
  margin-bottom:30px;
}

/* FOOTER */

footer{
  background:#18231f;
  color:var(--white);
  padding:78px 8% 50px;
  border-top:1px solid rgba(255,255,255,0.05);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:46px;
}

footer h3{
  font-family:'Playfair Display',serif;
  font-size:26px;
  margin-bottom:16px;
  color:#f5ede3;
}

footer p{
  color:rgba(255,255,255,0.82);
  margin-bottom:8px;
}

footer a{
  color:rgba(255,255,255,0.9);
  transition:0.3s ease;
}

footer a:hover{
  color:#f0d4a0;
}

.copyright{
  margin-top:40px;
  text-align:center;
  font-size:14px;
  color:rgba(255,255,255,0.72);
  border-top:1px solid rgba(255,255,255,0.08);
  padding-top:20px;
}

/* FLOATING WHATSAPP */

.whatsapp-chat{
  position:fixed;
  bottom:25px;
  right:25px;
  width:60px;
  height:60px;
  background:#25D366;
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  border-radius:50%;
  box-shadow:0 6px 15px rgba(0,0,0,0.25);
  z-index:999;
  transition:0.3s;
}

.whatsapp-chat:hover{
  transform:scale(1.08);
}

/* SCROLL ANIMATION */

.fade-section{
  opacity:0;
  transform:translateY(40px);
  transition:all 1s ease;
}

.fade-section.visible{
  opacity:1;
  transform:translateY(0);
}

/* TABLET */

@media(max-width:1024px){
  .portfolio-grid,
  .collection-grid,
  .gallery-grid,
  .services-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .testimonial-grid,
  .vision-grid{
    grid-template-columns:1fr;
  }

  .split-section{
    grid-template-columns:1fr;
  }

  .split-image img{
    height:460px;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

/* MOBILE */

@media(max-width:768px){
  .navbar{
    flex-direction:column;
    align-items:flex-start;
    padding:20px;
  }

  .logo{
    margin-bottom:14px;
    font-size:16px;
    letter-spacing:3px;
  }

  nav{
    flex-wrap:wrap;
    gap:12px;
  }

  nav a{
    margin:0;
    font-size:13px;
  }

  .hero{
    min-height:auto;
    padding:120px 8% 95px;
    background-attachment:scroll;
  }

  .hero h1{
    font-size:50px;
  }

  .hero p,
  .hero-text{
    font-size:16px;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .primary-btn,
  .secondary-btn{
    width:100%;
    text-align:center;
  }

  .intro,
  .soft-section,
  .testimonial-section{
    padding:82px 8%;
  }

  .intro h2,
  .section-head h2,
  .split-text h2,
  .dark-section h2,
  .page-hero h1{
    font-size:40px;
  }

  .portfolio-grid,
  .collection-grid,
  .gallery-grid,
  .footer-grid,
  .services-grid{
    grid-template-columns:1fr;
  }

  .portfolio-item img,
  .collection-card img,
  .gallery-grid img{
    height:320px;
  }

  .split-section{
    padding:24px 8% 82px;
    gap:34px;
  }

  .split-image img{
    height:340px;
  }

  .page-hero{
    padding:90px 8% 60px;
  }

  .dark-section{
    padding:90px 8%;
  }

  .footer-grid{
    text-align:left;
  }

  .founder-card-inner,
  .testimonial-card,
  .service-card,
  .vision-card{
    padding:30px 24px;
  }

  .gallery-hero h1{
    font-size:40px;
  }

  .gallery-grid{
    gap:22px;
    padding:30px 8% 70px;
  }

  .gallery-back{
    padding:0 8% 70px;
  }
}