/* ==========================================================================
   MORENO ESTUDILLO DELICATESSEN - PREMIUM CSS DESIGN SYSTEM
   ========================================================================== */

/* Google Fonts Import - explicit weights for better parity */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

/* Design Tokens & Theme Variables */
:root {
  /* Colors */
  --primary: #183A26;          /* Deep Forest Green (Luxury & Heritage) */
  --primary-light: #255238;    /* Interactive Forest Green */
  --primary-dark: #0E2417;     /* Shadow Forest Green */
  --accent: #C5A880;           /* Luxurious Muted Gold/Bronze */
  --accent-dark: #A3855E;      /* Gold Hover State */
  --accent-light: #E2D7C7;     /* Soft Gold Accent Tint */
  --bg-light: #FAF8F5;         /* Elegant Warm Cream */
  --bg-dark: #121614;          /* Deep Charcoal Green */
  --text-dark: #222925;        /* Ultra-dark slate for readability */
  --text-muted: #5A665F;       /* Mid-tone slate for descriptions */
  --text-light: #F4F6F4;       /* Warm light grey for dark sections */
  --white: #FFFFFF;
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Shadows (Harmonized HSL Shadows for Premium Depth) */
  --shadow-sm: 0 2px 8px rgba(24, 58, 38, 0.04);
  --shadow-md: 0 10px 30px rgba(24, 58, 38, 0.06);
  --shadow-lg: 0 20px 50px rgba(24, 58, 38, 0.1);
  --shadow-gold: 0 10px 30px rgba(197, 168, 128, 0.2);
  
  /* Layout */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-width: 1280px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent);
}

p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Global Helpers */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

.section-dark {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-dark h2 {
  color: var(--primary);
}

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

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.accent-text {
  font-family: var(--font-serif);
  color: var(--accent);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: block;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(24, 58, 38, 0.08);
}

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

/* Premium Logo Typography */
.logo {
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

/* Logo image styles */
.site-logo {
  height: 90px;
  width: auto;
  margin-right: 1rem;
  display: block;
}

.footer-site-logo {
  height: 90px;
  width: auto;
  margin-bottom: 0.6rem;
  display: block;
}

/* Header-specific layout: image + text side-by-side */
.header .logo {
  flex-direction: row;
  align-items: center;
  color: var(--text-dark);
}

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

/* Make logos readable on dark sections by inverting/brightening them */
.header .site-logo {
  filter: none;
}

.section-dark .contact-logo {
  width: min(100%, 380px);
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
  filter: none;
}

.contact-logo {
  display: block;
  width: min(100%, 380px);
  height: auto;
  margin-bottom: 1.5rem;
}

.logo-main {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-top: -2px;
}

/* Nav Menu Desktop */
.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  margin-bottom: 5px;
  transition: var(--transition-smooth);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

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

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

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: brightness(1.05) contrast(1.05) saturate(1.05);
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.75) 0%, rgba(245, 242, 237, 0.95) 80%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-family: var(--font-sans);
  color: var(--accent);
  font-size: 1.4rem;
  font-style: normal;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.3s;
}

.hero-title {
  font-size: 4.6rem;
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.05;
  font-family: var(--font-sans);
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards 0.5s;
}

.hero-title span {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 6px;
   color: var(--accent-dark);
  margin-bottom: 3rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.7s;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background-color: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.9s;
}

.btn:hover {
  background-color: transparent;
  color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: rgba(24, 58, 38, 0.2);
  margin-left: 1.5rem;
}

.btn-secondary:hover {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
  background-color: rgba(197, 168, 128, 0.12);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(24, 58, 38, 0.95);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.hero-scroll:hover {
  color: var(--accent-dark);
}

.scroll-line {
  width: 2px;
  height: 60px;
  background-color: rgba(24, 58, 38, 0.25);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(24, 58, 38, 0.15);
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-dark);
  transform: translateX(-50%);
  animation: scrollDown 1.2s infinite ease-in-out;
}

/* ==========================================================================
   PRODUCTS CATALOG (GRID)
   ========================================================================== */
.catalog-intro {
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(24, 58, 38, 0.05);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 168, 128, 0.4);
}

.product-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-container img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.product-overlay-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(24, 58, 38, 0.6) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card:hover .product-overlay-effect {
  opacity: 1;
}

.product-info {
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
  font-family: var(--font-serif);
}

.product-card:hover .product-card-title {
  color: var(--accent-dark);
}

