/* KosherFood-SOS Styles */
/* Color Palette:
   Primary Blue (Israeli): #0038B8
   Secondary Navy: #1E3A5F
   Accent Gold: #C9A227
   Emergency Red: #8B2635
   Dark: #2D2D2D
   Light: #F5F3EE
*/

:root {
  --primary: #0038B8;
  --primary-light: #1A4FC9;
  --navy: #1E3A5F;
  --gold: #C9A227;
  --gold-light: #D4A84B;
  --red: #8B2635;
  --dark: #2D2D2D;
  --light: #F5F3EE;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.hebrew {
  font-family: 'Segoe UI', 'Arial Hebrew', Arial, sans-serif;
  direction: rtl;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 56, 184, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 56, 184, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 60px;
  flex-shrink: 1;
  min-width: 0;
}

.logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #001F5C 100%);
  color: var(--white);
  padding: 160px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-pattern.png') repeat;
  background-size: 100px 100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.15);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(5px);
}

.badge-icon {
  font-size: 1.2rem;
}

/* Sections */
section {
  padding: 80px 20px;
}

.section-light {
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
}

.feature-card h3 {
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--gray);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--red);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-content {
  padding: 30px;
}

.product-content h3 {
  margin-bottom: 10px;
}

.product-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  margin-bottom: 20px;
}

.product-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.product-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* Industries Section */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.industry-item {
  background: var(--white);
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: all 0.3s;
  border: 2px solid transparent;
}

.industry-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.industry-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.industry-item h4 {
  font-size: 0.95rem;
  color: var(--dark);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--dark);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}

.about-badge .label {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Certification Section */
.certification-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cert-logo {
  width: 150px;
  height: 150px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 4px solid var(--navy);
}

.cert-logo span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
}

.cert-text {
  max-width: 500px;
}

.cert-text h2 {
  margin-bottom: 20px;
}

.cert-text p {
  color: var(--gray);
  margin-bottom: 15px;
}

.cert-text .hebrew-quote {
  font-size: 1.3rem;
  color: var(--navy);
  font-style: italic;
  margin-top: 20px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2 {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-item p, .contact-item a {
  color: var(--gray);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Quote Form */
.quote-form {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.quote-form h3 {
  margin-bottom: 25px;
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

.form-submit .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
  /*filter: brightness(0) invert(1);*/
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1rem;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2540 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
  }

  .logo {
    height: auto;
    max-height: 50px;
    flex: 1;
    max-width: calc(100% - 50px);
  }

  .logo img {
    height: auto;
    max-height: 50px;
    width: 100%;
    max-width: 280px;
  }

  .mobile-menu-btn {
    display: block !important;
    flex-shrink: 0;
    padding: 5px 10px;
    font-size: 1.8rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .certification-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-olive { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Form Success/Error States */
.form-message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background: #D4EDDA;
  color: #155724;
  border: 1px solid #C3E6CB;
  display: block;
}

.form-message.error {
  background: #F8D7DA;
  color: #721C24;
  border: 1px solid #F5C6CB;
  display: block;
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
