/* =============================================================================
   EFES GRILL ORIGINAL - Website Theme (Compiled CSS)
   ============================================================================= */

:root {
  /* Brand - Warme Doener/Grill-Farben */
  --ef-primary: #E8712E;
  --ef-primary-dark: #C45A1E;
  --ef-primary-light: #F4934E;
  --ef-secondary: #2C1810;
  --ef-secondary-light: #4A2E22;
  --ef-accent: #D4A853;
  --ef-accent-light: #E8C878;

  /* Functional */
  --ef-text: #2C1810;
  --ef-text-muted: #6B5B52;
  --ef-text-light: rgba(255, 255, 255, 0.85);
  --ef-bg: #FFFFFF;
  --ef-bg-light: #FDF8F4;
  --ef-bg-dark: #1A0E08;
  --ef-border: #E8DDD6;

  /* Status */
  --ef-success: #4CAF50;
  --ef-danger: #DC3545;
  --ef-warning: #FFC107;

  /* Spacing scale */
  --ef-space-1: 0.25rem;
  --ef-space-2: 0.5rem;
  --ef-space-3: 0.75rem;
  --ef-space-4: 1rem;
  --ef-space-5: 1.5rem;
  --ef-space-6: 2rem;
  --ef-space-7: 2.5rem;
  --ef-space-8: 3rem;
  --ef-space-10: 4rem;
  --ef-space-12: 5rem;
  --ef-space-16: 8rem;

  /* Typography scale */
  --ef-font-xs: 0.75rem;
  --ef-font-sm: 0.875rem;
  --ef-font-base: 1rem;
  --ef-font-lg: 1.125rem;
  --ef-font-xl: 1.25rem;
  --ef-font-2xl: 1.5rem;
  --ef-font-3xl: 2rem;
  --ef-font-4xl: 2.5rem;
  --ef-font-5xl: 3.5rem;

  /* Effects */
  --ef-radius: 0.75rem;
  --ef-radius-lg: 1.25rem;
  --ef-radius-xl: 1.75rem;
  --ef-shadow: 0 4px 24px rgba(44, 24, 16, 0.08);
  --ef-shadow-lg: 0 12px 48px rgba(44, 24, 16, 0.12);
  --ef-shadow-glow: 0 0 40px rgba(232, 113, 46, 0.15);
  --ef-glass: rgba(255, 255, 255, 0.08);
  --ef-glass-border: rgba(255, 255, 255, 0.12);
  --ef-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   Base Reset & Typography
   ============================================================================= */

.efes-grill-theme {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ef-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Hide Odoo default elements we don't need */
.efes-grill-theme #wrapwrap > header.o_default_snippet_text,
.efes-grill-theme .o_footer_copyright {
  display: none !important;
}

/* =============================================================================
   Section System
   ============================================================================= */

.ef-section {
  padding: var(--ef-space-16) 0;
  position: relative;
}

@media (max-width: 768px) {
  .ef-section {
    padding: var(--ef-space-10) 0;
  }
}

.ef-section-header {
  margin-bottom: var(--ef-space-10);
}

@media (max-width: 768px) {
  .ef-section-header {
    margin-bottom: var(--ef-space-8);
  }
}

/* =============================================================================
   Headings
   ============================================================================= */

.ef-heading-xl {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ef-secondary);
  margin-bottom: var(--ef-space-4);
}

.ef-heading-lg {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ef-secondary);
  margin-bottom: var(--ef-space-4);
}

/* =============================================================================
   Text Utilities
   ============================================================================= */

.ef-text-muted {
  color: var(--ef-text-muted) !important;
}

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

.ef-text-lg {
  font-size: var(--ef-font-lg);
  line-height: 1.7;
}