.product-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.product-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-action {
  margin-top: auto;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.product-card-action i {
  transition: var(--transition-fast);
}

.product-card:hover .product-card-action {
  color: var(--accent-dark);
}

.product-card:hover .product-card-action i {
  transform: translateX(5px);
}

/* ==========================================================================
   PRODUCT DETAIL OVERLAY (DRAWER)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 22, 20, 0.75);
  backdrop-filter: blur(5px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  position: fixed;
  top: 0;
  right: -600px;
  width: 600px;
  height: 100%;
  max-width: 100%;
  background-color: var(--bg-light);
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  padding: 4rem 3.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  border-left: 1px solid rgba(197, 168, 128, 0.2);
}

.drawer-overlay.active .drawer-content {
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 58, 38, 0.1);
  transition: var(--transition-fast);
}

.drawer-close:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.drawer-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  padding-bottom: 1.5rem;
}

.drawer-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.drawer-title {
  font-size: 2.2rem;
  color: var(--primary);
  font-family: var(--font-serif);
}

.drawer-body-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(24, 58, 38, 0.05);
}

.drawer-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 3rem;
  white-space: pre-line;
}

.drawer-text p {
  margin-bottom: 1.5rem;
}

/* Brands section inside category drawer */
.drawer-brands-section {
  border-top: 1px solid rgba(24, 58, 38, 0.1);
  padding-top: 2rem;
  margin-top: auto;
}

.drawer-brands-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.drawer-brands-logos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.brand-logo-img {
  height: 55px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.brand-logo-img:hover {
  filter: none;
  opacity: 1;
}

/* Real Product Gallery inside Drawer */
.drawer-gallery-section {
  border-top: 1px solid rgba(24, 58, 38, 0.1);
  padding-top: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.drawer-gallery-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.drawer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.drawer-gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(24, 58, 38, 0.05);
  transition: var(--transition-smooth);
}

.drawer-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 128, 0.4);
}

.drawer-gallery-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.drawer-gallery-item:hover .drawer-gallery-img {
  transform: scale(1.05);
}

.drawer-gallery-caption {
  padding: 0.6rem 0.8rem;
  background-color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  border-top: 1px solid rgba(24, 58, 38, 0.05);
  text-align: center;
}

/* ==========================================================================
   ABOUT US SECTION (NOSOTROS)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  text-align: left;
}

.about-title {
  margin-bottom: 2rem;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  padding-top: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 700;
}

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

.about-img-main {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.about-img-accent-box {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  text-align: center;
  z-index: 5;
}

.about-img-accent-box span {
  display: block;
}

.about-img-accent-box .box-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.about-img-accent-box .box-text {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
}

.contact-info-col {
  text-align: left;
}

.contact-info-title {
  margin-bottom: 2.5rem;
}

.contact-details {
  list-style: none;
  margin-bottom: 3.5rem;
}

.contact-item {
  display: flex;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(197, 168, 128, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 1.25rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(197, 168, 128, 0.2);
}

.contact-text-wrap {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-value a:hover {
  color: var(--accent-dark);
}

/* Custom Interactive Map Styling */
.map-placeholder {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-sm);
  background-color: #1a221e;
  border: 1px solid rgba(197, 168, 128, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-placeholder:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.map-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image: radial-gradient(var(--accent) 1px, transparent 0), radial-gradient(var(--accent) 1px, transparent 0);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.map-placeholder-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  z-index: 2;
  animation: bounce 2s infinite ease-in-out;
}

.map-placeholder-text {
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 2;
  font-weight: 600;
}

.map-placeholder-sub {
  font-size: 0.75rem;
  color: var(--accent-light);
  margin-top: 5px;
  opacity: 0.7;
  z-index: 2;
}

/* Premium Form Styling */
.contact-form-col {
  background-color: rgba(255, 255, 255, 0.02);
  padding: 4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 168, 128, 0.15);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(5px);
  text-align: left;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-light);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.form-input {
  width: 100%;
  background-color: rgba(18, 22, 20, 0.6);
  border: 1px solid rgba(197, 168, 128, 0.2);
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(18, 22, 20, 0.8);
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

/* Customized Select input styling */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.3rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
  color: rgba(244, 246, 244, 0.7);
  line-height: 1.5;
}

.checkbox-wrap a {
  color: var(--accent);
  text-decoration: underline;
}

.checkbox-wrap a:hover {
  color: var(--accent-light);
}

