
@import url('https://fonts.googleapis.com/css2?family=Fleur+De+Leah&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Fleur+De+Leah&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda+SC:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Fleur+De+Leah&display=swap');


@import url(https://fonts.googleapis.com/css?family=Lato:700);

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda+SC:ital,opsz@1,6..96&family=Bodoni+Moda:opsz@6..96&family=Fleur+De+Leah&family=Rock+Salt&display=swap');


:root {
  --clr-primary: #0E2148; /* Azul principal */
  --clr-accent: #E3D095; /* Dorado */
  --clr-light: #f5f5f5;  /* Fondo neutro */
  --clr-white: #ffffff;
  --radius: 8px;
  --space: 1.5rem;
}

.rock-salt-regular {
  font-family: "Rock Salt", cursive;
  font-weight: 400;
  font-style: normal;
  
}

.fleur-de-leah-regular {
  font-family: "Fleur De Leah", cursive;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
  font-size: 3rem;
  text-decoration: none;
}

.fleur-de-leah-regular:hover{
  color: var(--clr-accent);
  transform: scale(1.05) translate(-4px);
  transition: 0.5s;

}

.bodoni-moda-sc {
  font-family: "Bodoni Moda SC", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    color: #ffffff;
  font-size: 2.5rem;
  text-decoration: none;
}

.bodoni-moda-sc:hover{
    color: var(--clr-accent);
   
  transform: translateY(-4px);
  transition: 0.5s;


}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: var(--clr-light);
  color: var(--clr-primary);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space) 0;

}


/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 35, 73, 0.85);
  backdrop-filter: blur(5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.445);
  
  
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: var(--space) 0;
  
  
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-white);
  text-decoration: none;
  transition: color 0.3s;
  transition: transform 0.5s;
}

.logo:hover {
  color: var(--clr-accent);
  transform: scale(1.05) translate(-3px);
  
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--clr-white);
  padding: 0.75rem 1rem;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 25px;
  background: #ffffff1b;
  left: 50%;
  bottom: 9px;
  transition: all 0.4s;
  border-radius: 50px;
}

.nav-links a:hover {
  color: var(--clr-accent);
}

.nav-links a:hover::after {
  width: 90%;
  left: 5%;
  
}

.index-hero {
  position: relative;
  background:#002349 ;
  /* aplicamos un filtro ligero por defecto */
  filter: brightness(0.95);
  padding: 6rem 1rem;
  text-align: center;
  color: #fff;
  font-family: "Rock Salt", cursive;
}
.index-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.185);
  z-index: 1;
}
.index-hero h1,
.index-hero p,
.index-hero .hero-icons {
  position: relative;
  z-index: 2;
}

.index-hero h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
  text-shadow: 0 4px 6px rgba(0,0,0,0.7);
  animation: fadeInUp 0.6s ease-out both;
  
}
.index-hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  animation: fadeInUp 0.8s ease-out both;
}


/* Sections */
.section {
  background: var(--clr-white);
  margin: var(--space) 0;
  padding: var(--space);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 35, 73, 0.05);
}

/* Hero */
.hero {
  position: relative;
  background:linear-gradient(140deg, var(--clr-primary), var(--clr-accent));

  color: var(--clr-white);
  text-align: center;
  padding: 8rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  font-family: 'Playfair Display', serif;
  
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 35, 73, 0.6);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--clr-white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--clr-accent);
  color: var(--clr-white);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background: #002349;
  transform: translateY(-3px);
  box-shadow:0 6px 6px rgba(0, 35, 73, 0.807);
}

/* Overview Cards */
.overview .cards {
  display: grid;
  gap: var(--space);
  text-align: center;
  align-items: center;

}



.overview .card {
  background: var(--clr-white);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 100px;
}

.overview .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 35, 73, 0.536);
}

.overview .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.overview .card h2 {
  margin: var(--space) 0 0.5rem;
  color: var(--clr-primary);
  font-family: 'Playfair Display', serif;
}

.overview .card p {
  padding: 0 1rem 1rem;
  font-size: 1rem;
  color: #555555;
}