.ef-text-gradient {
  background: linear-gradient(135deg, var(--ef-primary) 0%, var(--ef-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================================
   Backgrounds
   ============================================================================= */

.ef-bg-dark {
  background: linear-gradient(180deg, var(--ef-bg-dark) 0%, var(--ef-secondary) 100%);
  color: #fff;
}

.ef-bg-dark .ef-heading-xl,
.ef-bg-dark .ef-heading-lg,
.ef-bg-dark h2,
.ef-bg-dark h3,
.ef-bg-dark h4 {
  color: #fff;
}

.ef-bg-light {
  background: var(--ef-bg-light);
}

.ef-bg-gradient {
  background: linear-gradient(135deg, var(--ef-secondary) 0%, var(--ef-bg-dark) 50%, #0D0604 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ef-bg-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(232, 113, 46, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.ef-bg-gradient .ef-heading-xl,
.ef-bg-gradient .ef-heading-lg,
.ef-bg-gradient h2,
.ef-bg-gradient h3,
.ef-bg-gradient h4 {
  color: #fff;
}

/* =============================================================================
   Badge
   ============================================================================= */

.ef-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 1.2em;
  font-size: var(--ef-font-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ef-primary-dark);
  background: rgba(232, 113, 46, 0.1);
  border: 1px solid rgba(232, 113, 46, 0.2);
  border-radius: var(--ef-radius);
  margin-bottom: var(--ef-space-4);
}

.ef-badge-light {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

/* =============================================================================
   Buttons
   ============================================================================= */

.ef-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75rem 1.75rem;
  font-size: var(--ef-font-base);
  font-weight: 600;
  color: #fff;
  background: var(--ef-primary);
  border: 2px solid var(--ef-primary);
  border-radius: var(--ef-radius);
  text-decoration: none;
  transition: var(--ef-transition);
  cursor: pointer;
}

.ef-btn-primary:hover,
.ef-btn-primary:focus {
  background: var(--ef-primary-dark);
  border-color: var(--ef-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--ef-shadow-glow);
}

.ef-btn-primary:active {
  transform: translateY(0);
}

.ef-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.75rem 1.75rem;
  font-size: var(--ef-font-base);
  font-weight: 600;
  color: var(--ef-primary);
  background: transparent;
  border: 2px solid var(--ef-primary);
  border-radius: var(--ef-radius);
  text-decoration: none;
  transition: var(--ef-transition);
  cursor: pointer;
}

.ef-btn-secondary:hover,
.ef-btn-secondary:focus {
  background: var(--ef-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--ef-shadow-glow);
}

.ef-btn-secondary:active {
  transform: translateY(0);
}

/* Dark background variant for secondary button */
.ef-bg-dark .ef-btn-secondary,
.ef-bg-gradient .ef-btn-secondary,
.ef-hero .ef-btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.ef-bg-dark .ef-btn-secondary:hover,
.ef-bg-dark .ef-btn-secondary:focus,
.ef-bg-gradient .ef-btn-secondary:hover,
.ef-bg-gradient .ef-btn-secondary:focus,
.ef-hero .ef-btn-secondary:hover,
.ef-hero .ef-btn-secondary:focus {
  background: #fff;
  border-color: #fff;
  color: var(--ef-primary);
}

/* =============================================================================
   Cards
   ============================================================================= */

.ef-card {
  background: var(--ef-bg);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-lg);
  padding: var(--ef-space-6);
  box-shadow: var(--ef-shadow);
  transition: var(--ef-transition);
}

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

.ef-feature-card {
  text-align: center;
  padding: var(--ef-space-8) var(--ef-space-6);
}

.ef-feature-card h3 {
  font-size: var(--ef-font-xl);
  font-weight: 700;
  color: var(--ef-secondary);
  margin-bottom: var(--ef-space-3);
}

.ef-feature-card p {
  color: var(--ef-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.ef-feature-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--ef-space-5);
  background: rgba(232, 113, 46, 0.1);
  border-radius: 50%;
  color: var(--ef-primary);
  transition: var(--ef-transition);
}

.ef-card:hover .ef-feature-icon {
  background: var(--ef-primary);
  color: #fff;
  transform: scale(1.1);
}

.ef-contact-card {
  text-align: center;
  padding: var(--ef-space-8) var(--ef-space-6);
}

.ef-contact-card h3 {
  font-size: var(--ef-font-xl);
  font-weight: 700;
  color: var(--ef-secondary);
  margin-bottom: var(--ef-space-3);
}

.ef-contact-card p {
  color: var(--ef-text-muted);
  margin-bottom: var(--ef-space-2);
}

.ef-contact-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--ef-space-5);
  background: rgba(232, 113, 46, 0.1);
  border-radius: 50%;
  color: var(--ef-primary);
}

/* =============================================================================
   Links
   ============================================================================= */

.ef-link {
  color: var(--ef-primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--ef-transition);
}

.ef-link:hover {
  color: var(--ef-primary-dark);
}

.ef-link:hover i {
  transform: translateX(4px);
}

.ef-link i {
  transition: transform 0.3s ease;
  margin-left: 0.25em;
}

.ef-phone-link {
  color: var(--ef-primary);
  font-size: var(--ef-font-xl);
  font-weight: 700;
  text-decoration: none;
}

