/* ============================================
   FroZella — Frozen Food. From Egypt to the World.
   Identity: Burgundy #7b1738 · Cream #faf7f2 · Charcoal #2b2b2b
   ============================================ */

:root {
  --burgundy: #7b1738;
  --burgundy-dark: #5a1129;
  --burgundy-light: #9d2a52;
  --cream: #faf7f2;
  --cream-dark: #f0ebe3;
  --charcoal: #2b2b2b;
  --gray: #6b6b6b;
  --white: #ffffff;
  --gold: #c9a227;
  
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --container: 1200px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.section-pad { padding-block: var(--section-pad); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 1.25rem;
}

.eyebrow span {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.eyebrow.light { color: var(--cream); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--burgundy);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-heading p:last-child {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 42ch;
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2rem;
  transition: all 0.35s var(--ease);
  border: 2px solid transparent;
}

.button span { transition: transform 0.35s var(--ease); }
.button:hover span { transform: translate(3px, -3px); }

.button-light {
  background: var(--cream);
  color: var(--burgundy);
}
.button-light:hover {
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.button-primary {
  background: var(--burgundy);
  color: var(--white);
}
.button-primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 23, 56, 0.3);
}

.button-outline {
  border-color: var(--cream);
  color: var(--cream);
  background: transparent;
}
.button-outline:hover {
  background: var(--cream);
  color: var(--burgundy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease);
}
.text-link:hover { gap: 0.75rem; }
.text-link span { transition: transform 0.3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

.burgundy-link { color: var(--burgundy); }
.light-link { color: var(--cream); }

.topbar {
  background: var(--burgundy);
  color: var(--cream);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar a {
  opacity: 0.9;
  transition: opacity 0.2s;
}
.topbar a:hover { opacity: 1; }

.top-divider {
  margin-inline: 0.75rem;
  opacity: 0.4;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 23, 56, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 2rem;
}

.brand svg { height: 52px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding-block: 0.25rem;
}

.main-nav > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width 0.3s var(--ease);
}

.main-nav > a:hover::after { width: 100%; }

.nav-cta {
  background: var(--burgundy);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--burgundy-dark); }

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--burgundy);
  padding: 0.25rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4a0e24 0%, #7b1738 50%, #2b0a16 100%);
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1571771894821-ce9b6c11b08e?w=1920&q=80') center/cover;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(43,10,22,0.85) 0%, rgba(43,10,22,0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { color: #e8c9d4; }

.hero-copy {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.note-line {
  width: 3rem;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.hero-index {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}

.index-rule {
  width: 4rem;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.intro { background: var(--white); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.intro-text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.products { background: var(--cream); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(123, 23, 56, 0.12);
}

.product-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43,10,22,0.3), transparent 60%);
}

.product-fruit .product-img { background-image: url('https://images.unsplash.com/photo-1571771894821-ce9b6c11b08e?w=600&q=80'); }
.product-veg .product-img { background-image: url('https://images.unsplash.com/photo-1540420773420-3366772f4999?w=600&q=80'); }
.product-mix .product-img { background-image: url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=600&q=80'); }
.product-potato .product-img { background-image: url('https://images.unsplash.com/photo-1518977676601-b53f82aba655?w=600&q=80'); }

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--burgundy-light);
}

.product-card h3 { font-size: 1.25rem; }

.product-card-body > p {
  font-size: 0.9rem;
  color: var(--gray);
  flex: 1;
}

.card-arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
  margin-top: 0.5rem;
}

.small-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  font-style: italic;
}

.export {
  background: var(--burgundy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.export::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.export-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.export h2 { color: var(--white); }
.export h2 em { color: #e8c9d4; }

.export-copy > p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.export-image {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  background: url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=800&q=80') center/cover;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.image-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--white);
  background: rgba(43,10,22,0.6);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
}

.check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.market { background: var(--white); }

.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.market-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--cream-dark);
  transition: all 0.35s var(--ease);
}

.market-card:hover {
  border-color: var(--burgundy);
  box-shadow: 0 8px 24px rgba(123, 23, 56, 0.08);
}

.market-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.market-card h3 { margin-bottom: 0.5rem; }
.market-card p { font-size: 0.92rem; color: var(--gray); margin-bottom: 1rem; }
.market-card .eyebrow { font-size: 0.65rem; margin-bottom: 0.4rem; }

.quality { background: var(--cream); }

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.quality-lead {
  color: var(--gray);
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.quality-points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quality-point {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.quality-point:first-child { padding-top: 0; }

.quality-point > span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy-light);
  flex-shrink: 0;
  width: 2.5rem;
}

.quality-point h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.quality-point p { font-size: 0.92rem; color: var(--gray); }

.about {
  background: var(--charcoal);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(123,23,56,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.about-mark svg {
  height: 140px;
  width: auto;
  opacity: 0.9;
}

.about h2 { color: var(--white); }
.about h2 em { color: #e8c9d4; }

.about p {
  color: rgba(255,255,255,0.75);
  margin-block: 1.5rem;
  max-width: 56ch;
  font-size: 1.05rem;
}

.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-grid > div > p {
  color: var(--gray);
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background: var(--white);
}

.quote-form textarea { resize: vertical; min-height: 100px; }

.form-hint {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
}

.site-footer {
  background: var(--burgundy-dark);
  color: var(--cream);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand svg { height: 44px; width: auto; }

.footer-top > p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}

.footer-bottom a { opacity: 0.8; }
.footer-bottom a:hover { opacity: 1; }

.lang-toggle {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  background: var(--burgundy);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(123,23,56,0.35);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.lang-toggle:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
}

[dir="rtl"] body { text-align: right; }
[dir="rtl"] .eyebrow span { order: 2; }
[dir="rtl"] .text-link:hover span { transform: translateX(-4px); }
[dir="rtl"] .hero-shade {
  background: linear-gradient(to left, rgba(43,10,22,0.85) 0%, rgba(43,10,22,0.4) 60%, transparent 100%);
}
[dir="rtl"] .hero-index { right: auto; left: 2rem; }
[dir="rtl"] .lang-toggle { left: auto; right: 1.5rem; }
[dir="rtl"] .check-list li::before { order: 2; }
[dir="rtl"] .check-list li { flex-direction: row-reverse; justify-content: flex-end; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading p:last-child { justify-self: start; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.4s var(--ease);
    z-index: 99;
  }
  
  .main-nav.open { right: 0; }
  .nav-cta { text-align: center; }
  
  .intro-grid,
  .export-grid,
  .quality-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .market-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .hero-index { display: none; }
  .footer-top { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; gap: 0.25rem; text-align: center; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) forwards;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

