/* =============================================
   SNIVEX KITCHEN — Mediterranean Sun Kitchen CSS
   ============================================= */

/* CSS Custom Properties */
:root {
  --primary-dark: #7a2c10;
  --primary-light: #c8821a;
  --accent: #c8821a;
  --accent-hover: #a06010;
  --bg: #faf6f0;
  --bg-card: #ffffff;
  --text-body: #3d2c1a;
  --text-heading: #7a2c10;
  --section-accent: #c8821a;
  --gradient-main: linear-gradient(135deg, #7a2c10 0%, #c8821a 100%);
  --shadow-sm: 0 2px 14px rgba(122, 44, 16, 0.09);
  --shadow-md: 0 6px 32px rgba(122, 44, 16, 0.17);
  --shadow-lg: 0 16px 64px rgba(122, 44, 16, 0.24);
  --radius: 16px;
  --radius-sm: 8px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  min-width: 320px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
s { opacity: 0.55; }

/* ===== UTILITY ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gradient-main);
  box-shadow: 0 2px 24px rgba(122, 44, 16, 0.35);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.logo-icon { font-size: 1.6rem; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
.logo-text em {
  font-style: italic;
  color: #ffe0a0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffe0a0;
  transition: width 0.25s;
}
.nav-links a:hover { color: #ffe0a0; }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(100, 30, 5, 0.97);
  padding: 16px 24px;
  gap: 14px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 10px;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: #ffe0a0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--gradient-main);
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 25%, rgba(255, 220, 100, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 75%, rgba(200, 130, 26, 0.18) 0%, transparent 48%),
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-deco {
  position: absolute;
  font-size: 4rem;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.hero-deco-1 { top: 12%; left: 6%; font-size: 5rem; opacity: 0.10; }
.hero-deco-2 { bottom: 15%; right: 8%; font-size: 4.5rem; opacity: 0.09; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: fadeUp 0.9s ease forwards;
}
.hero-tagline {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffe0a0;
  font-weight: 700;
  margin-bottom: 22px;
  opacity: 0.92;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-h1 em {
  font-style: italic;
  color: #ffe0a0;
}
.hero-para {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.8;
}
.hero-cta {
  display: inline-block;
  background: #ffe0a0;
  color: var(--primary-dark);
  padding: 16px 48px;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
.hero-cta:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-hint span {
  color: rgba(255,255,255,0.40);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,224,160,0.5), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.products-section.bottom {
  background: linear-gradient(180deg, var(--bg) 0%, #f5ece0 100%);
}
.section-label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.25;
}
.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--section-accent);
  text-align: center;
  font-style: italic;
  margin-bottom: 14px;
  font-weight: 400;
}
.section-desc {
  text-align: center;
  color: #6a4a28;
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1rem;
  line-height: 1.75;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
  align-items: start;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 24px 28px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1.5px solid rgba(200, 130, 26, 0.18);
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card.featured {
  border: 2.5px solid var(--accent);
  box-shadow: var(--shadow-md);
  transform: scale(1.04);
  background: linear-gradient(160deg, #fff 70%, #fff8ec 100%);
}
.product-card.featured:hover {
  transform: scale(1.04) translateY(-6px);
}
.product-card.best-seller {
  border: 2px solid var(--primary-dark);
}

.card-ribbon {
  position: absolute;
  top: 18px;
  right: -28px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 36px;
  transform: rotate(35deg);
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.card-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.badge-starter { background: #f3ece0; color: var(--primary-dark); }
.badge-standard { background: var(--gradient-main); color: #fff; }
.badge-best { background: linear-gradient(135deg, #7a2c10, #4a1a06); color: #ffe0a0; }

.card-img-wrap {
  width: 140px;
  height: 160px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-wrap img {
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(122, 44, 16, 0.18));
  transition: transform 0.3s;
}
.product-card:hover .card-img-wrap img { transform: translateY(-4px) scale(1.04); }

.card-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.card-price-per {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.card-price-per span { font-size: 0.85rem; font-weight: 400; color: #999; }
.card-total { font-size: 1rem; margin-bottom: 6px; color: #666; }
.card-total strong { font-size: 1.2rem; color: var(--primary-dark); font-weight: 700; }
.card-save {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.card-shipping { font-size: 0.82rem; color: #777; margin-bottom: 18px; font-weight: 700; }

.card-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 14px rgba(122, 44, 16, 0.30);
}
.card-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(122, 44, 16, 0.42);
}

/* Pulse animation on featured CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 3px 14px rgba(200, 130, 26, 0.35); }
  50% { box-shadow: 0 6px 30px rgba(200, 130, 26, 0.65); }
}
.pulse { animation: pulse 2s ease-in-out infinite; }

/* ===== GUARANTEE BOX ===== */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #fff8ec, #faf0e0);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 36px;
  max-width: 680px;
  margin: 0 auto 36px;
}
.guarantee-seal {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}
.guarantee-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.guarantee-text p { font-size: 0.92rem; color: #6a4a28; }

/* ===== TRUST BADGES ===== */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.trust-item img { width: 44px; height: 44px; object-fit: contain; }
.trust-item span { font-size: 0.78rem; font-weight: 700; color: #6a4a28; letter-spacing: 0.5px; text-transform: uppercase; }

/* ===== RECIPES SECTION ===== */
.recipes-section {
  padding: 80px 0 90px;
  background: var(--bg);
  position: relative;
}
.recipes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-main);
}
.recipes-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0.3;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.recipe-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid rgba(200, 130, 26, 0.14);
}
.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.recipe-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.recipe-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.recipe-card:hover .recipe-img-wrap img { transform: scale(1.06); }
.recipe-time {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(90, 30, 5, 0.86), transparent);
  color: rgba(255,255,255,0.94);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 10px 14px 10px;
  text-transform: uppercase;
}

