/* Base styles */
:root {
  --bg: #eed799; /* sfondo richiesto */
  --text: #111111; /* testo nero */
  --muted: #666; /* secondario */
  --brand: #836516; /* colore evidenziato richiesto */
  --brand-600: #6b5212;
  --accent: #836516; /* evidenziazioni */
  --card: #FFF; /* card bianche */
  --border: #E0E0E0;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --ring: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
html { scroll-behavior: smooth; }

::selection { background: color-mix(in srgb, var(--accent) 35%, #fff 65%); color: #231a18; }
abbr[title] { text-underline-offset: 2px; text-decoration: underline dotted; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1, h2 { font-family: "Playfair Display", serif; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(1.2) blur(6px);
  background: linear-gradient(180deg, rgba(131,101,22,.55), rgba(131,101,22,.30));
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 9999;
}
.site-header.scrolled {
  background: rgba(131,101,22,.92);
  border-bottom-color: rgba(255,255,255,.06);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 18px 0;
}
.logo { display: inline-flex; align-items: center; justify-content: center; }

/* Desktop Navigation - Original Styles */
.nav-group { display: flex; gap: 30px; }
.nav-group ul { list-style: none; display: flex; gap: 30px; padding: 0; margin: 0; }
.nav-group a { color: #fff; font-size: 1.4rem; font-weight: 500; position: relative; padding: 8px 0; transition: color 0.3s ease; }
.nav-group a:hover { color: var(--accent); text-decoration: none; }

/* Language Switcher Styles */
.language-switcher {
  margin-left: 1rem;
}

.language-switcher .lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.language-switcher .lang-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
}

.mobile-language-switcher {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-language-switcher .lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mobile-language-switcher .lang-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

/* Hamburger Button - Hidden on Desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
  position: relative;
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  position: absolute;
}

.hamburger-line:nth-child(1) {
  top: 8px;
}

.hamburger-line:nth-child(2) {
  top: 13.5px;
}

.hamburger-line:nth-child(3) {
  top: 19px;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  top: 13.5px;
  transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  top: 13.5px;
  transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.mobile-menu-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  padding-top: 20px;
}

.mobile-menu-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Mobile menu close button removed - using hamburger transformation instead */

.mobile-menu-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-nav li {
  margin: 30px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-nav li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-nav li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-nav li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-menu-nav li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-menu-nav li:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  display: block;
  padding: 15px 0;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-nav a:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.mobile-menu-nav a[aria-current="page"] {
  color: var(--accent);
}

.mobile-menu-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent);
}

/* Header Logo */
.header-logo {
  height: 120px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

/* Logo Section */
.logo-section {
  padding: 32px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Image Slider */
.image-slider {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  background: #000;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  display: block;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  transform: scale(1.2);
}

.hero {
  background:
    radial-gradient(1200px 600px at 50% -200px, color-mix(in srgb, var(--brand) 12%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, rgba(131,101,22,.04), rgba(131,101,22,0));
  padding: 64px 0 48px;
  text-align: center;
}
.hero.with-image {
  position: relative;
  isolation: isolate;
}
.hero.with-image::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image);
  background-size: cover; background-position: center; filter: saturate(1.05) contrast(1.05);
}
.hero.with-image::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: transparent;
}
.hero h1 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero.with-image h1, .hero.with-image .lead { color: white; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.btn-light { background: var(--card); color: var(--brand); border-color: transparent; }
.btn-light:hover { background: color-mix(in srgb, var(--card) 85%, #000 15%); }

.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--brand); font-weight: 600; transition: transform .06s ease, box-shadow .2s ease, background .2s ease; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 6px 16px rgba(131,101,22,.25); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: color-mix(in srgb, var(--brand) 10%, white 90%); }

.section { padding: 48px 0; }
.section h2 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }

/* Menu sections */
.menu-section { margin: 24px 0; }
.menu-section h2 { font-family: "Playfair Display", serif; font-weight: 600; }
.menu-section ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.menu-section li { padding: 10px 0; border-bottom: 1px dashed var(--border); color: var(--text); }
.menu-section li:last-child { border-bottom: 0; }
.lead + .menu-section { margin-top: 20px; }

/* Menu Navigation */
.menu-nav-section {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.menu-categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.category-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 25px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: var(--text);
}

.category-btn:hover,
.category-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* Menu Categories */
.menu-category {
  margin: 32px 0;
  display: block;
}

.category-header {
  text-align: center;
  margin-bottom: 24px;
}

.category-header h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--brand);
  margin: 0 0 8px 0;
  text-align: center;
}

.category-subtitle {
  color: var(--muted);
  font-style: italic;
  margin: 0;
}

.menu-items-grid {
  max-width: 1000px;
  margin: 0 auto;
}

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

.menu-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}

.menu-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--brand);
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}

