* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

:root {
  --bg: #0f0f12;
  --card: #18181d;
  --gold: #d4af37;
  --white: #ffffff;
  --text: #d6d6d6;
  --green: #25d366;
}

body {
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(15,15,18,.94);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 900;
}

.logo span {
  color: var(--gold);
}

.menu {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.menu a:hover {
  color: var(--gold);
}

.btn,
.btn-gold {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 35px;
  font-weight: 900;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
}

.hero {
  min-height: 96vh;
  padding: 150px 20px 90px;
  background:
    linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.78)),
    url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1600&q=80') center/cover;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 82px);
  max-width: 850px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 span,
.section-title small,
.contact-box h3 {
  color: var(--gold);
}

.hero p {
  max-width: 680px;
  font-size: 20px;
  color: #e5e5e5;
  margin-bottom: 35px;
}

section {
  padding: 90px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title small {
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(32px, 5vw, 50px);
  margin-top: 10px;
}

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

.card {
  background: var(--card);
  padding: 32px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.card p,
.card li {
  color: var(--text);
}

.card ul {
  list-style: none;
  margin-top: 15px;
}

.card li {
  margin-bottom: 10px;
}

.card li::before {
  content: '✓ ';
  color: var(--gold);
  font-weight: bold;
}

.gallery,
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery img,
.album-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.price {
  color: var(--gold);
  font-size: 38px;
  font-weight: 900;
  margin: 12px 0 18px;
}

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

form {
  background: #fff;
  color: #111;
  padding: 35px;
  border-radius: 25px;
}

label {
  display: block;
  font-weight: 900;
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 15px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

button {
  width: 100%;
  border: none;
  background: var(--gold);
  color: #111;
  padding: 16px;
  border-radius: 35px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.alert-success,
.alert-error {
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 800;
}

.alert-success {
  background: #e7f8ee;
  color: #126b35;
}

.alert-error {
  background: #ffe2e2;
  color: #8b0000;
}

.contact {
  background: #151519;
}

.contact-box {
  text-align: center;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--green);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,.35);
  z-index: 9999;
}

footer {
  text-align: center;
  padding: 28px 20px;
  background: #080809;
  color: #bbb;
  font-size: 14px;
}

.admin-body {
  background: #f3f3f3;
  color: #111;
}

.admin-wrap {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

.admin-top {
  background: #111;
  color: #fff;
  padding: 18px 20px;
}

.admin-top .admin-nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.admin-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-links a {
  background: #222;
  padding: 9px 14px;
  border-radius: 20px;
}

.admin-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  margin-bottom: 25px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

th {
  background: #111;
  color: #fff;
}

.admin-actions a {
  color: #0a58ca;
  font-weight: bold;
}

@media(max-width: 850px) {
  .menu {
    display: none;
  }

  .booking-wrap,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Logo del proyecto */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 72px;
  width: auto;
  border-radius: 10px;
}

.nav {
  padding-top: 14px;
  padding-bottom: 14px;
}

.hero {
  padding-top: 180px;
}

@media(max-width: 850px) {
  .logo img {
    height: 56px;
  }

  .hero {
    padding-top: 160px;
  }
}


/* Galería por categorías */
.gallery-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: -20px 0 42px;
}

.gallery-categories a {
  display: inline-block;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.45);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 28px;
  font-weight: 900;
  transition: .25s;
}

.gallery-categories a:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-2px);
}

.gallery-section {
  margin-bottom: 58px;
}

.gallery-section h3 {
  color: var(--gold);
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 6px;
  text-align: center;
}

.gallery-section p {
  color: var(--text);
  text-align: center;
  margin-bottom: 22px;
}

.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
}

.gallery figure img {
  transition: transform .35s ease, filter .35s ease;
}

.gallery figure:hover img {
  transform: scale(1.06);
  filter: brightness(.88);
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: 8px 13px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(212,175,55,.4);
}

.gallery-featured img {
  height: 340px;
}

@media(max-width: 850px) {
  .gallery-featured img {
    height: 280px;
  }

  .gallery-categories {
    justify-content: flex-start;
  }
}


/* Galería especial XV años */
.gallery-xv-eventos {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-xv-eventos figure:first-child {
  grid-column: span 2;
}

.gallery-xv-eventos figure:first-child img {
  height: 420px;
}

.gallery-note {
  background: rgba(212,175,55,.1);
  border: 1px solid rgba(212,175,55,.35);
  color: var(--text);
  padding: 18px 22px;
  border-radius: 18px;
  margin-top: 22px;
  text-align: center;
}

.gallery-note strong {
  color: var(--gold);
}

@media(max-width: 850px) {
  .gallery-xv-eventos figure:first-child {
    grid-column: span 1;
  }

  .gallery-xv-eventos figure:first-child img {
    height: 300px;
  }
}


/* Ajuste de imagen principal en galería XV */
.gallery-xv-eventos figure:first-child img {
  object-position: center top;
}
