/* VARIABLES -------------------------------------------------*/
:root {
  --color-dark: #080808;
  --color-dark-2: #111111;
  --color-gold: #c9a45c;
  --color-text: #ffffff;
  --color-text-muted: #dddddd;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --header-height: 100px;
}

/* RESET -------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: #f5f5f5;
  color: #1a1a1a;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* BOTONES -------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-dark);
}

.btn-primary:hover {
  background: #dab871;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* HEADER -------------------------------------------------*/
#inicio,
#opiniones,
#contacto,
#admin,
.reservas,
.admin {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 6%;
  max-width: 1600px;
  margin: 0 auto;
}

.header.scrolled {
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  padding-top: 10px;
  padding-bottom: 10px;
}

.header.scrolled .logo img {
  width: 110px;
}

.header .logo img {
  width: 150px;
  transition: width 0.3s;
}

/* Botón hamburguesa: visible solo en mobile */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
}

.menu-toggle:hover .bar {
  background: var(--color-gold);
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

/* Nav: colapsado por default en mobile */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-dark);
  padding: 100px 40px;
  transition: right 0.35s ease;
}

.menu.is-open {
  right: 0;
}

.menu ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu a {
  color: var(--color-text);
  font-size: 18px;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--color-gold);
}

.header-actions {
  display: none;
}

/* ---- TABLET (768px+) ---- */
@media (min-width: 768px) {
  .header {
    padding: 24px 8%;
  }

  .header .logo img {
    width: 170px;
  }

  .menu {
    width: 45%;
  }
}

/* ---- DESKTOP (1200px+) ---- */
@media (min-width: 1200px) {
  .header {
    padding: 20px 40px;
  }

  .header .logo img {
    width: 150px;
  }

  .menu-toggle {
    display: none;
  }

  .menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
  }

  .menu ul {
    flex-direction: row;
    gap: 22px;
  }

  .menu a {
    font-size: 14px;
    white-space: nowrap;
  }

  .header-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
  }

  .header-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* ---- PANTALLAS GRANDES (1600px+) ---- */
@media (min-width: 1600px) {
  .header {
    padding: 28px 6%;
  }

  .header .logo img {
    width: 180px;
  }

  .menu ul {
    gap: 32px;
  }

  .menu a {
    font-size: 16px;
  }

  .header-actions {
    gap: 16px;
  }

  .header-actions .btn {
    padding: 13px 26px;
    font-size: 15px;
  }
}

/* HERO -------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 6% 6% 6%;
  background:
    linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.75) 0%,
      rgba(8, 8, 8, 0.35) 45%,
      rgba(8, 8, 8, 0.85) 100%
    ),
    url("img/hero-image.png") center/cover no-repeat;
}

.hero-content {
  flex: 1;
  color: var(--color-text);
  padding-top: 100px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

h1 .highlight {
  color: var(--color-gold);
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
}

.hero-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero-features i {
  font-size: 22px;
  color: var(--color-gold);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-actions .btn {
  width: 100%;
}
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .reservation-card {
    max-width: 500px;
  }
}

/* ---- TABLET (768px+) ---- */
@media (min-width: 768px) {
  .hero-content {
    padding-top: 130px;
  }

  .hero-features {
    gap: 36px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }
}

/* ---- DESKTOP (1200px+) ---- */
@media (min-width: 1200px) {
  .hero-content {
    padding-top: 0;
    max-width: 620px;
  }

  .hero-features {
    justify-content: flex-start;
  }
}

/* FOOTER -------------------------------------------------*/
.footer {
  background: var(--color-dark);
  color: #fff;
  padding: 50px 25px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 45px;
  align-items: flex-start;
}

.footer-col {
  border-bottom: 1px solid rgba(201, 164, 92, 0.3);
  padding-bottom: 30px;
  text-align: center;
}

.footer-col:last-of-type {
  border-bottom: none;
}

.footer .logo {
  width: 180px;
  margin: 0 auto 35px;
}

.contact p {
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #ddd;
  font-size: 16px;
}

.contact i {
  color: var(--color-gold);
  width: 20px;
}

.footer h3 {
  color: var(--color-gold);
  font-size: 24px;
  font-family: var(--font-heading);
  margin-bottom: 30px;
  position: relative;
}

.footer h3::after {
  content: "";
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  display: block;
  margin: 12px auto 0;
}

.footer li {
  margin-bottom: 20px;
}

.footer a {
  color: #fff;
  transition: 0.3s;
  font-size: 17px;
}

.footer a:hover {
  color: var(--color-gold);
  padding-left: 8px;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.social i {
  font-size: 28px;
  color: var(--color-gold);
  margin-right: 12px;
}

.footer-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 14px;
  filter: grayscale(0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 164, 92, 0.35);
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
  color: #ccc;
  font-size: 15px;
}