.link-btn {
  display: inline-block;
  margin-bottom: var(--space);
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.link-btn:hover {
  color: var(--clr-accent);
}

/* Staff */
.staff {
  display: grid;
  gap: var(--space);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: var(--space);
}

.staff .card {
  background: var(--clr-white);
  padding: var(--space);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 35, 73, 0.05);
  transition: box-shadow 0.3s;
}

.staff .card:hover {
  box-shadow: 0 6px 12px rgba(0, 35, 73, 0.1);
}

.staff img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--clr-accent);
}

/* Contact */
.contact-info {
  list-style: none;
  padding-left: 0;
  margin-top: var(--space);
}

.contact-info li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: var(--space) 0;
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: center;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--space);
    margin-top: var(--space);
  }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }
}

/* -----------------------------
   HAMBURGER ICON
   ----------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 4px;
  border-radius: 100px;
  background: var(--clr-white);
  transition: transform 0.4s ease, opacity 0.4s ease;
}



/* Transformación a “X” */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* -----------------------------
   NAV LINKS (MÓVIL)
   ----------------------------- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: centre;
    top: 100%;
    left: 0;
    width: 50%;
    max-height: 0;
    overflow: hidden;
    background: var(--clr-primary); /* ajusta según tu paleta */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 0px 12px rgba(255, 255, 255, 0.684);
    transition: max-height 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links.active {
    max-height: 900px; /* suficiente para todos los ítems */
    border-radius: 35px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    margin: 0.8rem 0;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    color: var(--clr-white);
    text-decoration: none;
    transition: background 0.5s ease, transform 0.3s ease;
  }

}

/* -----------------------------
   ANIMACIÓN DE SLIDE-DOWN (opcional)
   ----------------------------- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links.active {
  animation: slideDown 0.4s ease forwards;
}


/* Estilos para los títulos de sección */
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;       /* Más grandes */
  font-weight: 700;        /* Negrita */
  color: var(--clr-primary); /* Color principal */
  text-align: center;      /* Centrado */
  margin: 2rem 0 1.5rem;   /* Espacio arriba y abajo */
  position: relative;
}

/* Línea decorativa debajo del título */
.section h2::after {
  content: '';
  display: block;
  width: 4rem;
  height: 4px;
  background: var(--clr-accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}



/* ———————————————— */
/*   Estilos específicos para restaurante.html   */
/* ———————————————— */

/* Fuente principal y texto */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--clr-primary);
  background: var(--clr-light);
}

/* Header transparente con logo y enlaces */
.resto-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
.resto-header .navbar {
  background: transparent;
  padding: var(--space) 0;
}
.resto-header .logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--clr-white);
}
.resto-header .nav-links a {
  color: var(--clr-white);
  margin-left: 1.5rem;
  font-weight: 500;
}
.resto-header .nav-links a.active,
.resto-header .nav-links a:hover {
  color: var(--clr-accent);
}

/* Hero */
.resto-hero {
  position: relative;
  height: 80vh;
  background:linear-gradient(140deg, var(--clr-primary), var(--clr-accent));
  display: flex;
  align-items: center;
}

.resto-hero p {
font-family: 'Playfair Display', serif;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 35, 73, 0.6);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--clr-white);
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}
.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}
.btn-primary {
  background: #ffffff;
  color: var(--clr-primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.452);
}

/* Sección "Sobre nuestra cocina" */
.resto-about {
  text-align: center;
  padding: 4rem 0;
  font-size: 1.1rem;
  
}
.resto-about p {
  max-width: 800px;
  margin: 1rem auto;
  line-height: 1.6;
}

/* Llamada a la acción */
.resto-cta {
  background: var(--clr-primary);
  color: var(--clr-white);
  text-align: center;
  padding: 4rem 0;
  border-radius: 500px;
  margin-bottom: 50px;
  padding: 4rem 2rem;
  
  
}
.resto-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;

  
}
.btn-secondary {
  display: inline-block;
  background: var(--clr-white);
  color: var(--clr-primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 15px;
  
  
}
.btn-secondary:hover {
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.422);
  background-color: green;
  transform: scale(1.05) translateY(-5px);
}

