@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&family=Nunito:wght@700;800;900&display=swap');

:root {
    --primary: #D42B2B;
    --primary-dark: #A31E1E;
    --primary-light: #FF5555;
    --secondary: #FFD700;
    --secondary-dark: #E6C000;
    --dark: #1A1A1A;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --water-blue: #29AEE8;
    --water-teal: #00C2A8;
    --light-bg: #FFF9F0;
    --cream: #FEF3C7;
    --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Preloader */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}
.wave-loader {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-right: 5px solid var(--secondary);
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.loader-text {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: pulse-text 1.2s ease-in-out infinite;
}
@keyframes pulse-text { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Navbar */
#navbar {
    transition: all 0.4s ease;
    background: transparent;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Over dark hero — links are white until scrolled */
#navbar[data-dark-hero]:not(.scrolled) nav a {
    color: rgba(255, 255, 255, 0.88) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
#navbar[data-dark-hero]:not(.scrolled) nav a:hover,
#navbar[data-dark-hero]:not(.scrolled) nav a.text-primary {
    color: var(--secondary) !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
#navbar[data-dark-hero]:not(.scrolled) #mobile-menu-btn {
    color: white !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Always white when mobile menu is open */
#navbar.menu-open #mobile-menu-btn {
    color: white !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Announcement Bar */
.notice-bar {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--dark);
    font-weight: 700;
    font-family: 'Baloo 2', sans-serif;
    font-size: 13px;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 0.04em;
}
.notice-bar span { animation: marquee-fade 0.5s ease; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 700;
    font-family: 'Baloo 2', sans-serif;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 6px 20px rgba(212, 43, 43, 0.35);
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 43, 43, 0.45);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #fff !important;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--dark) !important;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 700;
    font-family: 'Baloo 2', sans-serif;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.55);
    color: var(--dark) !important;
}

.btn-outline-white {
    background: transparent;
    color: #fff !important;
    border: 2.5px solid rgba(255,255,255,0.8);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    font-family: 'Baloo 2', sans-serif;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
}
.btn-outline-white:hover {
    background: #fff;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-outline-red {
    background: transparent;
    color: var(--primary) !important;
    border: 2.5px solid var(--primary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    font-family: 'Baloo 2', sans-serif;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
}
.btn-outline-red:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212,43,43,0.35);
}

/* Wave Dividers */
.wave-top {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}
.wave-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}
.wave-top svg, .wave-bottom svg { display: block; width: 100%; }

/* Section Badges */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Baloo 2', sans-serif;
    box-shadow: 0 4px 12px rgba(212,43,43,0.3);
}
.section-badge-yellow {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

/* Hero */
.hero-section { position: relative; min-height: 100vh; overflow: hidden; }
.hero-overlay {
    background: linear-gradient(135deg, rgba(180,20,20,0.80) 0%, rgba(15,40,100,0.55) 60%, rgba(0,0,0,0.3) 100%);
}

/* Floating Bubbles */
@keyframes bubble-float {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-30px) scale(1.05); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 0.7; }
}
.bubble { animation: bubble-float ease-in-out infinite; }

/* Park Cards */
.park-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.09);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.park-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212,43,43,0.18);
}

/* Attraction Cards */
.attraction-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212,43,43,0.2);
}
.attraction-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.attraction-card:hover img { transform: scale(1.08); }
.attraction-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(180,20,20,0.92) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
    transition: all 0.4s ease;
}
.attraction-card:hover .attraction-card-overlay {
    background: linear-gradient(to top, rgba(180,20,20,0.97) 0%, rgba(0,0,0,0.35) 65%, transparent 100%);
}
.attraction-card-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px;
    color: #fff;
    transform: translateY(8px);
    transition: transform 0.4s ease;
    z-index: 2;
}
.attraction-card:hover .attraction-card-content { transform: translateY(0); }

/* Package Cards */
.package-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 8px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2.5px solid #F3F4F6;
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(212,43,43,0.15);
    border-color: var(--primary);
}
.package-card.featured {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 15px 50px rgba(212,43,43,0.4);
}
.package-card.featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(212,43,43,0.5);
}

/* Form Inputs */
.park-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--dark);
    outline: none;
    appearance: none;
}
.park-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(212,43,43,0.1);
}
.park-input option { color: var(--dark); background: #fff; }

/* Contact Cards */
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary);
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212,43,43,0.15);
}

/* Stats Counter */
.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.07);
    transition: all 0.4s ease;
    border-top: 4px solid var(--primary);
}
.stat-card:hover { transform: translateY(-5px); }
.stat-num {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Baloo 2', sans-serif;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    margin-top: 8px;
}

/* Gallery Items */
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(180,20,20,0.88) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex; align-items: flex-end;
    padding: 20px;
    color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Feature Icons */
.feature-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.feature-icon-red { background: rgba(212,43,43,0.1); color: var(--primary); }
.feature-icon-yellow { background: rgba(255,215,0,0.15); color: #B8860B; }
.feature-icon-blue { background: rgba(41,174,232,0.12); color: var(--water-blue); }
.feature-icon-teal { background: rgba(0,194,168,0.12); color: var(--water-teal); }

/* Hover lift */
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-6px); }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #8B0000 100%);
    position: relative;
    overflow: hidden;
    padding: 160px 0 80px;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 500px; height: 500px;
    background: rgba(255,215,0,0.12);
    border-radius: 50%;
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -8%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}

/* Swiper */
.swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.4; width: 10px; height: 10px; border-radius: 5px;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: var(--primary); opacity: 1; width: 28px;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 99;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    animation: float-btn 3s ease-in-out infinite;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 26px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.floating-wa:hover { transform: scale(1.15) !important; }
@keyframes float-btn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Booking form */
.booking-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Cinematic block (kept for backwards compat, styled neutral) */
.cinematic-block {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.cinematic-block img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.cinematic-block:hover img { transform: scale(1.06); }

/* Responsive */
@media (max-width: 1024px) {
    .booking-form-card { padding: 32px; }
}
@media (max-width: 768px) {
    .page-header { padding: 130px 0 60px; }
    .park-card, .package-card { border-radius: 16px; }
    .btn-primary, .btn-secondary, .btn-outline-white, .btn-outline-red {
        padding: 13px 24px; font-size: 13px;
    }
}
@media (max-width: 480px) {
    .page-header { padding: 110px 0 48px; }
    .notice-bar { font-size: 11px; padding: 6px 0; }
    .booking-form-card { padding: 20px 16px; }
}