.ef-phone-link:hover {
  color: var(--ef-primary-dark);
}

/* =============================================================================
   Info List
   ============================================================================= */

.ef-info-list {
  margin: var(--ef-space-5) 0;
}

.ef-info-item {
  display: flex;
  align-items: center;
  gap: var(--ef-space-3);
  padding: var(--ef-space-3) 0;
  font-size: var(--ef-font-lg);
  color: var(--ef-text);
  border-bottom: 1px solid var(--ef-border);
}

.ef-info-item:last-child {
  border-bottom: none;
}

.ef-info-item i {
  color: var(--ef-primary);
  width: 1.5em;
  text-align: center;
  flex-shrink: 0;
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.ef-hero {
  position: relative;
  background: linear-gradient(135deg, var(--ef-secondary) 0%, var(--ef-bg-dark) 100%);
  color: #fff;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .ef-hero {
    min-height: 60vh;
  }
}

.ef-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232, 113, 46, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ef-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--ef-space-10) 0;
}

.ef-hero-content .ef-heading-xl {
  color: #fff;
  margin-bottom: var(--ef-space-5);
}

@media (max-width: 768px) {
  .ef-hero-content {
    padding: var(--ef-space-8) 0;
    text-align: center;
  }
}

.ef-hero-actions {
  display: flex;
  gap: var(--ef-space-4);
  margin-top: var(--ef-space-6);
}

@media (max-width: 576px) {
  .ef-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.ef-hero-visual {
  position: relative;
  z-index: 2;
}

.ef-hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--ef-space-4);
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--ef-font-lg);
  font-weight: 600;
}

.min-vh-75 {
  min-height: 75vh;
}

@media (max-width: 768px) {
  .min-vh-75 {
    min-height: 60vh;
  }
}

/* =============================================================================
   Page Header (inner pages)
   ============================================================================= */

.ef-page-header {
  background: linear-gradient(135deg, var(--ef-secondary) 0%, var(--ef-bg-dark) 100%);
  color: #fff;
  padding: var(--ef-space-16) 0 var(--ef-space-10);
  position: relative;
  overflow: hidden;
}

.ef-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(232, 113, 46, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ef-page-header .ef-heading-xl {
  color: #fff;
}

@media (max-width: 768px) {
  .ef-page-header {
    padding: var(--ef-space-10) 0 var(--ef-space-8);
    text-align: center;
  }
}

/* =============================================================================
   Map Placeholder
   ============================================================================= */

.ef-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 300px;
  background: var(--ef-bg-light);
  border: 2px dashed var(--ef-border);
  border-radius: var(--ef-radius-lg);
}

.ef-map-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ef-space-3);
  color: var(--ef-text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--ef-transition);
}

.ef-map-link:hover {
  color: var(--ef-primary);
}

/* =============================================================================
   Header
   ============================================================================= */

.ef-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ef-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44, 24, 16, 0.08);
  padding: 0.5rem 0;
}

.ef-header.scrolled .ef-brand-name {
  color: var(--ef-secondary);
}

.ef-header.scrolled .nav-link {
  color: var(--ef-text);
}

.ef-header.scrolled .nav-link:hover,
.ef-header.scrolled .nav-link.active {
  color: var(--ef-primary);
}

.ef-header.scrolled .ef-header-phone {
  color: var(--ef-primary);
}

.ef-header.scrolled .navbar-toggler-icon {
  filter: none;
}

.ef-brand {
  text-decoration: none;
}

.ef-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  transition: var(--ef-transition);
}

.ef-brand-accent {
  color: var(--ef-primary);
  font-weight: 700;
}

.ef-header .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: var(--ef-font-sm);
  padding: 0.5rem 1rem;
  transition: var(--ef-transition);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ef-header .nav-link:hover,
.ef-header .nav-link.active {
  color: var(--ef-primary);
}

.ef-header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--ef-font-sm);
  transition: var(--ef-transition);
}

.ef-header-phone:hover {
  color: var(--ef-primary);
}

.ef-header-phone i {
  font-size: 1rem;
}

.ef-header-actions {
  display: flex;
  align-items: center;
}

.ef-btn-cta {
  padding: 0.5rem 1.25rem !important;
  font-size: var(--ef-font-sm) !important;
}

/* Mobile header */
.ef-header .navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.ef-header .navbar-toggler:focus {
  box-shadow: none;
}

.ef-header .navbar-toggler-icon {
  filter: invert(1);
  transition: filter 0.3s ease;
}

