@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700&family=Playfair+Display:ital,wght@0,600;0,800;1,600&display=swap');

:root {
  /* Colorful & Vibrant Palette */
  --primary: #d63333;
  /* Vibrant Red */
  --secondary: #ffb703;
  /* Warm Yellow */
  --accent: #219ebc;
  /* Playful Blue */
  --dark: #1d1d1d;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --light-bg: #fdfdfd;
  --card-bg: #ffffff;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.12);
  --radius: 24px;
  --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Playful background blobs */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 183, 3, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(33, 158, 188, 0.08) 0%, transparent 40%);
}

h1,
h2,
h3,
h4,
.brand,
.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
}

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

img,
video {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Remove padding for full-width menu iframe */
.menu-page-container {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
}

/* --- Header & Nav --- */
header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: rotate(-3deg) scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--dark);
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--secondary);
  color: var(--dark);
  transform: translateY(-2px);
}

/* Lang Switcher */
.lang-switcher select {
  font-family: inherit;
  font-weight: 600;
  border: 2px solid var(--secondary);
  background: transparent;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  color: var(--dark);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.lang-switcher select:hover {
  background: var(--secondary);
}

/* Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: var(--transition);
}

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

/* --- Hero --- */
.hero {
  padding: 1rem 0 2rem;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 8px solid var(--white);
  height: 60vh;
  min-height: 400px;
  background: #f0f0f0;
  /* Fallback color */
}

/* Ensure data-animate doesn't hide the slider contents if JS fails or conflicts */
.hero-slider[data-animate] {
  opacity: 1 !important;
  transform: none !important;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  background: white;
  /* Prevent transparent overlaps showing background */
}

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

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--dark);
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-control:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

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

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

/* --- Sections --- */
.section {
  padding: 4rem 0;
}

#sobre-preview {
  padding-top: 1rem;
}

.section-title {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 50%;
  height: 4px;
  background: var(--primary);
  margin-top: 0.5rem;
  border-radius: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

.card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
  transition: var(--transition);
}

.card:hover::before {
  transform: scale(1.5);
  opacity: 0.2;
}

.badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(214, 51, 51, 0.3);
}

.btn-primary:hover {
  background: #b91d1d;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(214, 51, 51, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 2px solid #eee;
}

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

/* Highlight Box */
.highlight-box {
  background: #fff8e1;
  /* very light yellow */
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.highlight-box::after {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  color: var(--secondary);
  opacity: 0.2;
  line-height: 1;
}

/* About Layout */
.about-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  width: 45px;
  height: 45px;
  background: #f0f0f0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--white);
  transform: rotate(10deg);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-block,
.footer-logo {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer h4 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-family: 'Playfair Display', serif;
}

.footer p {
  margin: 0.2rem 0;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.footer-logo img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.small-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0;
}

.footer .small-text {
  color: rgba(255, 255, 255, 0.7);
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.social-icons a {
  display: inline-flex;
  width: 45px;
  height: 45px;
  background: rgba(255, 183, 3, 0.1);
  /* Low opacity secondary */
  border: 1px solid var(--secondary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px);
  border-color: var(--secondary);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Location Map */
.map-embed {
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Animations using simpler CSS transitions where possible */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  header {
    padding: 1rem 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    /* Pushes the toggle to the right */
  }

  .nav-links {
    position: fixed;
    top: 70px;
    /* Adjusted for mobile header height */
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 1px solid #f0f0f0;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    background: transparent;
    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 12px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background-color: var(--secondary);
  }

  .lang-switcher {
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .brand img {
    height: 48px;
    /* Slightly smaller on mobile */
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Contact Card Socials (Fix) */
.contact-card .social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card .social-icons a {
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-card .social-icons a:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-3px);
  border-color: var(--dark);
}

.contact-card .social-icons svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Glovo Button */
.btn-glovo {
  background-color: #ffc244;
  color: #333;
  box-shadow: 0 4px 15px rgba(255, 194, 68, 0.4);
}

.btn-glovo:hover {
  background-color: #eebb22;
  transform: translateY(-3px);
  color: #000;
}