/* ==========================================================================
   SANYUKA DECOR FLORISTS - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* Design Tokens & Variables - Luxury Floral Palette */
:root {
  --color-forest: #0d261e;         /* Deep Nile Forest Green */
  --color-forest-light: #16382c;   /* Mid Forest Green */
  --color-forest-rgb: 13, 38, 30;
  --color-terracotta: #8ca487;     /* Sage Green (brand accent) */
  --color-terracotta-hover: #75907a;
  --color-terracotta-soft: rgba(140, 164, 135, 0.12);
  --color-petal-blush: #f4eae4;    /* Delicate Petal Blush */
  --color-sage: #eef4f0;           /* Soft Sage Leaf */
  --color-sage-deep: #2d5547;      /* Deep Sage Green */
  --color-cream: #faf5ee;          /* Warm Botanic Cream Background */
  --color-surface: #fdfbf7;        /* Elevated Card Surface */
  --color-white: #ffffff;
  --color-gold: #df9e35;           /* African Sun Gold */
  --color-gray-dark: #2c3330;
  --color-gray-light: #e4dcd2;     /* Warm tinted border */
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  --glass-bg: rgba(250, 245, 238, 0.82);
  --glass-border: rgba(140, 164, 135, 0.14);
  --glass-shadow: 0 12px 36px 0 rgba(13, 38, 30, 0.08);
  --backdrop-blur: 16px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  /* Fallback so anchored/JS scrolls clear the fixed glass header.
     app.js overwrites this with the exact header height for a flush stop. */
  scroll-padding-top: 140px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-forest);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--color-forest-light);
  border-radius: 5px;
  border: 2px solid var(--color-cream);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-terracotta);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

p {
  font-weight: 300;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Layout Utilities */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

/* Custom Badges & Labels */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-terracotta);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--color-forest);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  color: var(--color-forest);
  opacity: 0.8;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--color-terracotta);
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(140, 164, 135, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--color-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140, 164, 135, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 28px;
  border: 1px solid var(--color-forest);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: var(--color-forest);
  color: var(--color-cream);
  transform: translateY(-2px);
}

/* WhatsApp header CTA */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

.btn-whatsapp:hover {
  background-color: #1da851;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Header & Navigation */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-forest);
}

.logo-accent {
  color: var(--color-terracotta);
  font-style: italic;
  font-weight: 400;
}

.logo-img {
  height: 75px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.glass-header .logo-img {
  filter: brightness(0) opacity(0.85);
  transform: scale(1.6);
  transform-origin: left center;
}

.logo-img:hover {
  /* hover effect removed */
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.85;
}

.nav-links a:hover {
  color: var(--color-terracotta);
  opacity: 1;
}

/* Hamburger toggle - only rendered on small screens */
.nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  /* Nav collapses into a dropdown drawer toggled by the hamburger */
  .header-container {
    gap: 10px;
    padding: 8px 16px;
  }

  /* The 1.6x scale bleeds past its layout box and would cover the CTA */
  .glass-header .logo-img {
    transform: scale(1.25);
  }

  /* Keep the CTA on one line so it doesn't eat the whole header height */
  .btn-whatsapp {
    margin-left: auto;
    gap: 8px;
    font-size: 0.85rem;
    padding: 10px 16px;
    white-space: nowrap;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--color-forest);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

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

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

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.4s;
  }

  .nav-links.is-open {
    max-height: 70vh;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 16px 24px;
    font-size: 1rem;
    border-top: 1px solid rgba(140, 164, 135, 0.12);
  }
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 85% 30%, rgba(232, 165, 152, 0.22) 0%, transparent 50%),
              radial-gradient(circle at 15% 75%, rgba(45, 85, 71, 0.12) 0%, transparent 45%),
              linear-gradient(175deg, #fbf7f2 0%, #f7efe4 50%, #edf3ee 100%);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-terracotta);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-forest);
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 36px;
  opacity: 0.9;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(13, 38, 30, 0.15);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 8s ease;
}

.image-wrapper:hover .hero-img {
  transform: scale(1.05);
}



