/* Nutriêde Cozinha Industrial - Custom Styles */

/* ====================================
   CUSTOM PROPERTIES & VARIABLES
==================================== */
:root {
  /* Brand Colors */
  --nutriede-orange-primary: #f97316;
  --nutriede-orange-secondary: #ea580c;
  --nutriede-red-accent: #dc2626;
  --nutriede-yellow-accent: #fbbf24;
  
  /* Neutral Colors */
  --nutriede-gray-50: #f9fafb;
  --nutriede-gray-100: #f3f4f6;
  --nutriede-gray-200: #e5e7eb;
  --nutriede-gray-600: #4b5563;
  --nutriede-gray-800: #1f2937;
  --nutriede-gray-900: #111827;
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 30px rgba(249, 115, 22, 0.3);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ====================================
   GLOBAL STYLES
==================================== */
* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--nutriede-gray-800);
  background-color: var(--nutriede-gray-50);
}

/* ====================================
   TYPOGRAPHY ENHANCEMENTS
==================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--nutriede-orange-primary), var(--nutriede-orange-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ====================================
   CUSTOM ANIMATIONS
==================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s var(--transition-normal) both;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s var(--transition-normal) both;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s var(--transition-normal) both;
}

.animate-pulse-gentle {
  animation: pulse 2s infinite;
}

.animate-bounce-gentle {
  animation: bounce 2s infinite;
}

/* ====================================
   GLASSMORPHISM EFFECTS
==================================== */

/* Glass effect for hero buttons */
.btn-glass {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #1f2937;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-glass:hover::before {
  left: 100%;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #1f2937;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.1);
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

/* ====================================
   SECTION DIVIDERS WITH ANIMATED SHADOWS
==================================== */

.section-divider {
  position: relative;
  margin: 4rem 0;
  height: 60px;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--nutriede-orange-primary), 
    var(--nutriede-orange-secondary),
    transparent
  );
  transform: translate(-50%, -50%);
  animation: shadowFlow 3s ease-in-out infinite;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 30px;
  background: radial-gradient(ellipse, 
    rgba(249, 115, 22, 0.3) 0%, 
    rgba(249, 115, 22, 0.1) 50%, 
    transparent 70%
  );
  transform: translate(-50%, -50%);
  filter: blur(10px);
  animation: shadowPulse 2s ease-in-out infinite alternate;
}

@keyframes shadowFlow {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scaleX(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1.5);
  }
}

@keyframes shadowPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.6;
  }
}

/* ====================================
   COMPONENT STYLES
==================================== */

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--nutriede-orange-primary), var(--nutriede-orange-secondary));
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  border: 2px solid var(--nutriede-orange-primary);
  color: #22c55e;
  background: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background: var(--nutriede-orange-primary);
  color: white;
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--nutriede-gray-200);
}

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

.card-gradient {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.1));
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Service Icons */
.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-normal);
}

.service-icon:hover {
  transform: scale(1.1);
}

/* ====================================
   FORM ENHANCEMENTS
==================================== */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--nutriede-gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--nutriede-gray-800);
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ====================================
   HEADER ENHANCEMENTS
==================================== */
.header-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-link {
  position: relative;
  color: var(--nutriede-gray-600);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #22c55e;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nutriede-orange-primary);
  transition: width var(--transition-normal);
}

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

