/* ============================================
   DJ PELIGRO — WEBSITE STYLES v2
   Professional Wedding DJ • Albacete, España
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-alt: #1a1a1a;
  --dark-card: #161616;
  --gold: #c9a84c;
  --gold-light: #dfc06a;
  --gold-dark: #a88a32;
  --gold-bg: rgba(201,168,76,0.08);
  --gold-border: rgba(201,168,76,0.2);
  --white: #ffffff;
  --light: #f8f6f1;
  --gray: #888888;
  --gray-light: #cccccc;
  --text: #2d2d2d;
  --text-light: #5a5a5a;
  --text-muted: #999999;
  --green-wa: #25d366;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1160px;
  --transition: 0.3s ease;
  --shadow-sm: 0 1px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 6px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--black); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* --- TOPBAR --- */
.topbar {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.topbar a { color: var(--black); text-decoration: underline; text-underline-offset: 2px; }

/* --- NAVIGATION --- */
.navbar {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gold-border);
  transition: box-shadow var(--transition);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* ========== LOGO ========== */
.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar-logo img {
  height: 38px;
  width: auto;
  transition: opacity var(--transition);
}
.navbar-logo:hover img { opacity: 0.85; }

/* Logo en el footer */
.footer-logo img {
  height: 34px;
  width: auto;
}
/* ============================== */

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.navbar-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.navbar-menu a:hover,
.navbar-menu a.active { color: var(--white); }
.navbar-menu a:hover::after,
.navbar-menu a.active::after { width: 100%; }

.navbar-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  padding: 10px 22px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
}
.navbar-cta::after { display: none !important; }
.navbar-cta:hover { background: var(--gold-light) !important; color: var(--black) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO SECTIONS --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.75) 50%,
    rgba(10,10,10,0.9) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 60px 24px;
  width: 100%;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 .accent {
  color: var(--gold);
  display: block;
  margin-top: 0.15em;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.hero-badge { text-align: center; }
.hero-badge .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.hero-badge .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-sub { min-height: 55vh; }
.hero-mini { min-height: 38vh; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.3;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover {
  background: var(--light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-whatsapp { background: var(--green-wa); color: var(--white); }
.btn-whatsapp:hover {
  background: #20bd5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* --- SECTIONS --- */
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-light { background: var(--light); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-light); font-size: 1.02rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 24px 24px 28px; }
.service-card-body h3 { font-family: var(--font-display); }
.service-card-body p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 0; }

.section-dark .service-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
}
.section-dark .service-card-body p { color: rgba(255,255,255,0.6); }

/* --- ABOUT GRID --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid p { color: rgba(255,255,255,0.78); }
.about-img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

/* --- ZONE LINKS --- */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.zone-card {
  display: block;
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.zone-card h3 { color: var(--black); margin-bottom: 6px; }
.zone-card p { color: var(--text-light); font-size: 0.88rem; margin: 0; }

.zone-card-dark {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
}
.zone-card-dark h3 { color: var(--gold); }
.zone-card-dark p { color: rgba(255,255,255,0.6); }

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  padding: 28px 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
  opacity: 0.25;
}
.testimonial-stars { color: var(--gold); margin-bottom: 10px; font-size: 1rem; letter-spacing: 1px; }
.testimonial-text {
  font-style: italic;
  margin-bottom: 14px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-light);
}
.testimonial-author { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.testimonial-venue { font-size: 0.78rem; color: var(--text-muted); }

/* --- FAQ --- */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.07); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 44px 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
  line-height: 1.5;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.active .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-question:hover { color: var(--gold-dark); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--text-light); font-size: 0.92rem; }

/* --- FORMS --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { min-height: 110px; resize: vertical; }

.section-dark .form-group label { color: rgba(255,255,255,0.75); }
.section-dark .form-group input,
.section-dark .form-group select,
.section-dark .form-group textarea {
  background: var(--dark-card);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}
.section-dark .form-group input::placeholder,
.section-dark .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.section-dark .form-group input:focus,
.section-dark .form-group select:focus,
.section-dark .form-group textarea:focus { border-color: var(--gold); }

/* --- CONTACT LAYOUT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-block { margin-bottom: 28px; }
.contact-info-block h3 { font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 6px; }

/* --- VENUES --- */
.venues-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.venue-tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-dark);
}
.section-dark .venue-tag {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.25);
  color: var(--gold-light);
}

/* --- PRICING CARDS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.pricing-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
}
.pricing-card-default {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.pricing-card-featured {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--gold);
}
.pricing-price { color: var(--gold); font-size: 1.8rem; font-weight: 700; font-family: var(--font-display); margin-bottom: 4px; }
.pricing-name { font-weight: 700; margin-bottom: 8px; }
.pricing-desc { font-size: 0.84rem; margin: 0; }
.pricing-card-default .pricing-desc { color: var(--text-light); }
.pricing-card-featured .pricing-desc { color: rgba(255,255,255,0.65); }

/* --- CTA BAND --- */
.cta-band { background: var(--gold); padding: 48px 0; text-align: center; }
.cta-band h2 { color: var(--black); margin-bottom: 6px; }
.cta-band p { color: rgba(0,0,0,0.65); font-size: 1.02rem; margin-bottom: 24px; }

/* --- BLOG --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 24px 24px; }
.blog-card-date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.blog-card-body h3 a { color: var(--black); }
.blog-card-body h3 a:hover { color: var(--gold-dark); }
.blog-card-body .excerpt { color: var(--text-light); font-size: 0.9rem; margin-bottom: 0; }

/* Article content */
.article-content { max-width: 720px; margin: 0 auto; }
.article-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article-content h3 { margin-top: 2rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  margin: 2rem 0;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

/* Breadcrumbs */
.breadcrumbs { padding: 14px 0; font-size: 0.78rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs span { margin: 0 6px; }

/* --- FOOTER --- */
.footer { background: var(--black); color: rgba(255,255,255,0.65); padding: 56px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer p { font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-logo { margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); color: var(--white);
  font-size: 1rem; transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--black); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 32px rgba(37,211,102,0.5);
  color: var(--white);
}
.whatsapp-float svg { flex-shrink: 0; }

/* --- WHY CHOOSE GRID --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.why-item {
  text-align: center;
  padding: 20px;
}
.why-icon { font-size: 2.25rem; margin-bottom: 12px; }
.why-item h3 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 6px; }
.why-item p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }

/* --- MID-ARTICLE CTA --- */
.article-cta {
  background: var(--light);
  padding: 28px 32px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
  border-left: 4px solid var(--gold);
}
.article-cta h3 { margin-bottom: 6px; }
.article-cta p { margin-bottom: 16px; color: var(--text-light); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 24px;
    z-index: 5;
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu a {
    padding: 14px 0;
    display: block;
    font-size: 1.1rem;
    text-align: center;
  }
  .navbar-cta { margin-top: 12px; }
  .menu-toggle { display: block; z-index: 10; }

  .hero { min-height: 75vh; }
  .hero-sub { min-height: 45vh; }
  .hero-mini { min-height: 35vh; }
  .hero-badges { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > div:last-child { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }

  .section { padding: 52px 0; }

  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 16px; border-radius: 50%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