.menu-item .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.menu-item .description {
  color: var(--muted);
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.menu-item .item-category {
  display: inline-block;
  background: var(--brand);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Menu item spacer removed - not needed */

.card { background: var(--card); border: 1px solid color-mix(in srgb, var(--border) 85%, var(--brand) 15%); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0,0,0,.12); border-color: color-mix(in srgb, var(--brand) 20%, var(--border)); }

/* Hours Section */
.hours-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: white;
  padding: 48px 0;
}

.hours-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hours-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 24px 0;
  color: white;
}

.hours-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-icon {
  font-size: 2.5rem;
  opacity: 0.9;
}

.hours-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  color: white;
}

.hours-text p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hours h3 { margin-top: 0; }
.hours-list { list-style: none; padding: 0; margin: 0 0 8px; }
.hours-list li { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours-list li:last-child { border-bottom: 0; }
.note { color: var(--muted); font-size: .95rem; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid .card h3 { margin-top: 0; }

.contact .card { display: grid; gap: 10px; align-content: start; }

.gallery {
  padding: 0;
  margin: 0;
}

.gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: calc(100vw - 200px);
  margin-left: calc(-50vw + 50% + 100px);
  padding: 0 20px;
}
.gallery .gallery-item { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.gallery .gallery-item img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery .gallery-span-2 { grid-column: span 4; }
.gallery .gallery-item:not(.gallery-span-2) { grid-column: span 2; }
.heritage-mark { display: flex; justify-content: center; margin-top: 18px; opacity: .9; }
.heritage-mark img { height: 48px; }

.site-footer { 
  border-top: 1px solid var(--border); 
  padding: 32px 0 24px; 
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: white;
}

.footer-inner { 
  display: flex; 
  flex-direction: column;
  gap: 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  color: white;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.95rem;
}

.footer-contact h4,
.footer-legal h4 {
  font-size: 1.1rem;
  color: white;
  margin: 0 0 16px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contact p,
.footer-legal p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-legal p strong {
  color: white;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

.site-footer nav { 
  display: flex; 
  gap: 16px; 
}

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

.site-footer a:hover { 
  color: white;
  text-decoration: underline;
}

/* Helpers */
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Reveal animations - DISABLED */
.reveal { opacity: 1; transform: translateY(0); transition: none; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utilities */
.p-color { color: var(--accent); }

/* Forms */
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], textarea, select {
  width: 100%;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--ring); }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .gallery .gallery-grid { 
    grid-template-columns: repeat(4, 1fr);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 15px;
  }
  .gallery .gallery-span-2 { grid-column: span 4; }
  .gallery .gallery-item:not(.gallery-span-2) { grid-column: span 2; }
}

@media (max-width: 640px) {
  .site-nav { position: relative; width: 100%; }
  
  /* Hide desktop navigation on mobile */
  .nav-group { display: none; }
  
  /* Show hamburger button on mobile */
  .hamburger { display: flex; }
  
  /* Adjust header inner padding for mobile */
  .header-inner { padding: 12px 0; }
  
  /* Mobile logo adjustments */
  .header-logo { height: 70px; }
  
  /* Mobile menu adjustments */
  .mobile-menu-nav a { font-size: 2rem; }
  .mobile-menu-logo { height: 60px; }
  .mobile-menu-header { margin-bottom: 40px; }
  .mobile-menu-nav li { margin: 20px 0; }
  
  .cards-grid { grid-template-columns: 1fr; }
  .gallery .gallery-grid { 
    grid-template-columns: repeat(2, 1fr);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 10px;
  }
  .gallery .gallery-span-2 { grid-column: span 2; }
  
  /* Logo responsive */
  .header-logo { height: 90px; }
  
  /* Slider responsive */
  .image-slider { height: 50vh; min-height: 300px; }
  .slider-nav { width: 40px; height: 40px; }
  .slider-nav.prev { left: 10px; }
  .slider-nav.next { right: 10px; }
  .slider-dots { bottom: 15px; }
  .dot { width: 10px; height: 10px; }
  
  /* Logo responsive */
  .main-logo { height: 150px; }
  
  /* Hours responsive */
  .hours-info { flex-direction: column; gap: 16px; }
  .hours-icon { font-size: 2rem; }
  
  /* Menu responsive */
  .menu-category { margin: 24px 0; }
  .menu-row { grid-template-columns: 1fr; gap: 12px; }
  .menu-item { padding: 16px; }
  .menu-item h3 { font-size: 1rem; }
  .menu-item .price { font-size: 1rem; }
  .menu-categories-nav { gap: 8px; }
  .category-btn { padding: 8px 12px; font-size: 0.8rem; }
  
  /* Footer responsive */
  .footer-main { 
    grid-template-columns: 1fr; 
    gap: 20px; 
    text-align: center;
  }
  .footer-brand h3 { font-size: 1.2rem; }
  .footer-contact h4,
  .footer-legal h4 { font-size: 1rem; }
  .footer-contact p,
  .footer-legal p { font-size: 0.85rem; }
}

/* Privacy and Cookie Policy Styles */
.privacy-content,
.cookie-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  line-height: 1.7;
}

.privacy-content h2,
.cookie-content h2 {
  color: var(--brand);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 0.5rem;
}

.privacy-content h3,
.cookie-content h3 {
  color: var(--brand-600);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.privacy-content p,
.cookie-content p {
  margin-bottom: 1rem;
  color: var(--text);
}

.privacy-content ul,
.cookie-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.privacy-content li,
.cookie-content li {
  margin-bottom: 0.5rem;
}

.privacy-content a,
.cookie-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-content a:hover,
.cookie-content a:hover {
  color: var(--brand-600);
}

.last-updated {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 2rem;
  text-align: center;
}

.cookie-table {
  margin: 1.5rem 0;
  overflow-x: auto;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--brand);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-table td {
  font-size: 0.9rem;
}

.cookie-table tr:hover {
  background: rgba(131, 101, 22, 0.05);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

/* Responsive styles for privacy/cookie pages */
@media (max-width: 768px) {
  .privacy-content,
  .cookie-content {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .privacy-content h2,
  .cookie-content h2 {
    font-size: 1.3rem;
  }
  
  .privacy-content h3,
  .cookie-content h3 {
    font-size: 1.1rem;
  }
  
  .cookie-table {
    font-size: 0.8rem;
  }
  
  .cookie-table th,
  .cookie-table td {
    padding: 8px 12px;
  }
}

/* Events Page Styles */
.events-services {
  margin-top: 3rem;
  padding: 2rem 0;
}

.services-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: var(--muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-600));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: grayscale(0.2);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  filter: grayscale(0);
}

.service-card h3 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.events-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.events-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.events-cta h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.events-cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.events-cta .btn {
  background: white;
  color: var(--brand);
  border: 2px solid white;
  font-weight: 600;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.events-cta .btn:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive styles for events page */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .events-cta {
    padding: 2rem 1.5rem;
  }
  
  .events-cta h3 {
    font-size: 1.5rem;
  }
}

/* Hero Slider Section Styles */
.hero-slider-section {
  margin: 0;
  padding: 0;
}

/* Content after slider spacing */
.content-after-slider {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .content-after-slider {
    margin-top: 2rem;
  }
}

/* GDPR Cookie Banner Styles */
.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
  color: white;
  padding: 20px;
  z-index: 10000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gdpr-banner.show {
  transform: translateY(0);
}

.gdpr-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.gdpr-text {
  flex: 1;
  min-width: 300px;
}

.gdpr-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.gdpr-text p {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.gdpr-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gdpr-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.gdpr-links a:hover {
  color: white;
  text-decoration: none;
}

.gdpr-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gdpr-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.gdpr-actions .btn-primary {
  background: white;
  color: var(--brand);
  border: 2px solid white;
}

.gdpr-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.gdpr-actions .btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.gdpr-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-1px);
}

/* GDPR Modal Styles */
.gdpr-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gdpr-modal.show {
  opacity: 1;
  visibility: visible;
}

.gdpr-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.gdpr-modal.show .gdpr-modal-content {
  transform: scale(1);
}

.gdpr-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.gdpr-modal-header h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 600;
}