.checkbox-wrap input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.btn-form {
  width: 100%;
  padding: 1.2rem;
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 700;
  background-color: var(--accent);
  color: var(--bg-dark);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-form:hover {
  background-color: transparent;
  color: var(--accent);
  box-shadow: var(--shadow-gold);
}

/* Form success notification state */
.form-message {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background-color: rgba(37, 82, 56, 0.2);
  border: 1px solid var(--primary-light);
  color: #a3d9b9;
}

.form-message.error {
  display: block;
  background-color: rgba(139, 38, 38, 0.2);
  border: 1px solid #c94c4c;
  color: #ff9e9e;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--bg-light);
  border-top: 1px solid rgba(24, 58, 38, 0.1);
  padding: 5rem 0 3rem 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-logo {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-desc {
  line-height: 1.6;
  max-width: 350px;
}

.footer-h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ==========================================================================
   MODAL DIALOG (PRIVACY POLICY)
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 22, 20, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 168, 128, 0.2);
  width: 750px;
  max-width: 90%;
  max-height: 80vh;
  box-shadow: var(--shadow-lg);
  padding: 4rem 3.5rem;
  position: relative;
  overflow-y: auto;
  text-align: left;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--primary);
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 58, 38, 0.1);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.modal-h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  padding-bottom: 1rem;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-body h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 2rem 0 1rem 0;
}

.modal-body p {
  margin-bottom: 1.2rem;
}

.modal-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

.modal-body li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 20px;
}

.modal-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
  top: -2px;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDown {
  0% {
    top: -20px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 50px;
    opacity: 0;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll Fade In Animation Classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE LAYOUTS)
   ========================================================================== */

/* Large Tablets & Desktops (1024px) */
@media (max-width: 1024px) {
  h2 { font-size: 2.2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .about-grid { gap: 3rem; }
  .about-img-main { height: 400px; }
  .contact-grid { gap: 3rem; }
}

/* Small Tablets & Large Phones (768px) */
@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .section { padding: 5rem 0; }
  
  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #0d100e;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border-left: 1px solid rgba(197, 168, 128, 0.2);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: block;
    z-index: 1000;
  }

  /* Mobile nav color adjustments (dark slide-out menu) */
  .nav-menu {
    background-color: #0d100e; /* existing dark background */
  }

  .nav-menu .nav-link {
    color: var(--text-light);
    font-size: 1.15rem;
    text-align: left;
  }

  .nav-menu .nav-link:hover {
    color: var(--accent-light);
  }

  .nav-menu .nav-link.active {
    color: var(--accent);
  }

  .nav-toggle span {
    background-color: var(--text-dark);
  }

  /* When the mobile menu is open the toggle should be light for contrast */
  .nav-toggle.open span {
    background-color: var(--text-light);
  }
  
  /* Hero */
  .hero-title { font-size: 3rem; }
  .hero-title span { font-size: 1.4rem; letter-spacing: 5px; }
  .hero-description { font-size: 1.1rem; }
  .hero-content { padding: 0 1.5rem; }

  /* Reduce or reposition scroll indicator on smaller screens */
  .hero-scroll { bottom: 1.2rem; font-size: 0.78rem; }

  /* Header & logo adjustments for mobile to avoid overlapping the hero */
  .header { padding: 0.6rem 0; }
  .header .site-logo { height: 56px; margin-right: 0.6rem; }
  .logo-main { font-size: 1.2rem; }
  .hero { padding-top: 88px; }
  
  /* Grid Sections */
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-img-main { height: 350px; }
  .about-img-accent-box { left: 50%; transform: translateX(-50%); bottom: -1.5rem; max-width: 280px; }
  
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-col { padding: 2.5rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
  
  /* Detail Drawer & Modals */
  .drawer-content { padding: 3rem 2rem; width: 100%; }
  .modal-content { padding: 2.5rem 1.8rem; width: 95%; }
}

/* Small Phones (480px) */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .btn { width: 100%; display: block; margin-left: 0 !important; margin-bottom: 1rem; text-align: center; }
  .about-img-accent-box { width: calc(100% - 2rem); left: 1rem; transform: none; }
  /* Tighter header for very small screens */
  .header { padding: 0.5rem 0; }
  .header .site-logo { height: 48px; margin-right: 0.4rem; }
  .logo-main { font-size: 1rem; }
  .hero { padding-top: 76px; }
  /* Hide scroll indicator on very small phones to prevent overlap */
  .hero-scroll { display: none; }
}