/* ---- TABLET (768px+) ---- */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-map {
    grid-column: span 2;
  }
}

/* ---- DESKTOP (1100px+) ---- */
@media (min-width: 1100px) {
  .footer {
    padding: 70px 8%;
  }

  .footer-container {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }

  .footer-col {
    text-align: left;
    border-bottom: none;
    border-right: 1px solid rgba(201, 164, 92, 0.35);
    padding-bottom: 0;
    padding-right: 30px;
  }

  .footer-col:last-of-type {
    border-right: none;
  }

  .footer .logo {
    width: 220px;
    margin: 0 0 35px;
  }

  .contact p {
    justify-content: flex-start;
  }

  .footer h3::after {
    margin: 12px 0 0;
  }

  .social {
    align-items: flex-start;
  }

  .footer h3 {
    font-size: 28px;
  }

  .footer-map {
    grid-column: auto;
  }

  .footer-map iframe {
    height: 260px;
  }
}

.reservas {
  flex: 0 0 600px; /* ancho fijo del formulario */
  display: flex;
  justify-content: flex-end;
  padding-top: 110px;
}
.reservation-card {
  width: 100%;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #3a3121;
  padding: 12px 20px;
  color: #fff;
}
h1 {
  font-size: 36px;
  margin-bottom: 6px;
}

.subtitle {
  color: #9a9a9a;
  margin-bottom: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #b8b8b8;
  margin-bottom: 7px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  background: #222;
  border: 1px solid #333;
  color: white;
  padding: 13px;
  border-radius: 4px;
  outline: none;
}

textarea {
  resize: none;
  height: 70px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #d4a63d;
}

.price-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #4a3d20;
  background: #1b1b1b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.small {
  display: block;
  color: #9b9b9b;
  font-size: 13px;
}

.price {
  color: #d8a53f;
  font-size: 34px;
  font-weight: bold;
}

.btn-reservar {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  border: none;
  background: #d8a53f;
  color: #111;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

.btn-reservar:hover {
  background: #c6932b;
}

.opinion-card {
  background: #181818;
  border: 1px solid #3a3121;
  padding: 28px;
  color: #fff;
}
.opiniones h1 {
  font-size: 36px;
  margin-bottom: 6px;
}

.opiniones .subtitle {
  color: #9a9a9a;
  margin-bottom: 30px;
}

.opiniones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.opinion {
  background: #222;
  border: 1px solid #333;
  border-left: 4px solid #d8a53f;
  border-radius: 4px;
  padding: 18px;
  transition: 0.3s;
}

.opinion:hover {
  border-color: #d8a53f;
  transform: translateY(-3px);
}

.opinion h3 {
  color: #d8a53f;
  margin-bottom: 10px;
  font-size: 18px;
}

.opinion p {
  color: #d0d0d0;
  line-height: 1.5;
  margin-bottom: 15px;
}

.estrellas {
  font-size: 22px;
  color: #d8a53f;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .opinion-card {
    width: 100%;
    padding: 20px;
  }

  .opiniones-grid {
    grid-template-columns: 1fr;
  }

  .opiniones h1 {
    font-size: 28px;
  }
}

.admin {
  display: flex;
  justify-content: center;
  padding: 50px 6%;
}

.admin-card {
  width: 500px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #3a3121;
  padding: 28px;
  color: #fff;
}

.admin-card h1 {
  font-size: 36px;
  margin-bottom: 6px;
}

.admin-card .subtitle {
  color: #9a9a9a;
  margin-bottom: 30px;
}

.field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #b8b8b8;
  margin-bottom: 7px;
  font-weight: 600;
}

.field input {
  width: 100%;
  background: #222;
  border: 1px solid #333;
  color: #fff;
  padding: 13px;
  border-radius: 4px;
  outline: none;
}

.field input:focus {
  border-color: #d8a53f;
}
.btn-login {
  width: 100%;
  margin-top: 22px;
  padding: 16px;
  border: none;
  background: #d8a53f;
  color: #111;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #c6932b;
}

@media (max-width: 768px) {
  .admin-card {
    width: 100%;
  }

  .admin-card h1 {
    font-size: 28px;
  }
}
.admin-panel {
 background: #181818;
 padding: 50px !important;
} 
.admin-panel-card {
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #3a3121;
  padding: 28px;
  color: #fff;
}
.table-wrapper {
  overflow-x: auto;
}

.tabla-reservas {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.tabla-reservas th,
.tabla-reservas td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #333;
  font-size: 14px;
  white-space: nowrap;
}

.tabla-reservas th {
  color: #d8a53f;
  text-transform: uppercase;
  font-size: 12px;
}

.btn-cancelar {
  background: transparent;
  border: 1px solid #c0392b;
  color: #e74c3c;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn-cancelar:hover {
  background: #c0392b;
  color: #fff;
}

.hidden {
  display: none;
}