.gdpr-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.gdpr-modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.gdpr-modal-body {
  padding: 0 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(131, 101, 22, 0.05);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cookie-category-header h4 {
  margin: 0;
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 600;
}

.cookie-category p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--brand);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

input:disabled + .toggle-slider {
  background-color: var(--brand);
  opacity: 0.7;
}

.gdpr-modal-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.gdpr-modal-footer .btn {
  padding: 12px 24px;
  font-size: 0.95rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Responsive styles for GDPR banner */
@media (max-width: 768px) {
  .gdpr-banner {
    padding: 16px;
  }
  
  .gdpr-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .gdpr-text {
    min-width: auto;
  }
  
  .gdpr-text h3 {
    font-size: 1.1rem;
  }
  
  .gdpr-text p {
    font-size: 0.9rem;
  }
  
  .gdpr-links {
    justify-content: center;
    gap: 12px;
  }
  
  .gdpr-actions {
    justify-content: center;
    width: 100%;
  }
  
  .gdpr-actions .btn {
    flex: 1;
    min-width: 120px;
  }
  
  .gdpr-modal {
    padding: 10px;
  }
  
  .gdpr-modal-content {
    max-height: 90vh;
  }
  
  .gdpr-modal-header,
  .gdpr-modal-body,
  .gdpr-modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .gdpr-modal-footer {
    flex-direction: column;
  }
  
  .gdpr-modal-footer .btn {
    width: 100%;
  }
}

/* Contact Form Styles */

.contact-info {
  margin-bottom: 2rem;
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  text-align: center;
}

.contact-info p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-item {
  padding: 1.5rem;
  background: rgba(131, 101, 22, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--brand);
  text-align: center;
}

.contact-text strong {
  color: var(--brand);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-text p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form-container {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-form-container h2 {
  color: var(--brand);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(131, 101, 22, 0.1);
}

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

.checkbox-group {
  margin: 2rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.checkbox-label a {
  color: var(--brand);
  text-decoration: underline;
}

.checkbox-label a:hover {
  text-decoration: none;
}

/* Form Messages Styles */
.form-messages {
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

.form-messages.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-messages.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.form-messages ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.5rem;
}

.form-messages li {
  margin-bottom: 0.25rem;
}

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

/* Working Slider Styles */
.working-slider-container {
  padding-bottom: 110px;
}

.slider-thumbnails {
  margin-top: 5px;
}

/* Hide thumbnails on mobile - multiple approaches */
@media (max-width: 767px) {
  .slider-thumbnails {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
  
  /* Alternative approach with higher specificity */
  div.slider-thumbnails {
    display: none !important;
  }
  
  /* Even more specific */
  .working-slider-container .slider-thumbnails {
    display: none !important;
  }
}

/* Responsive styles for contact form */
@media (max-width: 1024px) and (min-width: 769px) {
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .form-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-info h2,
  .contact-form-container h2 {
    font-size: 1.4rem;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  /* Remove padding on mobile when thumbnails are hidden */
  .working-slider-container {
    padding-bottom: 20px !important;
  }
}

/* ===== NEW EVENTS PAGE TEMPLATE ===== */

/* Events Hero Section */
.events-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #936b2f 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.events-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  color: white;
}

.events-hero .lead {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--muted);
}

/* Past Events Featured Section */
.past-events-featured {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.featured-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

/* Featured Event Card */
.featured-event-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
}

.featured-event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Featured Event Thumbnail */
.featured-event-thumbnail {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.featured-event-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-event-card:hover .featured-event-thumbnail img {
  transform: scale(1.08);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-event-card:hover .event-overlay {
  opacity: 1;
}

.event-badge {
  background: var(--brand);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Featured Event Content */
.featured-event-content {
  padding: 2rem;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.event-date .icon {
  font-size: 1.1rem;
}

.featured-event-content h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.featured-event-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.featured-event-content .btn {
  width: 100%;
  text-align: center;
  font-weight: 600;
}

/* Events Services Section */
.events-services-section {
  padding: 5rem 0;
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: #fafafa;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  background: white;
  border-color: var(--brand);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(131, 101, 22, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--brand);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Events CTA Section */
.events-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand) 0%, #936b2f 100%);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: white;
}

.btn-lg {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-hero {
    padding: 3rem 0;
  }
  
  .events-hero h1 {
    font-size: 2rem;
  }
  
  .events-hero .lead {
    font-size: 1.1rem;
  }
  
  .past-events-featured,
  .events-services-section,
  .events-cta-section {
    padding: 3rem 0;
  }
  
  .featured-events-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .featured-event-thumbnail {
    height: 220px;
  }
  
  .featured-event-content {
    padding: 1.5rem;
  }
  
  .featured-event-content h3 {
    font-size: 1.3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .featured-event-content {
    padding: 1.25rem;
  }
  
  .featured-event-thumbnail {
    height: 200px;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* ===== EVENTO DETAIL PAGE ===== */

.evento-detail {
  padding: 3rem 0 5rem;
  background: white;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #936b2f;
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text);
}

.evento-header {
  text-align: center;
  margin-bottom: 3rem;
}

.evento-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--brand);
  margin-bottom: 1rem;
  font-weight: 700;
}

.evento-header .evento-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8f9fa;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  color: var(--brand);
  font-weight: 600;
}

.evento-header .evento-date .icon {
  font-size: 1.3rem;
}

/* Evento Slider */
.evento-slider {
  margin-bottom: 4rem;
}

.slider-main {
  position: relative;
  width: 100%;
  height: 600px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.slide-evento {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-evento.active {
  opacity: 1;
  z-index: 1;
}

.slide-evento img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.slider-main:hover .slide-evento.active img {
  transform: scale(1.02);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
}

.slider-nav:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-50%) scale(1.15);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.slider-nav:active {
  transform: translateY(-50%) scale(1.05);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 10;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.slider-counter #slide-corrente {
  color: var(--brand);
  font-size: 1.1rem;
}

/* Slider Thumbnails */
.slider-thumbnails {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.slider-thumbnails::-webkit-scrollbar {
  height: 8px;
}

.slider-thumbnails::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.slider-thumbnails::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

.thumb {
  flex: 0 0 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumb:hover {
  opacity: 0.9;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.thumb.active {
  border-color: var(--brand);
  opacity: 1;
  box-shadow: 0 4px 16px rgba(218, 165, 32, 0.4);
  transform: scale(1.08);
}

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

.thumb:hover img {
  transform: scale(1.1);
}

/* Evento Content */
.evento-content {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.evento-content h2 {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.evento-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
}

/* Evento Video */
.evento-video {
  max-width: 1000px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.evento-video h2 {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  background: #000;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.video-container video {
  display: block;
  outline: none;
  cursor: pointer;
  background: #000;
  border-radius: 16px;
  max-height: 80vh;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Video verticali (portrait) - tipici da smartphone */
.video-container.video-portrait {
  max-width: 500px;
  margin: 0 auto;
}

.video-container.video-portrait video {
  max-width: 100%;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

/* Video orizzontali (landscape) */
.video-container.video-landscape video {
  width: 100%;
  height: auto;
  max-height: 600px;
}

/* Video quadrati */
.video-container.video-square {
  max-width: 600px;
  margin: 0 auto;
}

.video-container.video-square video {
  max-width: 100%;
  width: 100%;
}

/* Loading state */
.video-container video:not([poster]) {
  background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="none" stroke="rgba(218,165,32,0.3)" stroke-width="6"/><path fill="none" stroke="rgba(218,165,32,1)" stroke-width="6" d="M50 15 A35 35 0 0 1 85 50"><animateTransform attributeName="transform" type="rotate" from="0 50 50" to="360 50 50" dur="1s" repeatCount="indefinite"/></path></svg>') center/50px no-repeat;
}

.video-error {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  padding: 2rem;
}

.video-container video::-webkit-media-controls-panel {
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* Stile personalizzato per il poster del video */
.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(218, 165, 32, 0.1), rgba(218, 165, 32, 0.05));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-container:hover::before {
  opacity: 1;
}

/* Evento CTA */
.evento-cta {
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 2rem;
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.evento-cta h3 {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 1rem;
  font-weight: 700;
}

.evento-cta p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

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

/* Responsive Evento Detail */
@media (max-width: 768px) {
  .evento-detail {
    padding: 2rem 0 3rem;
  }
  
  .evento-header h1 {
    font-size: 1.8rem;
  }
  
  .slider-main {
    height: 400px;
    border-radius: 12px;
  }
  
  .slider-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .slider-nav.prev {
    left: 10px;
  }
  
  .slider-nav.next {
    right: 10px;
  }
  
  .thumb {
    flex: 0 0 100px;
    height: 70px;
  }
  
  .evento-content h2,
  .evento-video h2 {
    font-size: 1.5rem;
  }
  
  .evento-content p {
    font-size: 1rem;
  }
  
  .evento-cta {
    padding: 3rem 1.5rem;
  }
  
  .evento-cta h3 {
    font-size: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  /* Video su mobile */
  .video-container {
    max-width: 100%;
  }
  
  .video-container video {
    max-height: 60vh;
    width: auto;
    max-width: 100%;
  }
  
  /* Video verticali su mobile */
  .video-container.video-portrait {
    max-width: 90%;
  }
  
  .video-container.video-portrait video {
    max-height: 65vh;
  }
}

@media (max-width: 480px) {
  .slider-main {
    height: 300px;
  }
  
  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .thumb {
    flex: 0 0 80px;
    height: 60px;
  }
}

/* ==========================================
   Lazy Loading Images - Performance & SEO
   ========================================== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img.lazy-loaded,
img[loading="lazy"].lazy-loaded {
  opacity: 1;
}

/* Placeholder for lazy images */
img[data-src] {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  min-height: 200px;
}

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