.btn-secondary .material-icons {
  vertical-align: middle;
  font-size: 1.2rem; /* ajústalo a tu gusto */
}


/* Footer */
footer {
  background: var(--clr-primary);
  color: var(--clr-white);
  text-align: center;
  padding: 2.5rem;
  border-radius: 50px;
  margin-bottom: 50px;
  margin-left: 50px;
  margin-right: 50px;
  
}


@import url('https://fonts.googleapis.com/css?family=Lato:700');

/* Squishy buttons inspired by https://goo.gl/bFCyS */


/* Toggle reducido a 100px */
.toggle {
  margin: 4px;
  display: inline-block;
  position: relative;
  width: 100px;
  height: 100px;
  box-shadow:
    inset 0 0 35px 5px rgba(0,0,0,0.25),
    inset 0 2px 1px 1px rgba(255,255,255,0.9),
    inset 0 -2px 1px 0 rgba(0,0,0,0.25);
  border-radius: 8px;
  background: #ccd0d4;
}

.toggle::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;              /* (100 × 0.845) - (100 × 0.125) = 84.5 - 12.5 */
  height: 72px;
  margin-left: -36px;       /* -½ de 72 */
  margin-top: -36px;
  background: #fff;
  opacity: 0.2;
  box-shadow: 0 0 12.5px 6.25px #fff; /* glow=100×0.125, glow/2 */
  border-radius: 84.5px;    /* 100×0.845 */
}

.toggle .button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68.8px;            /* 100×0.688 */
  height: 68.8px;
  margin-left: -34.4px;
  margin-top: -34.4px;
  background: #ccd0d4;
  border-radius: 68.8px;
  -webkit-filter: blur(1px);
  -moz-filter: blur(1px);
  filter: blur(1px);
  transition: all 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
  box-shadow:
    0 15px 25px -4px rgba(0,0,0,0.5),
    inset 0 -3px 4px -1px rgba(0,0,0,0.2),
    0 -10px 15px -1px rgba(255,255,255,0.6),
    inset 0 3px 4px -1px rgba(255,255,255,0.2),
    inset 0 0 5px 1px rgba(255,255,255,0.8),
    inset 0 20px 30px 0 rgba(255,255,255,0.2);
}

.toggle .label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  line-height: 99px;        /* 100 - 1 */
  text-align: center;
  font-weight: 700;
  font-size: 30px;          /* 42 × (100/140) ≈ 30 */
  opacity: 0.9;
  color: rgba(0,0,0,0.4);
  transition: color 300ms ease-out;
  text-shadow:
    1px 1px 3px #ccd0d4,
    0 0 0 rgba(0,0,0,0.8),
    1px 1px 4px #fff;
}

.toggle input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: red;
  cursor: pointer;
  z-index: 1;
}

.toggle input:active ~ .button {
  box-shadow:
    0 15px 25px -4px rgba(0,0,0,0.4),
    inset 0 -8px 30px 1px rgba(255,255,255,0.9),
    0 -10px 15px -1px rgba(255,255,255,0.6),
    inset 0 8px 25px 0 rgba(0,0,0,0.4),
    inset 0 0 10px 1px rgba(255,255,255,0.6);
}

.toggle input:active ~ .label {
  font-size: 28px;          /* ligero ajuste al apretar */
  color: rgba(0,0,0,0.45);
}

.toggle input:checked ~ .button {
  box-shadow:
    0 15px 25px -4px rgba(0,0,0,0.4),
    inset 0 -8px 25px -1px rgba(255,255,255,0.9),
    0 -10px 15px -1px rgba(255,255,255,0.6),
    inset 0 8px 20px 0 rgba(0,0,0,0.2),
    inset 0 0 5px 1px rgba(255,255,255,0.6);
}

.toggle input:checked ~ .label {
  font-size: 28px;
  color: rgba(0,0,0,0.4);
}
