@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Poppins:wght@300;500;700&display=swap');

:root {
  --color-primary: #FFD700;
  --color-secondary: #FFD700;
  --color-black: #111;
  --color-white: #fff;
  --color-gray: #f5f5f5;

  --font-main: 'Poppins', sans-serif;
}

* {
  user-select: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background: var(--color-white);
  color: var(--color-black);
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) #000;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #000;
}

body::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #005e9e;
}

@media (prefers-color-scheme: dark) {
  body {
    background-image: url("../img/fondo.jpeg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
  }
}

@media (prefers-color-scheme: light) {
  body {
    background-image: url("../img/fondo.jpeg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: #111111;
  }
}

/* NAVBAR */
.header {
  position: sticky;
  width: 100%;
  max-height: 100px;
  background-image: url("../img/fondo.jpeg");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: visible;
  z-index: 2000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  height: 100px;
  min-height: 100px;
  position: relative;
}

.logo {
  height: 250px;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2100;
  color: var(--color-black);
  padding: 0 12px;
  border-radius: 12px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-black);
  transition: color 0.3s ease, transform 0.3s ease;
}

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

.btn,
.slider-control,
.menu-close,
.menu-item {
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  border: 1px solid var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 119, 182, 0.18);
}

.menu-item:hover,
.menu-item:focus-within {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

/* HERO */
.hero {
  position: relative;
  width: 100vw;
  padding: 0;
  height: 85vh;
  overflow: hidden;
}

.hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0 20px;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
  max-width: 720px;
}


.hero-welcome {
  margin: 0;
  color: white;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.8rem, 4vw, 4rem);
  letter-spacing: 0.045em;
  line-height: 1.02;
  text-transform: none;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.48);
}

.hero-welcome-text {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-welcome-text.fade {
  opacity: 0;
  transform: translateY(-8px);
}

.hero h2 {
  display: none;
}

.hero p {
  display: none;
}

.hero-controls {
  display: flex;
  gap: 10px;
  margin-top: 100px;
}

.slider-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.btn {
  background: var(--color-secondary);
  color: white;
  padding: 14px 26px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.menu-close {
  position: relative;
  top: 20px;
  z-index: 130;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.menu-close:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.24);
}

.menu-close-section {
  position: relative;
  left: 50%;
  top: 10px;
  z-index: 130;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: #000;
  color: white;
  z-index: 120;
  overflow-y: auto;
  padding: 120px 20px 20px;
}

.menu.active {
  display: block;
}

.no-scroll {
  overflow: hidden;
}

.menu-content {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 20px;
}

.menu-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  font-size: 0.95rem;
}

.menu-nav a:hover,
.menu-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-2px);
}

.menu-section {
  scroll-margin-top: 120px;
}

.menu-label {
  color: #ffd166;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.menu-description {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
  line-height: 1.7;
}

.menu-sections {
  display: grid;
  gap: 32px;
}

.menu-section h3 {
  font-size: 1.35rem;
  color: white;
  margin-bottom: 16px;
}

.menu-items {
  display: grid;
  gap: 12px;
}

.menu-item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.menu-item-row span:first-child {
  color: #FFD700;
  font-weight: 500;
}

.menu-item-row span:last-child {
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  white-space: pre-wrap;
}

.menu-item-spaced span:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  .menu-item-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .menu-item-row span:last-child {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 15px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background-image: url("../img/fondo.jpeg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: #0d3361;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #000;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 2100;
    padding-bottom: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    color: var(--color-white);
    text-align: center;
  }

  .hero {
    min-height: 75vh;
    padding: 0;
  }

  .hero-overlay {
    padding: 25px 20px 30px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .hero-content .btn {
    width: min(100%, 240px);
    padding: 12px 18px;
    font-size: 0.95rem;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
  }

  .hero-controls {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }

  .menu {
    padding: 100px 15px 20px;
  }

  .menu-content {
    padding-top: 10px;
  }

  .menu-nav {
    justify-content: center;
  }

  .menu-nav a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav {
    min-height: 80px;
  }

  .logo {
    height: 200px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-slide {
    background-size: contain;
  }

  .hero-welcome-text {
    font-size: 1.3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .slider-control,
  .btn,
  .menu-close {
    width: 44px;
    height: 44px;
  }

  .menu-close {
    top: 15px;
    right: 15px;
  }
}

.hero {
  padding-inline: 0;
}

.menu,
.about,
.contact,
.footer {
  padding-inline: 20px;
}

/* MENU */
/* Las reglas de .menu para el overlay ya se definen arriba */

.contact,
.about {
  padding: 80px 20px;
  text-align: center;
}

.mayo,
.extras {
  padding: 20px 20px;
  text-align: center;
}

.about,
.contact {
  gap: 18px;
}

.about p,
.contact p {
  margin: 18px auto;
  max-width: 760px;
  line-height: 1.8;
}

.about {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about div {

  max-width: 750px;
}

.about div ul li a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
}

.mayo {
  min-height: calc(50vh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 0, 0);
}

.mayo div {

  max-width: 750px;
}

.extras {
  min-height: calc(50vh - 100px);
  background-color: rgb(0, 0, 0);
}

.extras div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 750px;
  margin: 0 auto;

}

.contact-map {
  position: relative;
  margin: 30px calc(-50vw + 50%) 0;
  width: 100vw;
  height: 320px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.contact-map-overlay a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: transparent;
}



/* FOOTER */
.footer {
  text-align: center;
  padding: 40px 100px;
  background-color: #000;
  color: white;
}

.none {
  display: none;
}