/* style.css – Premium handcrafted ecommerce homepage */

/* Design Tokens */
:root {
  --color-ivory: #F8F4EF;
  --color-beige: #E9DDD1;
  --color-rose: #D7B7AE;
  --color-terra: #B77B6C;
  --color-brown: #4A342E;
  --color-gold: #C9A46C;
  --color-sage: #A8B2A1;
  --font-heading: 'Playfair Display', serif;
  /* fallback */
  --font-body: 'Inter', sans-serif;
}

/* Global Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-ivory);
  color: var(--color-brown);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--color-brown);
}

h2 {
  font-size: 2rem;
  color: var(--color-brown);
}

h3 {
  font-size: 1.25rem;
  color: var(--color-brown);
}

p {
  margin-bottom: 1rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  height: 100.8px;
  border-bottom: 1px solid #eaeaea;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.logo-area {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  gap: 20px;
}

.logo-area img {
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px 0;
  margin-left: -30px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #000;
  font-size: 2.2rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.art-font {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-gold);
  letter-spacing: 1px;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #666;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex: 1;
}

.nav-links a {
  color: #000;
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .3s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-icons a {
  color: #000;
  text-decoration: none;
  transition: color .3s;
  display: flex;
  align-items: center;
}

.nav-icons a:hover {
  color: var(--color-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}



@media (max-width:768px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .navbar {
    height: 60px;
  }

  .navbar-wrapper {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .logo-area img {
    height: 44px;
    width: 44px;
    max-height: 44px;
    padding: 3px 0;
    object-fit: contain;
    margin-left: 0;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .art-font {
    font-size: 1.1rem;
  }

  .brand-tagline {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: -250px;
    background: #fff;
    flex-direction: column;
    width: 250px;
    height: 100vh;
    transform: none;
    transition: right .3s ease;
    align-items: flex-start;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 99;
  }

  .nav-links.active {
    right: 0;
    transform: none;
  }

  .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
  }

  .nav-icons {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pre-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-pre-title .line {
  width: 50px;
  height: 1px;
  background: var(--color-gold);
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-title i {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  color: #f5f5f5;
}

.hero-title .gold-text {
  color: var(--color-gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 550px;
  margin-bottom: 2.5rem;
  color: #f0f0f0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-shop {
  background: var(--color-gold);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--color-gold);
  border-radius: 4px;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(201, 164, 108, 0.4);
}

.btn-shop:hover {
  background: #b8923c;
  border-color: #b8923c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 164, 108, 0.5);
}

.btn-custom {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.btn-custom:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-custom svg {
  color: var(--color-gold);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  flex-wrap: wrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-trust .divider {
  color: rgba(255, 255, 255, 0.5);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-card {
  text-align: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform .3s;
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-card h3 {
  padding: .5rem 0;
}

.category-card:hover {
  transform: translateY(-5px);
}

/* Why Shubhdeep Section */
.why-section {
  background-color: #F7F7F7;
  padding: 8rem 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.why-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 4px;
  background-color: #ab8139;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 1rem;
  border-radius: 10px;
}

.why-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.2;
  color: #020405;
  margin: 0;
}

.why-heading .gold-highlight {
  color: #C9A45D;
}

.why-paragraph {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #5E6D7B;
  max-width: 650px;
  margin: 0 auto;
}

/* Story Section */
.story-content {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.story-image {
  flex: 1 1 300px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.story-text {
  flex: 1 1 300px;
}

/* Best Sellers */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform .3s;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.product-card .price {
  font-weight: 600;
  margin: 0.5rem 0;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card a.btn {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.product-card a.btn:hover {
  color: var(--color-gold);
}



/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

blockquote {
  background: #fff;
  padding: 1.5rem;
  border-left: 4px solid var(--color-gold);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

blockquote p {
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: .5rem;
  font-weight: 600;
}

/* Instagram */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .5rem;
}

.instagram-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* FAQ */
details {
  background: #fff;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  border: 1px solid var(--color-brown);
}

details[open] {
  border-color: var(--color-brown);
}

summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-brown);
  user-select: none;
  transition: color 0.2s;
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-brown);
  line-height: 0.8;
  transition: transform 0.3s ease, color 0.2s;
  display: inline-block;
  min-width: 24px;
  text-align: center;
}

details[open]>summary::after {
  transform: rotate(45deg);
  color: var(--color-brown);
}

details>summary:hover {
  color: var(--color-brown);
}

details>p {
  padding: 0 1.25rem 1rem;
  color: #494646;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
  animation: faqFadeIn 0.3s ease;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer-section {
  background: var(--color-brown);
  color: #fff;
  padding: 2rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  height: 40px;
}

.footer-links a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0.5rem 0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  text-decoration: none;
  color: var(--color-gold);
}

.copyright {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width:768px) {
  .hero-title {
    font-size: 2.6rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
  }

  .hero-subtitle {
    font-size: 1rem;
    color: #f5f5f5;
  }

  .why-section {
    padding: 5rem 1rem;
  }

  .why-heading {
    font-size: 2.2rem;
  }

  .why-paragraph {
    font-size: 1rem;
  }

  .why-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-shop,
  .btn-custom {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
  }

  .hero-trust {
    font-size: 0.75rem;
    gap: 0.3rem;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .hero-trust .divider {
    margin: 0 0.1rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 70%;
    margin-left: 5%;
  }

  .hero-title {
    font-size: 5.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-trust {
    font-size: 1rem;
  }
}

/* WhatsApp Float Widget */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Main button */
.whatsapp-float {
  position: relative;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float svg {
  display: block;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

/* Red notification badge */
.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #e53935;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  animation: badgePop 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes badgePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Welcome popup card */
.wa-popup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  width: 290px;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.wa-popup.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.wa-popup-header {
  background: #25d366;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-popup-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-popup-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wa-popup-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.wa-popup-status {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
}

.wa-popup-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}

.wa-popup-close:hover {
  opacity: 1;
}

.wa-popup-body {
  padding: 14px 16px 8px;
  background: #f0f0f0;
}

.wa-popup-body p {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 10px 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #333;
  margin: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.wa-popup-cta {
  display: block;
  background: #25d366;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px;
  transition: background 0.2s;
}

.wa-popup-cta:hover {
  background: #1da851;
}

/* GSAP placeholders – selectors will be animated in main.js */
/* .fade-in {opacity:0;}
   .slide-up {transform:translateY(30px); opacity:0;}
*/

/* Image Zoom and Lightbox */
.category-card img, 
.product-card img, 
.instagram-grid img, 
.story-image {
  transition: transform 0.4s ease;
  cursor: pointer;
}

.category-card, 
.product-card, 
.instagram-grid {
  overflow: hidden;
}

.category-card:hover img, 
.product-card:hover img, 
.instagram-grid img:hover, 
.story-image:hover {
  transform: scale(1.08);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--color-gold);
}