:root {
  --primary-color: #1a3a52;
  --secondary-color: #7fb3d5;
  --accent-color: #f4a261;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-light: #faf8f3;
  --bg-cream: #f5ebe0;
  --nav-color: #ffffff;
  --nav-hover-color: #f4a261;
  --footer-bg: #1a3a52;
  --footer-text: #ffffff;
}

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

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

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

h1 {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h2 {
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

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

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

.navbar {
  background: var(--primary-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-link:focus,
.logo-link:active {
  outline: none !important;
  box-shadow: none !important;
}

.logo {
  min-height: 30px;
  height: auto;
  width: auto;
  max-width: 100px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  background: transparent;
  transition: opacity 0.3s ease;
}

.logo:hover {
  .8;
}

.brand-title,
.nav-brand h1,
.nav-brand .brand-name,
.nav-brand span:not(.mobile-toggle span) {
  display: none !important;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}

.nav-menu a {
  color: var(--nav-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-toggle svg {
  color: var(--nav-color);
  transition: color 0.3s ease;
}

.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.phone-header-btn svg {
  color: var(--nav-color);
  transition: color 0.3s ease;
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 82, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  max-width: 800px;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--text-light) !important;
}

.hero-subtitle {
  font-size: 24px !important;
  font-weight: 500 !important;
  margin-bottom: 1rem !important;
  color: var(--text-light) !important;
}

.hero-description {
  font-size: 18px !important;
  margin-bottom: 2rem !important;
  color: var(--text-light) !important;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: #e89451;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

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

section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.section-label {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 30px 20px;
}

.section-header p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.story-section {
  background: var(--bg-cream);
  padding: 30px 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 30px 20px;
}

.story-text h2 {
  margin-top: 1rem;
}

.story-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-icon {
  font-size: 24px;
}

.story-image img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.menu-preview {
  padding: 30px 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.menu-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.menu-card-image {
  height: 250px;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.05);
}

.menu-card-content {
  padding: 24px;
}

.menu-tag {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 0.5rem;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.experience-section {
  background: var(--bg-cream);
  padding: 30px 0;
}

.experience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 30px 20px;
}

.experience-image img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

.testimonials-section {
  padding: 30px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 20px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #555;
}

.testimonial-author strong {
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: #999;
  font-size: 14px;
}

.cta-section {
  position: relative;
  background: var(--primary-color);
  padding: 30px 0;
  text-align: center;
  color: var(--text-light);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 82, 0.8);
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
}

.cta-content h2 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  background: var(--primary-color);
  padding: 30px 0;
  text-align: center;
  color: var(--text-light);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 82, 0.9);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
}

.page-hero h1 {
  color: var(--text-light) !important;
}

.page-hero p {
  color: var(--text-light);
  font-size: 18px;
}

.menu-full {
  padding: 30px 0;
}

.menu-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 30px 20px;
}

.menu-category {
  margin-bottom: 4rem;
}

.menu-category h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
}

.menu-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item-image {
  height: 200px;
  overflow: hidden;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-details {
  padding: 20px;
}

.menu-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 0.5rem;
}

.menu-note {
  background: var(--bg-cream);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.about-story {
  padding: 30px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 30px 20px;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.values-section {
  background: var(--bg-cream);
  padding: 30px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

.process-section {
  padding: 30px 0;
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 30px 20px;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.team-section {
  background: var(--bg-cream);
  padding: 30px 0;
}

.team-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 20px;
}

.contact-section {
  padding: 30px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 30px 20px;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.contact-icon i {
  font-size: 20px;
  color: var(--text-dark);
}

.contact-text h3 {
  margin-bottom: 0.5rem;
}

.contact-text a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--accent-color);
}

.contact-form-wrapper h2 {
  margin-bottom: 1.5rem;
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

.map-section {
  background: var(--bg-cream);
  padding: 30px 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-placeholder {
  background: white;
  border-radius: 12px;
  padding: 60px 20px;
  text-align: center;
  color: #999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 30px 0;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-color);
  color: var(--text-dark);
  transform: translateY(-3px);
}

.whatsapp-float {
  display: none;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: flex;
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: #25d366;
    color: white;
    text-decoration: none;
  }
  
  html[lang="he"] .whatsapp-float,
  html[lang="ar"] .whatsapp-float,
  html[dir="rtl"] .whatsapp-float {
    right: 20px;
    left: auto;
  }
  
  html[lang="en"] .whatsapp-float,
  html[lang="es"] .whatsapp-float,
  html[lang="fr"] .whatsapp-float,
  html[dir="ltr"] .whatsapp-float {
    left: 20px;
    right: auto;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px !important;
  }
  
  h2 {
    font-size: 22px !important;
  }
  
  h3 {
    font-size: 18px !important;
  }
  
  p {
    font-size: 14px !important;
  }
  
  section {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .nav-container {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  .mobile-toggle,
  .phone-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  
  html[dir="ltr"] .mobile-toggle,
  html[lang="en"] .mobile-toggle,
  html[lang="es"] .mobile-toggle,
  html[lang="fr"] .mobile-toggle {
    left: 15px;
    right: auto;
  }
  
  html[dir="ltr"] .phone-header-btn,
  html[lang="en"] .phone-header-btn,
  html[lang="es"] .phone-header-btn,
  html[lang="fr"] .phone-header-btn {
    right: 15px;
    left: auto;
  }
  
  html[dir="rtl"] .mobile-toggle,
  html[lang="he"] .mobile-toggle,
  html[lang="ar"] .mobile-toggle {
    right: 15px;
    left: auto;
  }
  
  html[dir="rtl"] .phone-header-btn,
  html[lang="he"] .phone-header-btn,
  html[lang="ar"] .phone-header-btn {
    left: 15px;
    right: auto;
  }
  
  .nav-brand {
    margin: 0 auto;
    justify-content: center;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-color);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 1.5rem;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    overflow-y: auto;
  }
  
  html[dir="ltr"] .nav-menu,
  html[lang="en"] .nav-menu,
  html[lang="es"] .nav-menu,
  html[lang="fr"] .nav-menu {
    right: auto;
    left: 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .logo {
    min-height: 30px;
    max-width: 100px;
    max-height: 40px;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-content {
    padding: 30px 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .story-content,
  .experience-content,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .menu-grid,
  .menu-items-grid,
  .testimonials-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-stats {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .process-number {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .logo {
    min-height: 30px;
    max-width: 100px;
    max-height: 40px;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .btn {
    padding: 12px 24px;
  }
}
/* CRITICAL: Ensure images are visible immediately (but don't interfere with accessibility toolbar) */
img, picture, figure {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Legal Footer Styles */

    /* Legal Footer Styles - WCAG AA Compliant */
    .legal-footer {
      background-color: #2c3e50;
      color: #ffffff;
      padding: 20px 0;
      font-size: 14px;
      border-top: 3px solid #3498db;
    }

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

    .legal-footer .footer-main {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .legal-footer .all-rights-reserved {
      flex: 1;
      min-width: 200px;
    }

    .legal-footer .all-rights-reserved p {
      margin: 0;
    }

    .legal-footer .zappy-attribution {
      text-align: center;
      width: 100%;
      padding-top: 15px;
      border-top: 1px solid #ffffff;
      opacity: 0.3;
    }

    .legal-footer .zappy-attribution p {
      margin: 0;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.6);
      font-style: italic;
    }

    .legal-footer .footer-social {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
      flex-shrink: 0;
    }

    .legal-footer .footer-social a {
      color: #ffffff !important;
      text-decoration: none;
      font-size: 22px;
      transition: color 0.3s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.1);
    }

    .legal-footer .footer-social a:hover {
      color: #3498db !important;
      transform: scale(1.15);
      background-color: rgba(255, 255, 255, 0.2);
    }

    .legal-footer .footer-social a:focus {
      outline: 2px solid #3498db;
      outline-offset: 2px;
      border-radius: 50%;
    }
    
    .legal-footer .footer-social i {
      font-size: 20px;
    }

    .legal-footer .footer-legal {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
      justify-content: flex-end;
    }

    .legal-footer .footer-legal a {
      color: #ffffff !important;
      text-decoration: none;
      transition: color 0.3s ease, opacity 0.3s ease;
      font-weight: 500;
      opacity: 0.9;
    }

    .legal-footer .footer-legal a:hover {
      color: #ffffff !important;
      opacity: 1;
      text-decoration: underline;
    }

    .legal-footer .footer-legal a:focus {
      outline: 2px solid #ffffff;
      outline-offset: 2px;
      border-radius: 2px;
    }

    .legal-footer .separator {
      color: #ffffff !important;
      font-weight: 300;
      opacity: 0.7;
    }

    /* Responsive Design */
    @media (max-width: 968px) {
      .legal-footer .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 20px;
      }

      .legal-footer .all-rights-reserved {
        width: 100%;
        text-align: center;
      }

      .legal-footer .footer-social {
        justify-content: center;
        order: 2;
      }

      .legal-footer .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        order: 3;
      }
    }

    @media (min-width: 969px) {
      .legal-footer .footer-main {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: baseline;
        gap: 30px;
      }

      .legal-footer .all-rights-reserved {
        text-align: left;
        justify-self: start;
      }

      .legal-footer .footer-social {
        justify-self: center;
      }

      .legal-footer .footer-legal {
        justify-self: end;
        text-align: right;
      }
    }

    /* RTL adjustments */
    [dir="rtl"] .legal-footer .all-rights-reserved {
      text-align: right;
    }

    [dir="rtl"] .legal-footer .footer-legal {
      text-align: left;
    }

    @media (min-width: 969px) {
      [dir="rtl"] .legal-footer .all-rights-reserved {
        text-align: right;
        justify-self: end;
      }

      [dir="rtl"] .legal-footer .footer-legal {
        justify-self: start;
        text-align: left;
      }
    }

    /* RTL Support for Hebrew */
    [dir="rtl"] .legal-footer .footer-main {
      direction: rtl;
    }

    [dir="rtl"] .legal-footer .footer-legal {
      direction: rtl;
    }
    

/* Cookie Consent Styles */

/* Cookie Consent Customizations */
:root {
  --cc-btn-primary-bg: #3b82f6;
  --cc-btn-primary-border: #3b82f6;
  --cc-btn-primary-hover-bg: #2269dd;
}

#cc--main {
  font-family: inherit !important;
}

.cc-btn.cc--btn-primary {
  background-color: var(--cc-btn-primary-bg) !important;
  border-color: var(--cc-btn-primary-border) !important;
}

.cc-btn.cc--btn-primary:hover {
  background-color: var(--cc-btn-primary-hover-bg) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #cc--main .cc__btn {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  
  .cc__modal .cc__modal-content {
    margin: 10px !important;
  }
}

/* Cookie preferences button in footer */
.cookie-preferences-btn:hover {
  text-decoration: none !important;
}

/* Accessibility Styles */

/* Basic Accessibility Enhancements */
:root {
  --accessibility-focus: #1a3a52;
}

/* Skip link styles */
.skip-link:focus {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  background: #000 !important;
  color: white !important;
  padding: 8px !important;
  text-decoration: none !important;
  z-index: 10000 !important;
  border-radius: 4px !important;
}

/* Enhanced focus indicators */
*:focus {
  outline: 2px solid var(--accessibility-focus) !important;
  outline-offset: 2px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  * {
    border-color: currentColor !important;
  }
}

/* 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;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Custom Accessibility Toolbar Styling - Zappy Style */

/* Main button icon - ONLY target the floating button, not menu elements */
#mic-access-tool-general-button {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* AGGRESSIVELY hide all text in the button */
#mic-access-tool-general-button,
#mic-access-tool-general-button *:not(svg):not(path):not(circle):not(rect):not(polygon):not(ellipse):not(line):not(polyline):not(g) {
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  line-height: 0 !important;
  letter-spacing: -999em !important;
  white-space: nowrap !important;
}

/* Hide text nodes specifically */
#mic-access-tool-general-button::before,
#mic-access-tool-general-button::after {
  content: none !important;
  display: none !important;
}

/* Hover state - keep text hidden */
#mic-access-tool-general-button:hover {
  background-color: rgba(26, 58, 82, 0.1) !important;
  background: rgba(26, 58, 82, 0.1) !important;
  box-shadow: 0 2px 8px rgba(26, 58, 82, 0.2) !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
}

/* Target the SVG and make it the selected color */
#mic-access-tool-general-button svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  /* Convert green to selected color using dynamic CSS filter */
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
}

/* Also directly target all SVG elements to be the selected color */
#mic-access-tool-general-button svg,
#mic-access-tool-general-button svg *,
#mic-access-tool-general-button svg path,
#mic-access-tool-general-button svg circle,
#mic-access-tool-general-button svg rect,
#mic-access-tool-general-button svg polygon,
#mic-access-tool-general-button svg ellipse,
#mic-access-tool-general-button svg line,
#mic-access-tool-general-button svg polyline,
#mic-access-tool-general-button svg g {
  fill: #1a3a52 !important;
  stroke: #1a3a52 !important;
  color: #1a3a52 !important;
}

/* Target images if the icon is an img instead of SVG */
#mic-access-tool-general-button img,
#mic-access-tool-general-button i {
  width: 18px !important;
  height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* Convert green to selected color using dynamic filter */
  filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(0deg) brightness(100%) contrast(100%) !important;
}

/* Menu header with selected color */
#mic-access-tool-box .mic-access-tool-box-header,
.mic-access-tool-box-header,
div[id*="mic-access-tool-box"] header,
div[id*="mic-access-tool-box"] .header {
  background: #1a3a52 !important;
  color: white !important;
}

/* Make header text white - title and close button */
#mic-access-tool-box .mic-access-tool-box-header *,
.mic-access-tool-box-header *,
div[id*="mic-access-tool-box"] header *,
div[id*="mic-access-tool-box"] .header * {
  color: white !important;
}

/* Close button text */
#mic-access-tool-box .mic-access-tool-box-header button,
#mic-access-tool-box .mic-access-tool-box-header a,
#mic-access-tool-box [class*="close"],
#mic-access-tool-box button[title*="close"],
#mic-access-tool-box button[title*="Close"] {
  color: white !important;
  background: transparent !important;
}

/* Active buttons and highlights in menu */
#mic-access-tool-box button.active,
#mic-access-tool-box button:hover,
div[id*="mic-access-tool-box"] button.active,
div[id*="mic-access-tool-box"] button:hover {
  border-color: #1a3a52 !important;
  color: #1a3a52 !important;
  background-color: rgba(26, 58, 82, 0.1) !important;
}

/* Reset button */
#mic-access-tool-box button[title*="reset"],
#mic-access-tool-box button[title*="Reset"],
#mic-access-tool-box [class*="reset"],
div[id*="mic-access-tool-box"] button[class*="reset"] {
  background: #1a3a52 !important;
  color: white !important;
}

/* Reset button text and icon */
#mic-access-tool-box button[title*="reset"] *,
#mic-access-tool-box button[title*="Reset"] *,
#mic-access-tool-box [class*="reset"] *,
div[id*="mic-access-tool-box"] button[class*="reset"] * {
  color: white !important;
}