/* ===== Reset & Custom Properties ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #8B6914;
  --gold-light: #C9A84C;
  --gold-lighter: #D4AF37;
  --brown-dark: #3E2C0E;
  --brown-medium: #5C4033;
  --brown-light: #8B7355;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #F9F5EF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== Section Common ===== */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--brown-dark);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
}

section {
  padding: 60px 0;
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ===== Utility Bar ===== */
.utility-bar {
  background: var(--white);
  border-bottom: 1px solid #f0f0f0;
  padding: 8px 0;
}

.utility-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-bar-phone {
  font-size: 0.8rem;
  color: var(--text-light);
}

.utility-bar-social a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.utility-bar-social a:hover {
  color: var(--gold);
}

/* ===== Top Bar / Header ===== */
.top-bar {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 18px 0;
}

.top-bar-logo {
  display: none;
}

.top-bar-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  letter-spacing: 0;
  font-weight: 700;
}

/* ===== Main Navigation ===== */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}

.nav-menu {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-menu li a {
  display: block;
  padding: 22px 20px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--gold);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
  padding: 50px 0;
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  font-family: 'Great Vibes', cursive;
  font-size: 1.2rem;
  color: var(--gold-light);
}

.breadcrumb {
  text-align: center;
  padding: 14px 0;
  background: var(--bg-light);
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--gold);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--brown-dark);
}

/* ===== Inner Page Content ===== */
.page-content {
  padding: 60px 0;
}

.page-content .about-text {
  margin-bottom: 40px;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3,
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--brown-dark);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
}

.contact-info .info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-gold {
  display: inline-block;
  padding: 12px 32px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-gold:hover {
  background: var(--brown-dark);
}

/* Inner gallery page - larger grid */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-page-grid .gallery-item img {
  height: 280px;
}

/* Product Grid (category detail pages) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  border: 1px solid #e8e0d0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

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

/* Page header matching original - gold text, breadcrumb right-aligned */
.page-header-bar {
  background: var(--bg-light);
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.page-header-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-header-bar h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 400;
}

.page-header-bar .breadcrumb-inline {
  font-size: 0.85rem;
  color: var(--text-light);
}

.page-header-bar .breadcrumb-inline a {
  color: var(--text-light);
  transition: color 0.3s;
}

.page-header-bar .breadcrumb-inline a:hover {
  color: var(--gold);
}

/* ===== Hero Slider ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(139, 105, 20, 0.7);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: rgba(139, 105, 20, 1);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-dot.active {
  background: var(--white);
}

/* ===== Categories ===== */
.categories {
  background: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  display: block;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  background: var(--bg-light);
}

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

.category-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.category-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card h3 {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 400;
}

.category-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.6;
  padding: 0 16px 16px;
}

/* Categories listing page - keep descriptions visible */
.categories.page-content .category-card h3 {
  position: relative;
  bottom: auto;
  right: auto;
  text-align: center;
  padding: 12px 16px 0;
}

/* ===== Trending Collections ===== */
.collections {
  background: var(--bg-light);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.collection-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.collection-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s;
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(62, 44, 14, 0.7));
}

.collection-overlay h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.8rem;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===== We Promise ===== */
.promise {
  background: var(--white);
}

.promise-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.promise-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.promise-content p:first-child {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.gallery-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.gallery-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / 3;
}

.gallery-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.gallery-item:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}

.gallery-item:nth-child(3) img {
  height: 100%;
}

/* ===== Our Brands ===== */
.brands {
  background: var(--white);
}

.brands-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.brand-item {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.3s;
}

.brand-item:hover {
  transform: scale(1.1);
}

.brand-item img {
  max-height: 60px;
  object-fit: contain;
}

/* ===== About / Mission ===== */
.about {
  background: var(--bg-light);
}

.about-block {
  margin-bottom: 50px;
}

.about-block:last-child {
  margin-bottom: 0;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.8;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.mission-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--brown-dark);
  text-align: center;
  margin: 40px 0 20px;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 0.85rem;
  color: rgba(255, 248, 240, 0.8);
  line-height: 2;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 2px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 248, 240, 0.15);
  font-size: 0.8rem;
  color: rgba(255, 248, 240, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  section {
    padding: 40px 0;
  }

  .utility-bar-phone {
    font-size: 0.75rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    border-top: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

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

  .nav-menu li a {
    padding: 12px 20px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
  }

  .top-bar {
    position: relative;
  }

  .hero-slide img {
    height: 300px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .category-img-wrapper {
    height: 180px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .gallery-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brands-row {
    gap: 20px;
  }

  .brand-item {
    width: 120px;
  }

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

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

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-card img {
    height: 240px;
  }

  .page-header-bar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: whatsapp-pulse 2s ease-in-out 1;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--brown-dark);
}

/* ===== Lightbox ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: pointer;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  z-index: 1001;
}

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

@media (max-width: 480px) {
  .header-title {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero-slide img {
    height: 220px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-img-wrapper {
    height: 160px;
  }

  .category-card h3 {
    font-size: 1.1rem;
  }

  .collection-overlay h3 {
    font-size: 1.4rem;
  }

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

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-images img {
    height: 180px;
  }
}
