/* Public site styles. Theme colors stay in the header :root block. */
/* ===== GLOBAL RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--surface);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -30%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: bgFloat 12s ease-in-out infinite alternate;
}
body::after {
    content: '';
    position: fixed;
    bottom: -40%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: bgFloat 15s ease-in-out infinite alternate-reverse;
}
@keyframes bgFloat {
    0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
    100% { transform: translate(3%, 5%) scale(1.08); opacity: 1; }
}

/* ===== PREMIUM NAVBAR ===== */
.public-navbar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.public-navbar.scrolled {
    background: var(--dark);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 0.7rem 0;
}
.navbar-brand-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.navbar-brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.1;
}
.navbar-logo {
    height: 58px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
}
/* ===== MAIN CONTAINER ===== */
.container-content {
    position: relative;
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}
/* Homepage: tighter rhythm without removing breathing room */
body.is-home .container-content {
    padding-top: 0.25rem;
    padding-bottom: 2.5rem;
}
body.is-home .hero-section {
    padding-top: 0.35rem !important;
}

/* ===== PREMIUM CARDS ===== */
.premium-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}
.premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, transparent 60%);
    pointer-events: none;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--primary) 15%, transparent);
    border-color: color-mix(in srgb, var(--primary) 20%, transparent);
}


/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 80%, #6366f1) 100%);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 25px var(--primary-glow); color: white; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:active { transform: translateY(0); }

.btn-outline-secondary {
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    background: transparent;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-outline-secondary:hover {
    background: #f8fafc;
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* ===== HERO SECTION ===== */
.hero-section { padding: 1rem 0 2.5rem; }
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}


/* ===== CTA BANNER ===== */
.cta-banner {
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 60%, #6366f1) 50%, #6366f1 100%);
    position: relative;
    overflow: hidden;
    padding: 3rem 2.5rem;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 20%;
    width: 350px; height: 350px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

/* ===== DATE PICKER STRIP ===== */
.date-item {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    color: var(--text-primary);
    user-select: none;
    min-width: 72px;
}
.date-item:hover:not(.active) {
    border-color: color-mix(in srgb, var(--primary) 30%, transparent);
    background: var(--primary-light) !important;
    transform: translateY(-2px);
}
.date-item.active {
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #6366f1)) !important;
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-2px);
}
.date-item.active span { color: rgba(255,255,255,0.85) !important; }

/* ===== SLOT GRID ===== */
.slot-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 0.6rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    position: relative;
    overflow: hidden;
    user-select: none;
}
.slot-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #6366f1));
    opacity: 0;
    transition: opacity 0.25s;
}
.slot-card .slot-label { position: relative; z-index: 1; color: var(--text-primary); }
.slot-card:hover:not(.booked):not(.past) {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--primary-glow);
}
.slot-card:hover:not(.booked):not(.past) .slot-label { color: var(--primary); }
.slot-card.selected { border-color: transparent; box-shadow: 0 6px 20px var(--primary-glow); }
.slot-card.selected::before { opacity: 1; }
.slot-card.selected .slot-label { color: white; }
.slot-card.booked { background: #fef2f2; border-color: #fecaca; cursor: not-allowed; }
.slot-card.booked .slot-label { color: #f87171; }
.slot-card.past { background: #f8fafc; border-color: #e2e8f0; cursor: not-allowed; opacity: 0.5; }
.slot-card.past .slot-label { color: var(--text-light); }

/* ===== FORMS ===== */
.form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: var(--transition);
    background: white;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}
.form-label { font-weight: 600; font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem; }

/* Payment type selector */
.payment-type-btn {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    background: white;
    width: 100%;
    text-align: left;
}
.payment-type-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.payment-type-btn.active { border-color: var(--primary); background: var(--primary-light); }
.payment-type-btn.active .ptype-icon { background: var(--primary); color: white; }
.ptype-icon { width: 40px; height: 40px; border-radius: 10px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-muted); transition: var(--transition); flex-shrink: 0; }


/* ===== FOOTER ===== */
.public-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.78rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }


/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container-content { padding-top: 1.5rem; }
    body.is-home .container-content { padding-top: 0.25rem; padding-bottom: 2rem; }
    .hero-title { font-size: 1.8rem; }
    .cta-banner { padding: 2rem 1.5rem; }
    .public-navbar { padding: 0.65rem 0; }
    .navbar-logo { height: 50px; max-width: 62px; }
    .navbar-brand-name { font-size: 1.2rem; }
    /* Prevent iOS Safari zooming on focus */
    input, select, textarea, .form-control {
        font-size: 16px !important;
    }
}

