
/* ===== PRODUCT CARDS ===== */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  position: relative;
  overflow: hidden;
}

.product-img img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.product-info {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: var(--space-2);
}

.product-info .weight {
  font-size: 0.85rem;
  color: var(--primary-500);
  margin-bottom: var(--space-2);
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.product-info .ean {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ============================================
   F.LLI ORLANDO S.R.L. - COMPLETE DESIGN SYSTEM
   Premium Seafood Website - 2025
   ============================================ */

/* ===== CSS VARIABLES (Design Tokens) ===== */
:root {
  /* Primary Palette - Deep Ocean */
  --primary-900: #061520;
  --primary-800: #0A1F2E;
  --primary-700: #0D2D42;
  --primary-600: #1A3A52;
  --primary-500: #1A9AAA;
  --primary-400: #2DB5C7;
  --primary-300: #5ECDD9;
  --primary-200: #A0E4EC;
  --primary-100: #E0F7FA;

    --gold-500: #D4AF37;
  --gold-400: #E0C158;
  --gold-300: #ECD478;
  --gold-600: #B8942A;
  --gold-700: #8C6F1F;

  /* Neutral Scale */
  --white: #FFFFFF;
  --gray-50: #F8FAFB;
  --gray-100: #EEF2F5;
  --gray-200: #DDE4EA;
  --gray-300: #B8C4CE;
  --gray-400: #8A9AA8;
  --gray-500: #5E6E7C;
  --gray-600: #4A5560;
  --gray-700: #3A444D;
  --gray-800: #2A323A;
  --gray-900: #1A2026;

  /* Semantic Colors */
  --text: var(--gray-800);
  --text-light: var(--gray-500);
  --text-muted: var(--gray-400);
  --bg: var(--gray-50);
  --bg-white: var(--white);
  --border: var(--gray-200);
  --border-light: var(--gray-100);

  /* Shadows - Layered Depth */
  --shadow-xs: 0 1px 2px rgba(6,21,32,0.04);
  --shadow-sm: 0 2px 8px rgba(6,21,32,0.06);
  --shadow-md: 0 4px 16px rgba(6,21,32,0.08);
  --shadow-lg: 0 8px 30px rgba(6,21,32,0.10);
  --shadow-xl: 0 12px 40px rgba(6,21,32,0.14);
  --shadow-gold: 0 4px 20px rgba(212,175,55,0.25);
  --shadow-glow: 0 0 30px rgba(26,154,170,0.20);

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;

  /* Layout */
  --header-height: 70px;
  --max-width: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-800);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--gold-500));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-800);
}

.logo img {
  height: 40px;
  width: auto;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

nav a {
  padding: var(--space-2) var(--space-3);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-800);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  display: block;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

nav a:hover {
  color: var(--primary-500);
  background: var(--primary-100);
}

nav a.active {
  color: var(--primary-500);
  background: var(--primary-100);
}

/* Language Selector */
.lang-select {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.lang-select:hover {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-sm);
}

/* ===== HERO SECTION ===== */


/* ===== PROFESSIONAL HERO ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-700) 50%, var(--primary-600) 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: var(--space-8);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: var(--primary-300);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
  animation: fadeInUp 1s var(--ease-out) 0.4s both;
}

.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-8);
  animation: fadeInUp 0.8s var(--ease-out) 0.9s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
  animation: fadeInUp 0.8s var(--ease-out) 1.1s both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-10);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 1.4s both;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: var(--space-2);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-grid > *:nth-child(1) { transition-delay: 0ms; }
.stagger-grid > *:nth-child(2) { transition-delay: 60ms; }
.stagger-grid > *:nth-child(3) { transition-delay: 120ms; }
.stagger-grid > *:nth-child(4) { transition-delay: 180ms; }
.stagger-grid > *:nth-child(5) { transition-delay: 240ms; }
.stagger-grid > *:nth-child(6) { transition-delay: 300ms; }

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== BUBBLES IN HERO ===== */
/* ===== GOLD PARTICLES ===== */
/* ===== DECORATIVE WAVE DIVIDER ===== */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  nav {
    display: none;
  }

  .hero-stats {
    gap: var(--space-6);
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== BUTTONS ===== */
/* Buttons with high visibility */
a.btn-primary,
button.btn-primary,
.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 32px !important;
  background: linear-gradient(135deg, #1A9AAA, #2DB5C7) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(26,154,170,0.4) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

a.btn-primary:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #2DB5C7, #1A9AAA) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(26,154,170,0.5) !important;
}

a.btn-secondary,
button.btn-secondary,
.btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 32px !important;
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

a.btn-secondary:hover,
.btn-secondary:hover {
  background: rgba(255,255,255,0.2) !important;
  border-color: rgba(255,255,255,0.5) !important;
  transform: translateY(-2px) !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A1F2E 0%, #0D2D42 40%, #0D3B4C 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: #5ECDD9;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-italy-badge {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-stats {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.counter-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #D4AF37;
  display: block;
}

.counter-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== HISTORY SECTION ===== */
.history-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.history-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--gold-500), var(--primary-500));
}

.section-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.history-slogan {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-600);
  margin-bottom: var(--space-4);
  text-align: center;
}

.history-intro {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto var(--space-10);
  text-align: center;
  color: var(--text);
  line-height: 1.7;
}

.history-intro strong {
  color: var(--primary-500);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto var(--space-12);
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: linear-gradient(180deg, var(--primary-500), var(--gold-500), var(--primary-500));
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(26,154,170,0.35);
  z-index: 1;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
  padding-left: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--gold-500);
  box-shadow: 0 0 0 5px rgba(212,175,55,0.2), 0 0 15px rgba(212,175,55,0.4);
  z-index: 2;
}

.timeline-item:first-child::before {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(26,154,170,0.15), 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-item:last-child::before {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(26,154,170,0.15), 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-500);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.timeline-text {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.timeline-text strong {
  color: var(--primary-600);
  font-weight: 600;
}

/* ===== CERTIFICATIONS ===== */
.cert-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}

.cert-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.cert-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-300);
}

.cert-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: var(--space-3);
}

.cert-box p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.cert-logos {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.cert-logos img {
  height: 50px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.cert-logos img:hover {
  opacity: 1;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
