/* Nikhavariety 786 - Homepage Styles */
:root {
  --cream: #FEF9F3;
  --cream-dark: #F5EDE3;
  --pink-light: #F8E4E4;
  --pink-bar: #F5D5D5;
  --rose: #B8847A;
  --rose-dark: #A06B62;
  --brown: #4A3728;
  --brown-light: #6B5344;
  --text-muted: #7A6A5E;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

a:hover {
  color: var(--rose);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

/* Top Bar */
.top-bar {
  background: var(--pink-bar);
  padding: 8px 0;
  font-size: 12px;
  color: var(--brown-light);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
}

.top-bar-social a:hover {
  color: var(--rose);
}

.top-bar-social svg {
  width: 16px;
  height: 16px;
}

/* Main Header */
.main-header {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid #f0e8e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--cream);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.3px;
  position: relative;
}

.main-nav a:hover {
  color: var(--rose);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  position: relative;
}

.header-actions a:hover {
  color: var(--rose);
}

.header-actions svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--rose);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brown);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid #f0e8e0;
  background: var(--white);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 14px;
  color: var(--brown);
}

.main-nav a.active {
  color: var(--rose);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--rose);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

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

/* Features Row */
.features {
  padding: 50px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 10px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ddd4;
  border-radius: 50%;
  color: var(--rose);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-item h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 12px;
  color: var(--text-muted);
}

.ecom-quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.ecom-quick-link {
  display: block;
  background: var(--white);
  border: 1px solid #eadfd6;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: background 0.2s;
}

.ecom-quick-link:hover {
  background: var(--pink-light);
  color: var(--brown);
}

.ecom-quick-link h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 6px;
}

.ecom-quick-link p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Collections Section */
.collections {
  padding: 60px 0 70px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.collections-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
  pointer-events: none;
  width: 400px;
  height: 400px;
}

.collections-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: var(--brown);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.collection-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.collection-info {
  padding: 16px;
  text-align: center;
}

.collection-info h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}

.collection-info a {
  font-size: 12px;
  color: var(--rose);
  font-weight: 700;
}

.collection-info a:hover {
  color: var(--rose-dark);
}

/* CTA Banner */
.cta-banner {
  padding: 60px 0;
  background: var(--cream-dark);
}

.cta-banner .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

.cta-content {
  padding: 20px 0;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.3;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Why Choose Us */
.why-us {
  padding: 60px 0;
  background: var(--white);
}

/* Newsletter */
.newsletter {
  background: var(--pink-light);
  padding: 40px 0;
}

.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
}

.newsletter-text p {
  font-size: 13px;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex: 1;
  max-width: 420px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid #e8ddd4;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  background: var(--white);
}

.newsletter-form input:focus {
  border-color: var(--rose);
}

.newsletter-form .btn {
  border-radius: 0 4px 4px 0;
  padding: 14px 24px;
  white-space: nowrap;
}

/* Footer */
.footer {
  background: var(--cream);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-about {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rose);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--rose);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e8ddd4;
  border-radius: 50%;
  color: var(--brown-light);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.payment-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge {
  background: var(--white);
  border: 1px solid #e8ddd4;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--brown-light);
}

.footer-bottom {
  border-top: 1px solid #e8ddd4;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .features-grid,
  .collections-grid,
  .ecom-quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner .container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-item:nth-child(2) {
    display: none;
  }

  .features-grid,
  .collections-grid,
  .ecom-quick-links {
    grid-template-columns: 1fr;
  }

  .newsletter .container {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    width: 100%;
    max-width: 100%;
  }

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

  .footer-contact li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .payment-icons {
    justify-content: center;
  }
}