/* Footer */
.footer-brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    max-width: 100%;
}
.footer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
    display: block;
}
.footer-logo-fallback {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-logo-fallback i { font-size: 0.95rem; }
.footer-brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.2;
    text-align: left;
}
.footer-address {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.footer-address__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.footer-address__label i { color: var(--primary); }
.footer-address__lines { text-align: center; }
@media (min-width: 768px) {
    .footer-brand-lockup { justify-content: flex-start; }
    .footer-address { align-items: flex-start; }
    .footer-address__label { justify-content: flex-start; }
    .footer-address__lines { text-align: left; }
}
.footer-seo-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: center;
}
@media (min-width: 768px) {
    .footer-seo-links { align-items: flex-start; }
}
.footer-seo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.7rem;
    padding: 0.55rem 0.8rem;
    width: fit-content;
    max-width: 100%;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-seo-link i {
    color: var(--primary);
    font-size: 0.85rem;
}
.footer-seo-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: color-mix(in srgb, var(--primary) 45%, transparent);
}
.footer-seo-link.is-current {
    color: #fff !important;
    background: color-mix(in srgb, var(--primary) 22%, transparent);
    border-color: color-mix(in srgb, var(--primary) 55%, transparent);
    pointer-events: none;
}

/* Home */
.pulse-dot-red { animation: pulse-red 2s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); } }

.hero-avatar-stack { display: flex; align-items: center; }
.hero-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    margin-right: -12px;
}
.hero-avatar-img:last-child { margin-right: 0; }

.pitch-book-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    min-height: 88px;
    padding: 1rem 2rem;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    overflow: hidden;
    background:
        repeating-linear-gradient(
            90deg,
            #2d8f47 0,
            #2d8f47 14px,
            #39a34b 14px,
            #39a34b 28px
        );
    box-shadow: 0 12px 32px rgba(57, 163, 75, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pitch-book-btn::before {
    content: '';
    position: absolute;
    inset: 10px 14px;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 6px;
    pointer-events: none;
}
.pitch-book-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 62%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.45);
    pointer-events: none;
}
.pitch-book-btn__label {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.pitch-book-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(57, 163, 75, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    color: #fff;
}
.pitch-book-btn:active { transform: translateY(-1px); }

/* Mobile Responsiveness Overrides */
@media (max-width: 991px) {
    .hero-section { text-align: center; padding-top: 0.35rem !important; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-social-proof { justify-content: center; }
    .hero-main-img-wrap { border-radius: 40px !important; height: 350px !important; }
    .hero-image-container { margin-top: 1.25rem; }
    .position-absolute.bg-white.p-3 { left: 0 !important; bottom: 20px !important; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem !important; }
    .hero-main-img-wrap { height: 280px !important; }
    .cta-banner { padding: 2rem 1.5rem !important; }
    .pitch-book-btn { width: 100%; max-width: 280px; min-height: 76px; }
}

.bento-card:hover { transform: translateY(-10px); }
.transition-img { transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.bento-card:hover .transition-img { transform: scale(1.1); }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bento-card:hover .btn-primary-dark, .btn-primary-dark:hover { background: var(--primary) !important; color: white !important; }
.ground-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.facility-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #546e7a;
    line-height: 1.2;
    white-space: nowrap;
}
.facility-pill i { font-size: 0.9rem; opacity: 0.9; }
@media (max-width: 575.98px) {
    .facility-pill { font-size: 0.72rem; padding: 0.35rem 0.7rem; }
}

.video-card:hover .play-btn-circle {
    transform: scale(1.15);
    background: var(--primary);
    box-shadow: 0 0 20px rgba(57, 163, 75, 0.6);
    border-color: var(--primary);
}
.play-btn-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.video-card:hover .caption-area {
    background: rgba(0, 0, 0, 0.6);
}
.video-card-poster { display: block; pointer-events: none; }

/* Success */
.success-icon-circle {
    width: 100px; height: 100px; background: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto; font-size: 3.5rem; border: 8px solid white;
}
.badge-status-premium {
    padding: 0.5rem 1.25rem; border-radius: 100px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-status-premium.success { background: rgba(57, 163, 75, 0.2); color: #39A34B; border: 1px solid #39A34B; }
.badge-status-premium.warning { background: rgba(251, 191, 36, 0.2); color: #f59e0b; border: 1px solid #f59e0b; }
.detail-icon-circle { width: 45px; height: 45px; background: #f1f5f9; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.25rem; }
.btn-whatsapp { background: #25D366; color: white !important; border-radius: 20px; font-weight: 700; border: none; transition: 0.3s; }
.btn-whatsapp:hover { background: #128c7e !important; transform: translateY(-2px); color: white !important; }
.success-bounce { animation: bounce 1s infinite alternate; }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (max-width: 576px) {
    .premium-card { border-radius: 30px !important; }
    .display-5 { font-size: 1.8rem; }
}