@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Hero photo becomes the section background instead of a separate column */
  .hero-section {
    background-image:
      linear-gradient(rgba(250, 245, 238, 0.55), rgba(250, 245, 238, 0.68)),
      url('Assets/images/PINKandPURP.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero-visual {
    display: none;
  }
  /* Stronger contrast for text sitting over the hero photo */
  .hero-subtitle {
    color: #000000;
  }
  .hero-description {
    font-weight: 600;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .hero-actions .btn-primary {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
  }
  /* View Full Catalogue sits on its own centered row */
  .hero-actions .btn-primary:last-child {
    flex: 0 0 auto;
    max-width: none;
  }
}

/* About Section */
.about-section {
  background: radial-gradient(circle at 90% 20%, rgba(140, 164, 135, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, #edf3ee 0%, #f7f3ec 50%, #faf5ee 100%);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-image-column {
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(13, 38, 30, 0.15);
}

.about-para {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.85;
}

/* About slider (Why natural slide) */
.about-slider {
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.about-track {
  display: flex;
  width: calc(200% + 80px);
  column-gap: 80px;
  transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.about-track.is-slid {
  transform: translateX(calc(-50% - 40px));
}

.about-slide {
  flex: 0 0 calc((100% - 80px) / 2);
}

.about-slide2-title {
  color: #000000;
}

.about-nav-btn {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Specialties Section */
.specialties-section {
  background: radial-gradient(circle at 50% 0%, rgba(223, 158, 53, 0.1) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(232, 165, 152, 0.12) 0%, transparent 50%),
              linear-gradient(180deg, #faf5ee 0%, #f3ebe0 50%, #fbf6f0 100%);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.specialty-card {
  background: linear-gradient(145deg, #ffffff 0%, #faf4eb 100%);
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid rgba(140, 164, 135, 0.12);
  box-shadow: 0 8px 24px rgba(13, 38, 30, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(140, 164, 135, 0.12);
  border-color: var(--color-terracotta);
}

.specialty-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--color-terracotta);
}

.card-icon .fa-ring + .fa-ring {
  margin-left: -14px;
}

.specialty-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--color-forest);
}

.specialty-card p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Specialties responsive layout */
@media (max-width: 992px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery Section */
.gallery-section {
  background: radial-gradient(circle at 10% 40%, rgba(232, 165, 152, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 90% 70%, rgba(45, 85, 71, 0.1) 0%, transparent 45%),
              linear-gradient(180deg, #fbf6f0 0%, #f4ece2 50%, #eef4f0 100%);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 20px;
  border: 1px solid rgba(140, 164, 135, 0.2);
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13, 38, 30, 0.04);
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-forest);
  color: var(--color-cream);
  border-color: var(--color-forest);
  box-shadow: 0 4px 14px rgba(13, 38, 30, 0.18);
}

@media (max-width: 768px) {
  .filter-buttons {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .filter-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
    white-space: nowrap;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  transition: opacity 0.3s ease;
}

/* Must stay after the base rule above, or these lose the cascade */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 38, 30, 0.08);
  aspect-ratio: 1 / 1;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover {
  transform: translateY(-8px);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 38, 30, 0.92) 0%, rgba(13, 38, 30, 0.45) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--color-cream);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.card-price {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-cream);
  opacity: 0.9;
  margin-bottom: 16px;
}

.btn-card-view {
  background-color: var(--color-terracotta);
  color: var(--color-cream);
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.btn-card-view:hover {
  background-color: var(--color-cream);
  color: var(--color-forest);
}

/* Centre the card text block in the middle of the tile (mobile) */
@media (max-width: 768px) {
  .card-overlay {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .card-price {
    margin-bottom: 0;
  }
}

/* FAQ Section */
.faq-section {
  background: radial-gradient(circle at 90% 20%, rgba(140, 164, 135, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, #f6f1e9 0%, #fdfaf4 100%);
}

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

.faq-item {
  background: linear-gradient(145deg, #ffffff 0%, #faf4eb 100%);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(140, 164, 135, 0.12);
  box-shadow: 0 8px 24px rgba(13, 38, 30, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(140, 164, 135, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.faq-icon {
  color: var(--color-terracotta);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.faq-question h3 {
  font-size: 1.15rem;
  color: var(--color-forest);
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
  color: var(--color-forest);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Delivery & Contact Section */
.contact-section {
  background:
    radial-gradient(circle at 80% 80%, rgba(140, 164, 135, 0.14) 0%, transparent 50%),
    url('Assets/images/front.JPG') center/cover no-repeat;
}

.contact-card-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 242, 233, 0.82) 100%);
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
  border: 1px solid rgba(140, 164, 135, 0.18);
  box-shadow: 0 16px 44px rgba(13, 38, 30, 0.08);
  border-radius: 16px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  opacity: 0.85;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.detail-icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.detail-icon:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(13, 38, 30, 0.1);
}

.detail-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.detail-item h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.detail-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.8;
}

.contact-form-wrapper {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-gray-light);
}

.contact-form-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.9;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  background-color: var(--color-cream);
  color: var(--color-forest);
  border-radius: 4px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(140, 164, 135, 0.1);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Delivery / Pickup pill selector */
.form-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.9;
}

.fulfillment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.option-pill {
  position: relative;
  cursor: pointer;
}

.option-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.option-pill span {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: 4px;
  background-color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-forest);
  transition: var(--transition-fast);
}

.option-pill input:checked + span {
  border-color: var(--color-terracotta);
  background-color: var(--color-terracotta-soft);
  color: var(--color-terracotta);
  font-weight: 600;
}

.option-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(140, 164, 135, 0.2);
}

@media (max-width: 992px) {
  .contact-card-glass {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 40px;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
}

/* Footer Section */
.footer {
  background-color: #8ca487;   /* Sage Green (unified brand green) */
  color: var(--color-forest);
  border-top: 1px solid rgba(13, 38, 30, 0.15);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  color: var(--color-forest);
  margin-bottom: 10px;
}

.footer-logo .logo-img {
  height: 120px;
  width: auto;
}

.footer-tagline {
  font-size: 0.8rem;
  opacity: 0.8;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4,
.footer-socials h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-forest);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-forest);
  transform: translateX(4px);
}

.footer-socials {
  display: flex;
  flex-direction: column;
}

.footer-socials p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

/* Creative Social Buttons with Micro-animations */
.social-buttons {
  display: flex;
  gap: 16px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-forest-light);
  color: var(--color-cream);
  border: 1px solid rgba(251, 248, 243, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.social-btn .icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
  transform: translateY(-6px);
  color: var(--color-white);
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-btn.whatsapp:hover {
  background-color: #25d366;
}

.social-btn.tiktok:hover {
  background-color: #010101;
}

.social-btn:hover .icon {
  transform: scale(1.2);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px;
  border-top: 1px solid rgba(13, 38, 30, 0.12);
  display: flex;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   MODERN CSS TOP LAYER TRANSITIONS FOR DIALOGS
   ========================================================================== */

/* 1. Define the base (closed/exit) state and transitions */
dialog {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: 90%;
  box-shadow: none;
  opacity: 0;
  transform: scale(0.9);
  
  /* MANDATORY: transition display and overlay for top-layer elements */
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-behavior: allow-discrete;
}

/* 2. Define the visible (open) state */
dialog[open] {
  opacity: 1;
  transform: scale(1);
  
  /* 3. Define the starting state for entry (must come after open state) */
  @starting-style {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* 4. Animate the backdrop */
dialog::backdrop {
  background-color: rgba(12, 33, 26, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    display 0.4s allow-discrete,
    overlay 0.4s allow-discrete,
    background-color 0.4s ease-out,
    backdrop-filter 0.4s ease-out;
}

dialog[open]::backdrop {
  background-color: rgba(12, 33, 26, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  @starting-style {
    background-color: rgba(12, 33, 26, 0);
    backdrop-filter: blur(0px);
  }
}

/* Glassmorphic Dialogue Styling */
.glass-dialog {
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  width: 100%;
}

.dialog-body {
  padding: 48px;
  position: relative;
}

.dialog-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-forest);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.dialog-close-btn:hover {
  opacity: 1;
  color: var(--color-terracotta);
}

.dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.dialog-img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.lightbox-img-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-info-wrapper {
  display: flex;
  flex-direction: column;
}

.dialog-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
  font-weight: 600;
  margin-bottom: 8px;
}

.dialog-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.dialog-desc {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-gray-light);
  padding-top: 24px;
}

.dialog-price {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Custom Request Dialogue specifics */
.custom-request-body h3 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.dialog-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .dialog-body {
    padding: 32px 20px;
  }
  .dialog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dialog-title {
    font-size: 1.8rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background-color: var(--color-forest);
  color: var(--color-cream);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  min-width: 280px;
  max-width: 400px;
  transform: translateY(100px);
  opacity: 0;
  animation: slideIn 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* ==========================================================================
   SCROLL REVEAL EFFECTS (MODERN CSS VIEW TIMELINE & FALLBACKS)
   ========================================================================== */

/* Native CSS Scroll Entry Effects using View Timeline */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(60px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .scroll-reveal {
      animation: reveal-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  dialog, .social-btn, .gallery-card, .specialty-card {
    transform: none !important;
    transition-duration: 0.1s !important;
    animation: none !important;
  }
  
  .hero-img {
    transition: none !important;
  }
  
  dialog[open] {
    @starting-style {
      transform: none !important;
    }
  }
  
  dialog::backdrop {
    transition-duration: 0.1s !important;
  }
}

/* ==========================================================================
   IMAGE PLACEHOLDERS
   Replace each placeholder div with a real <img> tag once your photos are
   ready. The filename hint inside each placeholder shows the expected path.
   ========================================================================== */

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0ece5;
  border: 2px dashed var(--color-terracotta);
  border-radius: 12px;
  color: var(--color-forest-light);
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(140, 164, 135, 0.06) 8px,
    rgba(140, 164, 135, 0.06) 16px
  );
}

.placeholder-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  opacity: 0.6;
}

.placeholder-inner svg {
  stroke: var(--color-terracotta);
}

.placeholder-inner span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-forest);
}

.placeholder-inner small {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-terracotta);
  word-break: break-all;
}

/* Hero placeholder: match the blob shape used by the real hero-img */
.hero-img.img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 600px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  border: none;
  background: linear-gradient(135deg, #f0ece5 60%, rgba(140, 164, 135, 0.08));
  border: 2px dashed var(--color-terracotta);
}

/* Gallery placeholders: fill the card image area like a real photo */
.gallery-img.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 0;
  border: none;
  border-bottom: 2px dashed var(--color-terracotta);
}

/* ==========================================================================
   CONTACT ICON COLOURS & INTERACTION
   ========================================================================== */

.detail-icon.icon-red {
  background-color: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.22);
}

.detail-icon.icon-red:hover {
  background-color: rgba(229, 57, 53, 0.2);
  border-color: rgba(229, 57, 53, 0.4);
}

.detail-icon.icon-red svg {
  color: #e53935;
  fill: #e53935;
  stroke: none;
}

.detail-icon.icon-blue {
  background-color: rgba(25, 118, 210, 0.12);
  border: 1px solid rgba(25, 118, 210, 0.22);
}

.detail-icon.icon-blue:hover {
  background-color: rgba(25, 118, 210, 0.2);
  border-color: rgba(25, 118, 210, 0.4);
}

.detail-icon.icon-blue svg {
  color: #1976d2;
  fill: #1976d2;
  stroke: none;
}

.detail-icon.icon-whatsapp {
  background-color: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.detail-icon.icon-whatsapp:hover {
  background-color: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.45);
}

.detail-icon.icon-whatsapp svg {
  color: #25d366;
  fill: #25d366;
  stroke: none;
}

.detail-icon.icon-yellow {
  background-color: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.detail-icon.icon-yellow:hover {
  background-color: rgba(234, 179, 8, 0.25);
  border-color: rgba(234, 179, 8, 0.5);
}

.detail-icon.icon-yellow i {
  color: #eab308;
  font-size: 24px;
}

.delivery-note {
  color: #000000;
  font-weight: 600;
}

.delivery-item {
  align-items: center;
}

.delivery-item h4 {
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACT MAP EMBED
   ========================================================================== */

.contact-map-wrapper {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-gray-light);
  height: 420px;
  width: 100%;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   GALLERY CTA (View Full Gallery button)
   ========================================================================== */

.gallery-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.gallery-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  padding: 14px 36px;
}