/* Mobile nav */
@media (max-width: 991.98px) {
  .ef-header .navbar-collapse {
    background: #fff;
    border-radius: var(--ef-radius);
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: var(--ef-shadow-lg);
  }

  .ef-header .nav-link {
    color: var(--ef-text);
    padding: 0.75rem 1rem;
    border-radius: var(--ef-radius);
  }

  .ef-header .nav-link:hover,
  .ef-header .nav-link.active {
    background: var(--ef-bg-light);
    color: var(--ef-primary);
  }

  .ef-header-actions {
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ef-border);
    margin-top: 0.75rem;
  }

  .ef-btn-cta {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================================================
   Footer
   ============================================================================= */

.ef-footer {
  background: linear-gradient(180deg, var(--ef-secondary) 0%, var(--ef-bg-dark) 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--ef-space-12) 0 0;
}

.ef-footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--ef-space-8);
  padding-bottom: var(--ef-space-10);
}

@media (max-width: 991px) {
  .ef-footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .ef-footer-content {
    grid-template-columns: 1fr;
  }
}

.ef-footer-brand-name {
  font-size: var(--ef-font-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--ef-space-4);
}

.ef-footer-brand-name span {
  color: var(--ef-primary);
}

.ef-footer-section p {
  line-height: 1.7;
  margin-bottom: var(--ef-space-4);
}

.ef-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ef-footer-section ul li {
  margin-bottom: var(--ef-space-2);
}

.ef-footer-section ul a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--ef-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.ef-footer-section ul a i {
  font-size: 0.7em;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-4px);
}

.ef-footer-section ul a:hover {
  color: var(--ef-primary);
  padding-left: 4px;
}

.ef-footer-section ul a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.ef-footer-title {
  color: #fff;
  font-size: var(--ef-font-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--ef-space-5);
  position: relative;
  padding-bottom: var(--ef-space-3);
}

.ef-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--ef-primary);
}

.ef-social-links {
  display: flex;
  gap: var(--ef-space-3);
  margin-top: var(--ef-space-4);
}

.ef-social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--ef-transition);
}

.ef-social-links a:hover {
  background: var(--ef-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* Opening hours (used in footer and contact) */
.ef-opening-hours {
  margin: 0;
}

.ef-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--ef-space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ef-hours-row:last-child {
  border-bottom: none;
}

/* Opening hours on light backgrounds (inside cards) */
.ef-card .ef-hours-row,
.ef-contact-card .ef-hours-row {
  border-bottom-color: var(--ef-border);
}

.ef-day {
  font-weight: 500;
}

.ef-time {
  font-weight: 600;
  color: var(--ef-primary);
}

.ef-footer-address {
  font-style: normal;
}

.ef-footer-address a {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-bottom: var(--ef-space-3);
  transition: var(--ef-transition);
  line-height: 1.5;
}

.ef-footer-address a:hover {
  color: var(--ef-primary);
}

.ef-footer-address a i {
  margin-top: 0.2em;
  width: 1.25em;
  text-align: center;
  flex-shrink: 0;
}

.ef-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ef-space-4);
  padding: var(--ef-space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--ef-font-sm);
}

@media (max-width: 768px) {
  .ef-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.ef-copyright {
  color: rgba(255, 255, 255, 0.4);
}

.ef-footer-legal {
  display: flex;
  gap: var(--ef-space-4);
}

.ef-footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--ef-transition);
}

.ef-footer-legal a:hover {
  color: var(--ef-primary);
}

.ef-footer-credit {
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--ef-font-xs);
}

.ef-footer-credit a {
  color: var(--ef-primary);
  text-decoration: none;
}

.ef-footer-credit a:hover {
  text-decoration: underline;
}

/* =============================================================================
   Scroll Reveal Animation
   ============================================================================= */

.ef-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ef-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================================
   Selection
   ============================================================================= */

::selection {
  background: rgba(232, 113, 46, 0.25);
  color: var(--ef-secondary);
}

/* =============================================================================
   Scrollbar
   ============================================================================= */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--ef-bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--ef-secondary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ef-secondary);
}

/* =============================================================================
   Skip to content (accessibility)
   ============================================================================= */

.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ef-secondary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 0;
}

/* =============================================================================
   Smooth Scroll
   ============================================================================= */

html {
  scroll-behavior: smooth;
}

/* =============================================================================
   Back to Top Button
   ============================================================================= */

.ef-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ef-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--ef-transition);
  z-index: 999;
  box-shadow: var(--ef-shadow);
}

