:root {
  --primary-color: #D4AF37;
  --secondary-color: #1E1E1E;
  --accent-color: #8B0000;
  --text-color: #333333;
  --background-color: #F5F5F5;
  --white: #FFFFFF;
}

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

body, html {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }

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

.header {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.header.scrolled { background-color: rgba(30, 30, 30, 0.9); }

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

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
}

nav ul { list-style-type: none; display: flex; }
nav ul li { margin-left: 30px; }
nav ul li a { text-decoration: none; color: var(--white); font-weight: 500; transition: color 0.3s ease; }
nav ul li a:hover { color: var(--primary-color); }

.language-selector {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
}

.language-selector select {
  padding: 5px;
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.hero {
  background-image: url('ristorante-background.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; color: var(--primary-color); }
.hero p { font-size: 1.5rem; margin-bottom: 30px; }

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

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

.section { padding: 100px 0; scroll-margin-top: 110px; }

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.menu-buttons { display: flex; justify-content: center; margin-bottom: 40px; }

.menu-button {
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  margin: 0 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.menu-button:hover { background-color: var(--primary-color); transform: translateY(-3px); }

.reservation { background-color: var(--secondary-color); color: var(--white); text-align: center; }
.reservation-info { font-size: 1.2rem; margin-bottom: 30px; }
.reservation .btn { font-size: 1.2rem; padding: 15px 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  text-align: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }

footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 30px; }
.footer-section { flex: 1; margin-bottom: 20px; min-width: 200px; }
.footer-section h3 { color: var(--primary-color); margin-bottom: 15px; }

.social-icons a {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover { color: var(--primary-color); }

.legal-links a { color: var(--primary-color); text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }

/* MAP GDPR PLACEHOLDER */
.map-box {
  background: var(--white);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.map-box p { margin: 8px 0; }
.map-box a { color: var(--accent-color); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(30, 30, 30, 0.98);
  color: var(--white);
  padding: 14px 0;
  z-index: 9999;
  display: none;
}

.cookie-banner .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner .text a { color: var(--primary-color); text-decoration: none; }
.cookie-banner .text a:hover { text-decoration: underline; }

.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--primary-color);
}
.cookie-banner .btn.secondary:hover { background: rgba(212,175,55,0.15); }

.cookie-manage {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-content { flex-direction: column; }
  nav ul { margin-top: 20px; }
  nav ul li { margin: 0 15px; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.2rem; }
  .section { padding: 60px 0; }
  .footer-content { flex-direction: column; }
}