/* ===============================
   RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #2b2b2b;
  background: #ffffff;
  line-height: 1.6;

  min-height: 100vh;          /* 👈 key */
  display: flex;              /* 👈 key */
  flex-direction: column;     /* 👈 key */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===============================
   COLORS
================================ */
:root {
  --primary: #7b1e3a;     /* Maroon */
  --secondary: #f8e8d8;   /* Cream */
  --text-dark: #2b2b2b;
  --text-light: #777;
  --border: #eee;
}

/* ===============================
   NAVBAR / HEADER
================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 64px;        /* 👈 increased from 48px */
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
}

/* Navigation */
.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ===============================
   HERO SLIDER
================================ */
.hero-slider {
  height: clamp(400px, 52vh, 560px);
  position: relative;
  overflow: hidden;

  flex-grow: 1;   /* 👈 THIS IS THE FIX */
}




.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.overlay {
  background: rgba(0, 0, 0, 0.45);
  height: 100%;
  padding: clamp(24px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}



.overlay h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4.5vw, 44px);
  margin-bottom: 14px;
}



.overlay p {
  font-size: 18px;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  padding: clamp(12px, 1.2vw, 16px) clamp(28px, 3vw, 40px);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1;
  width: fit-content;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* ===============================
   SHOP FILTERS
================================ */
.filters {
  display: flex;
  gap: 20px;
  padding: 30px 40px;
  background: var(--secondary);
}

.filters select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
}

/* ===============================
   PRODUCT GRID
================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  padding: 40px;
}

.product-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  border-radius: 10px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.product-card p {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

/* ===============================
   PRODUCT DETAIL

/* ===============================
   FOOTER (DEFAULT)
================================ */
.site-footer {
  background: #fafafa;
  border-top: 1px solid var(--border);

  margin-top: auto; /* 👈 THIS IS THE KEY */
}


/* NORMAL FOOTER (Shop, Product pages) */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 40px 40px; /* reduced */
}

/* COMPACT FOOTER (Homepage only) */
.site-footer.compact .footer-container {
  padding: 20px 40px; /* 👈 KEY FIX */
  gap: 20px;
}

.footer-bottom {
  text-align: center;
  padding: 10px;      /* reduced */
  font-size: 12px;
  color: var(--text-light);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  color: var(--primary);
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
}



/* Mobile */
@media (max-width: 768px) {
  .brand img {
    height: 52px;   /* smaller on tablets & phones */
  }
}