/* ====================================
   MOBILE MENU
==================================== */
.mobile-menu {
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mobile-menu-item {
  padding: 1rem;
  border-bottom: 1px solid var(--nutriede-gray-100);
  transition: background-color var(--transition-fast);
}

.mobile-menu-item:hover {
  background-color: var(--nutriede-gray-50);
}

/* ====================================
   HERO SECTION
==================================== */
.hero-gradient {
  background: linear-gradient(135deg, 
    var(--nutriede-orange-primary) 0%, 
    var(--nutriede-orange-secondary) 50%, 
    var(--nutriede-red-accent) 100%
  );
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.hero-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--nutriede-gray-50);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ====================================
   STATISTICS & COUNTERS
==================================== */
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--nutriede-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ====================================
   NOTIFICATION SYSTEM
==================================== */
.notification {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.notification-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification-info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* ====================================
   BACK TO TOP BUTTON
==================================== */
.back-to-top {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--nutriede-orange-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.back-to-top:hover {
  background: var(--nutriede-orange-secondary);
  transform: scale(1.1);
}

/* ====================================
   LOADING STATES
==================================== */
.loading-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.skeleton {
  background: linear-gradient(90deg, 
    var(--nutriede-gray-200) 25%, 
    var(--nutriede-gray-100) 50%, 
    var(--nutriede-gray-200) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

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

/* ====================================
   ACCESSIBILITY ENHANCEMENTS
==================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-outline {
  outline: 2px solid var(--nutriede-orange-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .gradient-text {
    -webkit-text-fill-color: #22c55e;
    color: #22c55e;
  }
}

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

/* ====================================
   PRINT STYLES
==================================== */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  .gradient-text {
    -webkit-text-fill-color: black;
    color: black;
  }
}

/* ====================================
   RESPONSIVE UTILITIES
==================================== */
@media (max-width: 640px) {
  .mobile-hidden {
    display: none;
  }
  
  .mobile-full {
    width: 100%;
  }
  
  .mobile-text-center {
    text-align: center;
  }
}

@media (min-width: 641px) {
  .desktop-hidden {
    display: none;
  }
}

/* ====================================
   NUTRIÊDE CSS LOGO
==================================== */
.nutriede-logo-css {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-primary);
  user-select: none;
}

.nutriede-logo-css .logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nutriede-logo-css .logo-main {
  font-weight: 800;
  background: linear-gradient(135deg, var(--nutriede-orange-primary), var(--nutriede-orange-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #22c55e;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.nutriede-logo-css .logo-subtitle {
  font-size: 0.75rem;
  color: var(--nutriede-gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: -2px;
}

.nutriede-logo-css .logo-accent {
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 2px;
  margin-top: 4px;
  transition: all var(--transition-normal);
}

/* ====================================
   LOGO ANIMATIONS & HOVER EFFECTS
==================================== */

/* Logo hover animation */
.nutriede-logo-css {
  transition: all var(--transition-normal);
  cursor: pointer;
}

.nutriede-logo-css:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 25px rgba(249, 115, 22, 0.25));
}

.nutriede-logo-css:hover .logo-main {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 8px rgba(249, 115, 22, 0.3));
}

.nutriede-logo-css:hover .logo-accent {
  background: linear-gradient(90deg, var(--nutriede-orange-primary), var(--nutriede-orange-secondary));
  transform: scaleX(1.15);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.nutriede-logo-css .logo-main {
  transition: all var(--transition-normal);
}

.nutriede-logo-css .logo-accent {
  transition: all var(--transition-normal);
}

/* Responsive sizes */
.logo-size-xs .logo-main {
  font-size: 1.25rem;
}
.logo-size-xs .logo-accent {
  width: 35px;
}

.logo-size-sm .logo-main {
  font-size: 1.5rem;
}
.logo-size-sm .logo-accent {
  width: 45px;
}

.logo-size-md .logo-main {
  font-size: 2rem;
}
.logo-size-md .logo-accent {
  width: 60px;
}

.logo-size-lg .logo-main {
  font-size: 2.5rem;
}
.logo-size-lg .logo-accent {
  width: 75px;
}

.logo-size-xl .logo-main {
  font-size: 3rem;
}
.logo-size-xl .logo-accent {
  width: 90px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .nutriede-logo-css .logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
  }
  
  .nutriede-logo-css .logo-accent {
    margin-top: 2px;
    height: 2px;
  }
}

/* Dark theme support */
.bg-gray-900 .nutriede-logo-css .logo-subtitle,
.hero-gradient .nutriede-logo-css .logo-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Animation for loading */
.logo-animate {
  animation: logoFadeIn 1s ease-out;
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====================================
   3D CERTIFICATION BADGES
==================================== */
.certification-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 1rem;
  transition: all var(--transition-normal);
}

.certification-badge::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  z-index: -1;
  transition: all var(--transition-normal);
}

.certification-badge:hover {
  transform: translateY(-5px) scale(1.05);
}

.certification-badge:hover::before {
  transform: scale(1.1);
}

/* Individual certification styles */
.cert-pat {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
  box-shadow: 
    0 8px 32px rgba(251, 191, 36, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.cert-pat::before {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  opacity: 0.3;
}

.cert-haccp {
  background: linear-gradient(135deg, #22c55e, #16a34a, #15803d);
  box-shadow: 
    0 8px 32px rgba(34, 197, 94, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.cert-haccp::before {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  opacity: 0.3;
}

.cert-vigilancia {
  background: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8);
  box-shadow: 
    0 8px 32px rgba(59, 130, 246, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.cert-vigilancia::before {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  opacity: 0.3;
}

.cert-anvisa {
  background: linear-gradient(135deg, #a855f7, #9333ea, #7c3aed);
  box-shadow: 
    0 8px 32px rgba(168, 85, 247, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.cert-anvisa::before {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  opacity: 0.3;
}

.certification-badge i {
  color: white;
  font-size: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.certification-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.certification-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.certification-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nutriede-gray-800);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.certification-card p {
  font-size: 0.875rem;
  color: var(--nutriede-gray-600);
  line-height: 1.5;
}

/* ====================================
   3D ROCKET EMOJI EFFECT
==================================== */

.rocket-3d {
  font-size: 2rem;
  display: inline-block;
  margin-right: 0.5rem;
  animation: rocketFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transform-style: preserve-3d;
}

@keyframes rocketFloat {
  0%, 100% {
    transform: translateY(0px) rotateY(0deg);
  }
  25% {
    transform: translateY(-5px) rotateY(5deg);
  }
  50% {
    transform: translateY(-8px) rotateY(0deg);
  }
  75% {
    transform: translateY(-5px) rotateY(-5deg);
  }
}

.rocket-3d:hover {
  animation: rocketBoost 0.6s ease-out;
}

@keyframes rocketBoost {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.1);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

/* ====================================
   RESPONSIVE QUALITY CARDS
==================================== */

.quality-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: fit-content;
  min-height: auto;
}

.quality-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .quality-card {
    padding: 1.25rem;
  }
}

/* ====================================
   KITCHEN AREA IMAGES
==================================== */

.kitchen-image {
  transition: all 0.5s ease;
}

.kitchen-image:hover {
  transform: scale(1.02);
}

.kitchen-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
}

/* Responsive kitchen image grid */
@media (max-width: 768px) {
  .kitchen-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .kitchen-grid > div {
    height: 200px !important;
  }
}

@media (min-width: 1024px) {
  .kitchen-grid > div {
    height: 256px !important;
  }
}

/* ====================================
   ENHANCED CLIENT LOGOS
==================================== */

.client-logo {
  transition: all var(--transition-normal);
  filter: grayscale(10%) opacity(0.9);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  transition: all var(--transition-normal);
  z-index: 1;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(249, 115, 22, 0.2);
}

.client-logo:hover::before {
  background: linear-gradient(45deg, rgba(249, 115, 22, 0.03), rgba(249, 115, 22, 0.08));
}

.client-logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  background: transparent;
  border-radius: 1rem;
  display: block;
  filter: contrast(1.05) saturate(1.05);
  transition: all 0.3s ease;
}

/* ====================================
   FORM NOTIFICATIONS & LOADING STATES
==================================== */

/* Notification animations */
.notification {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.notification.show {
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Form error states */
input.error,
select.error,
textarea.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  background-color: rgba(254, 242, 242, 0.5) !important;
}

/* Loading spinner */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fa-spinner.fa-spin {
  animation: spin 1s linear infinite;
}

/* Button loading state */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success states */
.form-success {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
  background-color: rgba(236, 253, 245, 0.5) !important;
}

/* Force remove any black borders from images */
.client-logo img {
  background: white;
  border: none;
  outline: none;
}

/* Specific fix for A. Yoshii logo */
.client-logo img[alt*="A. Yoshii"] {
  background: white !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Responsive logo sizing for better legibility */

/* Desktop large (1440px+) */
@media (min-width: 1440px) {
  .client-logo img {
    max-height: 280px;
    min-height: 160px;
    padding: 2rem;
  }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .client-logo img {
    max-height: 240px;
    min-height: 140px;
    padding: 1.5rem;
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .client-logo img {
    max-height: 200px;
    min-height: 120px;
    padding: 1.25rem;
  }
}

/* Mobile large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .client-logo img {
    max-height: 180px;
    min-height: 100px;
    padding: 1rem;
  }
  
  .client-logo {
    margin-bottom: 1rem;
  }
}

/* Mobile small (up to 480px) */
@media (max-width: 480px) {
  .client-logo img {
    max-height: 160px;
    min-height: 90px;
    padding: 0.75rem;
  }
  
  .client-logo {
    margin-bottom: 0.75rem;
  }
}

/* ====================================
   DARK MODE SUPPORT (Future)
==================================== */
@media (prefers-color-scheme: dark) {
  .auto-dark {
    --nutriede-gray-50: #1f2937;
    --nutriede-gray-100: #374151;
    --nutriede-gray-200: #4b5563;
    --nutriede-gray-600: #d1d5db;
    --nutriede-gray-800: #f9fafb;
    --nutriede-gray-900: #ffffff;
  }
}