.recipe-body {
  padding: 24px 22px 26px;
}
.recipe-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}
.recipe-desc {
  font-size: 0.92rem;
  color: #6a4a28;
  margin-bottom: 18px;
  line-height: 1.7;
}

.recipe-toggle-btn {
  display: inline-block;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  font-family: var(--font-sans);
}
.recipe-toggle-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* Recipe Details (hidden by default) */
.recipe-details {
  display: none;
  margin-top: 20px;
  border-top: 2px solid rgba(200, 130, 26, 0.20);
  padding-top: 20px;
}
.recipe-details.active { display: block; }

.recipe-section { margin-bottom: 18px; }
.recipe-section h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.recipe-section ul {
  list-style: disc;
  padding-left: 20px;
}
.recipe-section ul li, .recipe-section ol li {
  font-size: 0.9rem;
  color: #4a3020;
  margin-bottom: 6px;
  line-height: 1.65;
}
.recipe-section ol {
  padding-left: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gradient-main);
  color: rgba(255,255,255,0.82);
  padding: 56px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.footer-brand .logo-icon { font-size: 1.8rem; }
.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.footer-brand .logo-text em { color: #ffe0a0; }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.50);
  font-style: italic;
  margin-top: 6px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s;
}
.footer-links a:hover { color: #ffe0a0; }

.footer-company {
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding: 20px 0;
  margin-bottom: 20px;
}
.footer-company p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  margin-bottom: 4px;
}
.footer-company a { color: #ffe0a0; text-decoration: underline; }

.footer-disclaimer {
  background: rgba(0,0,0,0.22);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.footer-disclaimer p {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.footer-bottom {
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.38); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .products-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .recipes-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured { transform: scale(1); }
  .product-card.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 768px) {
  html { font-size: 17px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { min-height: 75vh; }
  .hero-h1 { font-size: 2.1rem; }
  .recipes-grid { grid-template-columns: 1fr; }
  .guarantee-box { flex-direction: column; text-align: center; padding: 24px 20px; }
  .footer-top { flex-direction: column; }
  .trust-badges { gap: 20px; }
  .hero-deco { display: none; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .hero-h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
}
