/* =============================================
   MUNDALIA – THEME PARK · GLOBAL STYLES
   ============================================= */

:root {
    --mundalia-gold: #f5a623;
    --mundalia-dark: #1a1a2e;
    --mundalia-red: #e63946;
    --mundalia-teal: #0d7377;
    --mundalia-light: #f8f4ef;
    --mundalia-purple: #6a0572;
    --font-main: 'Nunito', sans-serif;
    --font-display: 'Playfair Display', serif;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: var(--font-main);
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.topbar {
    background: var(--mundalia-dark);
    color: #ccc;
    font-size: 0.78rem;
    padding: 6px 0;
    letter-spacing: 0.3px;
}
.topbar a.topbar-social {
    color: #ccc;
    margin-left: 8px;
    transition: color .2s;
    text-decoration: none;
}
.topbar a.topbar-social:hover { color: var(--mundalia-gold); }

/* ===== NAVBAR ===== */
.mundalia-navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 1050;
}
.mundalia-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--mundalia-gold) !important;
    letter-spacing: 2px;
    text-decoration: none;
}
.brand-icon { font-size: 1.5rem; }
.brand-text { text-shadow: 0 0 20px rgba(245,166,35,0.5); }

.mundalia-nav-link {
    color: #e0e0e0 !important;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: all .25s;
    text-transform: uppercase;
}
.mundalia-nav-link:hover, .mundalia-nav-link.active {
    color: var(--mundalia-gold) !important;
    background: rgba(245,166,35,0.12);
}
.mundalia-dropdown {
    background: #1a1a2e;
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: 10px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.mundalia-dropdown .dropdown-item {
    color: #ddd;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: all .2s;
}
.mundalia-dropdown .dropdown-item:hover {
    background: rgba(245,166,35,0.15);
    color: var(--mundalia-gold);
}
.flag { margin-right: 6px; font-size: 1.1rem; }

.btn-entradas {
    background: linear-gradient(135deg, var(--mundalia-gold), #e8920d);
    color: #1a1a2e !important;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1px;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(245,166,35,0.4);
    transition: all .3s;
    text-transform: uppercase;
    text-decoration: none;
}
.btn-entradas:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,166,35,0.6);
    background: linear-gradient(135deg, #ffbe44, var(--mundalia-gold));
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel { position: relative; }
.hero-slide {
    height: 90vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 580px;
    color: #fff;
}
.hero-badge {
    display: inline-block;
    background: var(--mundalia-gold);
    color: #1a1a2e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.6;
}
.btn-hero-primary {
    background: var(--mundalia-gold);
    color: #1a1a2e;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(245,166,35,0.5);
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
    margin-right: 12px;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(245,166,35,0.7); color: #1a1a2e; }
.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1rem;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(245,166,35,0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

/* ===== STATS BAR ===== */
.stats-bar {
    background: linear-gradient(135deg, var(--mundalia-dark), #16213e);
    padding: 28px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--mundalia-gold);
    line-height: 1;
}
.stat-label { font-size: 0.85rem; color: #bbb; letter-spacing: 1px; text-transform: uppercase; }

/* ===== SECTION TITLES ===== */
.section-eyebrow {
    display: inline-block;
    background: rgba(245,166,35,0.12);
    color: var(--mundalia-gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--mundalia-dark);
    line-height: 1.2;
}
.section-title span { color: var(--mundalia-gold); }
.section-subtitle { color: #666; font-size: 1.05rem; max-width: 600px; }

/* ===== ZONES ===== */
.zones-section { background: var(--mundalia-light); padding: 80px 0; }
.zone-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all .35s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 100%;
}
.zone-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.zone-img-wrap {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.zone-flag-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.zone-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 18px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}
.zone-body { padding: 18px; }
.zone-attraction-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin: 2px;
    font-weight: 600;
}
.zone-attr-hot { background: rgba(230,57,70,0.1); color: var(--mundalia-red); }
.zone-thrill-bar { height: 6px; border-radius: 3px; background: #e0e0e0; overflow: hidden; }
.zone-thrill-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--mundalia-gold), var(--mundalia-red)); }

/* ===== TICKETS ===== */
.tickets-section { padding: 80px 0; background: #fff; }
.ticket-card {
    border: 2px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s;
    position: relative;
    height: 100%;
}
.ticket-card:hover { border-color: var(--mundalia-gold); box-shadow: 0 15px 40px rgba(245,166,35,0.2); transform: translateY(-6px); }
.ticket-card.featured { border-color: var(--mundalia-gold); box-shadow: 0 15px 40px rgba(245,166,35,0.25); }
.ticket-header { padding: 28px 24px 18px; }
.ticket-badge-popular {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--mundalia-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
}
.ticket-icon { font-size: 2.5rem; margin-bottom: 10px; }
.ticket-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--mundalia-dark); }
.ticket-price { font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: var(--mundalia-gold); line-height: 1; }
.ticket-price small { font-size: 1rem; color: #999; font-family: var(--font-main); font-weight: 400; }
.ticket-price .euro { font-size: 1.8rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.ticket-divider { border-top: 1px dashed #ddd; margin: 14px 24px; }
.ticket-features { padding: 0 24px 24px; }
.ticket-feature { padding: 7px 0; font-size: 0.9rem; color: #444; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f5f5f5; }
.ticket-feature i.fa-check { color: #27ae60; }
.ticket-feature i.fa-xmark { color: #ccc; }
.btn-ticket {
    display: block;
    margin: 0 24px 24px;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    border: 2px solid var(--mundalia-gold);
    color: var(--mundalia-gold);
    background: transparent;
}
.ticket-card.featured .btn-ticket, .btn-ticket:hover {
    background: linear-gradient(135deg, var(--mundalia-gold), #e8920d);
    color: #1a1a2e;
    box-shadow: 0 6px 20px rgba(245,166,35,0.4);
    border-color: transparent;
}

/* ===== RESTAURANTS ===== */
.restaurants-section { padding: 80px 0; background: var(--mundalia-light); }
.restaurant-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all .3s;
    height: 100%;
    background: #fff;
}
.restaurant-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); }
.restaurant-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.restaurant-zone-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
}
.restaurant-body { padding: 18px; }
.restaurant-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--mundalia-dark); margin-bottom: 6px; }
.restaurant-cuisine { font-size: 0.82rem; color: var(--mundalia-gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.restaurant-desc { font-size: 0.88rem; color: #666; margin: 10px 0; line-height: 1.5; }
.restaurant-meta { display: flex; gap: 14px; font-size: 0.8rem; color: #888; }
.restaurant-stars i { color: var(--mundalia-gold); font-size: 0.8rem; }
.restaurant-price-range { font-weight: 700; color: #27ae60; }

/* ===== SOUVENIRS ===== */
.souvenirs-section { padding: 80px 0; background: #fff; }
.shop-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all .3s;
    background: #fff;
    height: 100%;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: 0 14px 35px rgba(0,0,0,0.14); }
.shop-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.shop-body { padding: 16px; }
.shop-name { font-weight: 800; color: var(--mundalia-dark); font-size: 1rem; margin-bottom: 4px; }
.shop-tag { display: inline-block; font-size: 0.7rem; background: var(--mundalia-gold); color: #1a1a2e; padding: 2px 9px; border-radius: 10px; font-weight: 700; }
.shop-location { font-size: 0.8rem; color: #888; margin-top: 6px; }

/* ===== ONLINE SHOP ===== */
.online-section { padding: 80px 0; background: var(--mundalia-light); }
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: all .3s;
    height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 35px rgba(0,0,0,0.13); }
.product-img-wrap {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
}
.badge-new { background: #27ae60; color: #fff; }
.badge-sale { background: var(--mundalia-red); color: #fff; }
.badge-exclusive { background: var(--mundalia-purple); color: #fff; }
.product-body { padding: 16px; }
.product-name { font-weight: 800; color: var(--mundalia-dark); font-size: 0.95rem; margin-bottom: 4px; }
.product-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--mundalia-gold); }
.product-price-old { font-size: 0.85rem; color: #aaa; text-decoration: line-through; margin-left: 6px; }
.product-rating i { color: var(--mundalia-gold); font-size: 0.75rem; }
.btn-add-cart {
    display: block;
    width: 100%;
    background: var(--mundalia-dark);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 12px;
    transition: all .25s;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}
.btn-add-cart:hover { background: var(--mundalia-gold); color: #1a1a2e; }

/* ===== ABOUT SECTION (preview) ===== */
.about-preview { padding: 90px 0; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; }
.about-feature-icon {
    width: 60px; height: 60px;
    background: rgba(245,166,35,0.15);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--mundalia-gold);
    margin-bottom: 14px;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--mundalia-gold) 0%, #e8920d 100%);
    padding: 50px 0;
}

/* ===== INSTAGRAM GALLERY ===== */
.insta-section { padding: 60px 0; background: #fff; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.insta-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.insta-overlay {
    position: absolute; inset: 0;
    background: rgba(245,166,35,0.0);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem;
    transition: all .3s;
}
.insta-item:hover .insta-overlay { background: rgba(26,26,46,0.6); }

/* ===== PAGE BANNERS (inner pages) ===== */
.page-banner {
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex; align-items: center;
}
.page-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.3));
}
.page-banner-content { position: relative; z-index: 2; color: #fff; padding: 0 60px; }
.page-banner-content .section-title { color: #fff; }

/* ===== BREADCRUMB ===== */
.mundalia-breadcrumb { background: #f5f0eb; padding: 12px 0; }
.breadcrumb-item a { color: var(--mundalia-gold); text-decoration: none; }
.breadcrumb-item.active { color: #666; }

/* ===== ACCORDION (FAQs) ===== */
.mundalia-accordion .accordion-button {
    font-weight: 700;
    color: var(--mundalia-dark);
    background: #fff;
}
.mundalia-accordion .accordion-button:not(.collapsed) {
    background: rgba(245,166,35,0.08);
    color: var(--mundalia-gold);
    box-shadow: none;
}

/* ===== FOOTER ===== */
.mundalia-footer {
    background: #0d0d1a;
    color: #aaa;
}
.footer-brand {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--mundalia-gold);
    margin-bottom: 14px;
}
.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.footer-desc { font-size: 0.88rem; color: #888; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.footer-links a:hover { color: var(--mundalia-gold); }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%; background: rgba(255,255,255,0.05);
    color: #aaa; text-decoration: none; margin-right: 6px; margin-top: 14px;
    transition: all .25s;
}
.footer-social a:hover { background: var(--mundalia-gold); color: #1a1a2e; }
.footer-newsletter .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px 0 0 8px;
}
.btn-newsletter {
    background: var(--mundalia-gold);
    color: #1a1a2e;
    font-weight: 800;
    border-radius: 0 8px 8px 0;
    border: none;
    padding: 0 18px;
}
.footer-horario { font-size: 0.8rem; color: #777; line-height: 1.8; }
.footer-hr { border-color: rgba(255,255,255,0.06); }
.footer-bottom { color: #666; font-size: 0.82rem; }

/* ===== UTILITIES ===== */
.btn:focus, .btn:active:focus, .form-control:focus {
  box-shadow: 0 0 0 0.1rem rgba(245,166,35,0.3);
}
.bg-mundalia-dark { background: var(--mundalia-dark); }
.text-gold { color: var(--mundalia-gold); }
.rounded-xl { border-radius: 20px; }
.fw-900 { font-weight: 900; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeup { animation: fadeInUp .7s ease forwards; }

  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}