@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --wine: #5A0000; 
  --crimson: #800000; 
  --gold: #D4AF37; 
  --champagne: #F1D27A;
  --ivory: #FFF8E7; 
  --charcoal: #15100F; 
  --muted: #756765;
  --main-maroon: #3a0008; 
  --line: rgba(212, 175, 55, 0.34); 
  --shadow: 0 20px 60px rgba(30, 5, 3, 0.14);
}

* { box-sizing: border-box; }
/* Prevent horizontal overflow on mobile screens */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: "DM Sans", sans-serif; }
h1, h2, h3, h4, .brand, .nav a { font-family: "Cormorant Garamond", serif; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

/* Splash Screen Background */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #3a0008; /* Image ke background matching dark maroon color */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOutSplash 3.5s forwards;
  pointer-events: none;
}

/* Logo Image Fix: 'contain' use karne se image bilkul crop nahi hogi */
/* Perfect centering and scaling for splash screen logo */
.splash-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* Yeh image ko bilkul center mein lock kar dega */
  opacity: 0;
  animation: imageReveal 2.5s ease-out forwards; 
}

@keyframes imageReveal {
  0% { opacity: 0; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeOutSplash {
  0%, 75% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; z-index: -1; }
}

/* Animate the Existing Hero Content */
.hero-content h1, .hero-content p, .hero-content .cta {
  opacity: 0;
  animation: slideUp 1.5s ease-out forwards 2.5s; 
}

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

/* UPDATE: Added Fallback Color to Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Dhyan dein: var(--main-maroon) add kiya gaya hai */
  background: var(--main-maroon) url("Screenshot 2026-08-25 192622.png") center/cover no-repeat;
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1320px;
  margin: auto;
  min-height: 60px; 
  padding: 8px 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand { font-size: 27px; color: var(--champagne); letter-spacing: 1.5px; white-space: nowrap; }
.navlinks { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.navlinks a { color: #f9e7b0; font-family: "Cormorant Garamond", serif; font-size: 17px; position: relative; }
.navlinks a:after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 1px; background: var(--gold); transition: .3s; }
.navlinks a:hover:after { width: 100%; }
.actions { display: flex; gap: 10px; margin-left: 10px; }
.iconbtn { border: 1px solid rgba(212,175,55,.25); background: transparent; color: var(--champagne); width: 40px; height: 40px; border-radius: 50%; transition: .25s; }
.iconbtn:hover { background: var(--gold); color: #250000; transform: translateY(-2px); }
.menu { display: none; }

/* Hero Section */
.hero {
  min-height: 750px;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(90deg, rgba(21, 16, 15, 0.8) 0%, rgba(21, 16, 15, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%),
    url("IMG_20260825_190621.jpg.jpeg") center top / cover no-repeat;
}

.hero:before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(241,210,122,.42); pointer-events: none; }
.hero-content { max-width: 1320px; margin: auto; padding: 150px 60px 120px; position: relative; color: white; }
.kicker { letter-spacing: 5px; text-transform: uppercase; color: var(--champagne); font-size: 12px; }
.hero h1 { font-size: clamp(64px, 8vw, 112px); line-height: .84; font-weight: 500; max-width: 800px; margin: 24px 0; }
.hero p { font-family: "Cormorant Garamond", serif; font-size: 26px; color: #f8e9c0; margin: 0 0 36px; }
.cta { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border: 1px solid var(--gold); letter-spacing: 1.4px; text-transform: uppercase; font-size: 12px; margin-right: 10px; transition: .3s; }
.cta.primary { background: var(--gold); color: #2c0703; }
.cta.secondary { color: var(--champagne); background: transparent; }
.cta:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.ornament { color: var(--gold); font-size: 26px; margin: 12px 0; }

/* Collaboration Banner */
.collab-section {
  max-width: 100%;
  background-color: var(--charcoal);
  padding: 0;
  margin-top: 40px; 
}
.collab-banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Common Section Styles */
.section { max-width: 1320px; margin: auto; padding: 105px 28px; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow { color: var(--crimson); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; }
.section-head h2 { font-size: 54px; line-height: .95; font-weight: 500; margin: 12px 0; }
.section-head p { max-width: 620px; margin: auto; color: var(--muted); line-height: 1.7; }

/* Collections Grid */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.collection { position: relative; height: 540px; overflow: hidden; background: #320000; }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; object-position: top; }
.collection:after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(20,0,0,.8)); }
.collection:hover img { transform: scale(1.06); }
.collection-title { position: absolute; z-index: 2; left: 26px; bottom: 25px; color: white; }
.collection-title h3 { font-size: 34px; margin: 0 0 4px; }
.collection-title span { color: var(--champagne); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* Bestsellers Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { position: relative; }
.product-media { height: 460px; background: #eadfc8; overflow: hidden; position: relative; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: .6s; object-position: top; }
.product:hover .product-media img { transform: scale(1.035); }
.badge { position: absolute; left: 14px; top: 14px; background: var(--crimson); color: white; font-size: 10px; letter-spacing: 1.5px; padding: 7px 10px; z-index: 10; }
/* Wishlist Button Styling */
.wish {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(255,248,231,.92);
  color: var(--crimson);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s;
}

/* Active State: Jab product wishlist mein add ho jaye (White se Red) */
.wish.active-wish {
  background: var(--crimson);
  color: white;
  border-color: var(--crimson);
}
.product-info { padding: 16px 4px; }
.product-info h3 { font-size: 22px; font-weight: 600; margin: 0 0 5px; }
.price { font-size: 14px; color: #5e514d; }
.quick { margin-top: 12px; width: 100%; border: 1px solid var(--line); background: transparent; color: var(--crimson); padding: 11px; text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; }
.quick:hover { background: var(--crimson); color: white; }

/* Story / Craft Section */
.story { background: var(--wine); color: white; }
.story-wrap { max-width: 1320px; margin: auto; padding: 105px 28px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.story-img { height: 620px; overflow: hidden; border: 1px solid rgba(241,210,122,.4); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-copy .eyebrow { color: var(--champagne); letter-spacing: 4px; font-size: 11px; text-transform: uppercase; }
.story-copy h2 { font-size: 62px; font-weight: 500; line-height: .92; margin: 18px 0 25px; }
.story-copy p { color: #eadfca; line-height: 1.9; max-width: 560px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--ivory); padding: 35px 25px; text-align: center; }
.feature .mark { font-family: "Cormorant Garamond"; font-size: 38px; color: var(--gold); }
.feature h3 { font-size: 24px; margin: 10px 0 7px; }
.feature p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* UPDATE: Added Fallback Color to Newsletter */
.newsletter {
  background: var(--main-maroon) url("Screenshot 2026-08-25 192622.png") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 90px 20px;
  border-top: 1px solid var(--line);
}

.newsletter h2 { font-size: 52px; margin: 0 0 10px; font-weight: 500; }
.newsletter p { color: #dbcdb6; margin-bottom: 28px; }
.newsform { display: flex; max-width: 570px; margin: auto; }
.newsform input { flex: 1; padding: 15px 18px; border: 1px solid var(--line); background: #fff8e7; color: #2b0805; outline: none; }
.newsform button { border: 1px solid var(--gold); background: var(--gold); color: #2b0805; padding: 0 24px; letter-spacing: 1px; }

/* Premium Footer */
footer {
  background: var(--main-maroon) url("Screenshot 2026-08-25 192622.png") center/cover no-repeat;
  color: #cbbba0;
  padding: 65px 28px 25px;
  border-top: 1px solid var(--line);
}
.footer-grid { max-width: 1320px; margin: auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand h3 { color: var(--champagne); font-size: 28px; margin: 0 0 10px; letter-spacing: 2px; }
.footer-links h4 { color: #ffffff; font-family: "DM Sans", sans-serif; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-links a { display: block; margin: 12px 0; font-size: 14px; color: #cbbba0; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold); }
.copyright { max-width: 1320px; margin: 45px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; letter-spacing: 1.5px; text-align: center; }

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.open { display: flex; }
.modal-card { background: var(--ivory); max-width: 920px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.modal-card img { width: 100%; height: 560px; object-fit: cover; }
.modal-info { padding: 45px; }
.modal-info h2 { font-size: 46px; margin: 0 0 8px; }
.close { position: absolute; right: 15px; top: 15px; border: 0; background: var(--crimson); color: white; width: 38px; height: 38px; border-radius: 50%; }
.cart-count { font-size: 9px; position: absolute; margin-left: -12px; margin-top: -5px; background: var(--gold); color: #210000; border-radius: 10px; padding: 2px 5px; }

/* Mobile & Tablet Responsiveness */
@media(max-width: 1050px) {
  .navlinks { display: none; }
  .menu { display: block; }
  .nav-inner { justify-content: space-between; }
  .actions { margin-left: 0; }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-wrap { grid-template-columns: 1fr; }
  .story-img { height: 500px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 35px; text-align: center; }
}

@media(max-width: 600px) {
  .brand { font-size: 21px; }
  .logo { width: 52px; height: 52px; }
  .nav-inner { padding: 10px 15px; }
  .hero { min-height: 650px; }
  .hero-content { padding: 125px 28px 90px; }
  .hero h1 { font-size: 65px; }
  .hero p { font-size: 22px; }
  .cta { width: 100%; margin: 5px 0; }
  .section { padding: 75px 18px; }
  .section-head h2 { font-size: 44px; }
  .collections, .product-grid { grid-template-columns: 1fr; }
  .collection { height: 420px; }
  .product-media { height: 440px; }
  .story-wrap { padding: 75px 18px; }
  .story-copy h2 { font-size: 48px; }
  .story-img { height: 420px; }
  .features { grid-template-columns: 1fr; }
  .newsform { flex-direction: column; gap: 8px; }
  .newsform button { height: 48px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card img { height: 330px; }
  .modal-info { padding: 25px; }
}