.ef-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ef-back-to-top:hover {
  background: var(--ef-primary-dark);
  transform: translateY(-3px);
}

/* =============================================================================
   Loading State for buttons
   ============================================================================= */

.ef-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.ef-loading::after {
  content: '';
  position: absolute;
  width: 1em;
  height: 1em;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: ef-spin 0.6s linear infinite;
}

@keyframes ef-spin {
  to {
    transform: rotate(360deg);
  }
}

/* =============================================================================
   Utility: image cover
   ============================================================================= */

.ef-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================================================
   Odoo overrides for theme consistency
   ============================================================================= */

/* Ensure content does not sit behind fixed header */
.efes-grill-theme #wrapwrap {
  padding-top: 72px;
}

@media (max-width: 991.98px) {
  .efes-grill-theme #wrapwrap {
    padding-top: 64px;
  }
}

/* Override Odoo default link colors */
.efes-grill-theme a {
  color: var(--ef-primary);
}

.efes-grill-theme a:hover {
  color: var(--ef-primary-dark);
}

/* Override Odoo button styles */
.efes-grill-theme .btn-primary {
  background-color: var(--ef-primary);
  border-color: var(--ef-primary);
}

.efes-grill-theme .btn-primary:hover,
.efes-grill-theme .btn-primary:focus {
  background-color: var(--ef-primary-dark);
  border-color: var(--ef-primary-dark);
}

/* =============================================================================
   Speisekarte Page
   ============================================================================= */

.ef-menu-nav {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: var(--ef-bg);
  border-bottom: 1px solid var(--ef-border);
  padding: 0.75rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ef-menu-nav::-webkit-scrollbar {
  display: none;
}

@media (max-width: 991.98px) {
  .ef-menu-nav {
    top: 62px;
  }
}

.ef-menu-nav-inner {
  display: flex;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0 1rem;
}

.ef-menu-nav-item {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: var(--ef-font-sm);
  color: var(--ef-text-muted);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--ef-border);
  flex-shrink: 0;
}

.ef-menu-nav-item:hover,
.ef-menu-nav-item.active {
  background: var(--ef-primary);
  color: #fff;
  border-color: var(--ef-primary);
  text-decoration: none;
}

.ef-menu-category {
  padding: var(--ef-space-8) 0 var(--ef-space-4);
}

.ef-menu-category:first-child {
  padding-top: var(--ef-space-4);
}

.ef-menu-category-title {
  font-size: var(--ef-font-2xl);
  font-weight: 700;
  color: var(--ef-secondary);
  margin-bottom: var(--ef-space-5);
  padding-bottom: var(--ef-space-3);
  border-bottom: 2px solid var(--ef-primary);
  display: inline-block;
}

.ef-menu-product-card {
  background: var(--ef-bg);
  border-radius: var(--ef-radius);
  border: 1px solid var(--ef-border);
  overflow: hidden;
  transition: all 0.25s;
  height: 100%;
}

.ef-menu-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ef-shadow-lg);
  border-color: var(--ef-primary);
}

.ef-menu-product-img {
  height: 120px;
  background: linear-gradient(135deg, var(--ef-primary-light) 0%, var(--ef-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ef-menu-product-img i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.4);
}

.ef-menu-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ef-menu-product-body {
  padding: 1rem;
}

.ef-menu-product-name {
  font-weight: 600;
  font-size: var(--ef-font-base);
  color: var(--ef-secondary);
  margin-bottom: 0.25rem;
}

.ef-menu-product-desc {
  font-size: var(--ef-font-sm);
  color: var(--ef-text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ef-menu-product-price {
  font-weight: 700;
  font-size: var(--ef-font-lg);
  color: var(--ef-primary);
}

.ef-menu-product-price .ef-currency {
  font-weight: 600;
}

/* Combo/Menu cards on Speisekarte */
.ef-menu-category[data-category="combos"] .ef-menu-product-card {
  border: 2px solid var(--ef-accent);
  position: relative;
}

.ef-menu-category[data-category="combos"] .ef-menu-product-card::before {
  content: 'SPAR-TIPP';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--ef-primary);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 2;
}

.ef-menu-category[data-category="combos"] .ef-menu-category-title::after {
  content: ' -- Spare bis zu 7,00 \20AC!';
  font-size: var(--ef-font-sm);
  font-weight: 500;
  color: var(--ef-primary);
}

.ef-menu-cta {
  text-align: center;
  padding: var(--ef-space-6) 0;
}
