@import 'colors.css';

/* ── Base ────────────────────────────────────────────────── */

html
{
    background-color: var(--bg-base);
    scroll-behavior: smooth;
}

:target
{
    scroll-margin-top: 80px;
}

[id]
{
    scroll-margin-top: 80px;
}

body
{
    background-color: var(--bg-base);
    font-family: 'Jost', sans-serif;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    min-height: 100vh;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6
{
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: white;
}

/* ── Alignment ───────────────────────────────────────────── */

.center_object
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.center_object_vertically
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.right_object
{
    display: flex;
    justify-content: flex-end;
}

.center_text
{
    text-align: center;
}

hr
{
    width: 95%;
    border-color: var(--border);
    opacity: 1;
}

/* ── Layout ──────────────────────────────────────────────── */

.paper
{
    margin-left: 15vw;
    margin-right: 15vw;
}

.form_paper
{
    padding: 28px;
}

.new_page
{
    padding: 28px 32px;
}

/* ── Navigation ──────────────────────────────────────────── */

.nav_background
{
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
}

.nav_logo
{
    height: 48px;
    margin-right: 8px;
}

.nav_link_light
{
    color: rgba(255, 255, 255, 0.7) !important;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nav_link_light:hover
{
    color: white !important;
}

.nav_link_active
{
    color: white !important;
    font-weight: 600;
}

@media (min-width: 992px)
{
    .nav_background .navbar-nav
    {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 991px)
{
    .nav_background .navbar-collapse
    {
        padding: 16px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        margin-top: 8px;
    }

    .nav_background .nav-link
    {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .hero_text
    {
        width: 90% !important;
    }

    .hero h1
    {
        font-size: 2.2rem !important;
    }
}

/* ── Hero ────────────────────────────────────────────────── */

.hero
{
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 60px 20px;
    position: relative;
}

.hero_content_left
{
    margin-left: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero_content_right
{
    align-self: stretch;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .hero { min-height: 88vh; }
    .hero_content_left { margin-left: 10%; }
}

@media (min-width: 992px) {
    .hero_content_right
    {
        align-self: flex-end;
        width: 100%;
        max-width: 480px;
        margin-right: 10%;
    }
}

.hero_overlay
{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 0;
}

.hero > *
{
    position: relative;
    z-index: 1;
}

.hero_text
{
    width: 58%;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.hero_popup
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.75rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background-color: var(--gold-faint);
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
}

.hero_logo
{
    height: 60px;
    margin-bottom: 10px;
}

.hero_booth_image
{
    display: none;
}

@media (min-width: 992px) {
    .hero_booth_image
    {
        display: block;
        position: absolute;
        left: 28%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 70%;
        max-height: 560px;
        width: auto;
        opacity: 0.85;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
        z-index: 0;
        pointer-events: none;
    }
}

/* ── Footer ──────────────────────────────────────────────── */

.footer_bg
{
    position: relative;
    background-color: #080808;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer_overlay
{
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.footer_bg > *
{
    position: relative;
    z-index: 1;
}

.footer_logo
{
    height: 36px;
    margin-bottom: 16px;
}

footer
{
    padding: 24px;
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ── Buttons ─────────────────────────────────────────────── */

.auth_button
{
    background-color: var(--gold);
    color: #0A0A0A;
    border: none;
    border-radius: 2px;
    padding: 7px 20px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.auth_button:hover
{
    transform: translateY(-1px);
    background-color: var(--gold);
    color: #0A0A0A;
    opacity: 0.9;
}

.button_hover_harsh
{
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.button_hover_harsh:hover
{
    background-color: var(--gold);
    box-shadow: 0 0 18px rgba(190, 170, 120, 0.30);
    transform: translateY(-1px);
}

.soft_button
{
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.75);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.soft_button:hover
{
    color: white;
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ── Sections ────────────────────────────────────────────── */

.new_section
{
    padding: 80px 10%;
    background-color: var(--bg-base);
}

.new_section_secondary
{
    padding: 60px 10%;
    background-color: var(--bg-warm);
}

.new_section_dark
{
    padding: 80px 10%;
    background-color: #080808;
    color: white;
}

/* ── Elite Section ───────────────────────────────────────── */

.elite_section
{
    background-color: var(--bg-warm);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.elite_stack
{
    position: relative;
    min-height: 320px;
}

.elite_img
{
    position: absolute;
    top: 0;
    left: 0;
    height: 120%;
    width: 50%;
    object-fit: cover;
    object-position: center top;
}

@media (min-width: 768px) {
    .elite_img {
        height: auto;
        width: 35%;
        object-fit: contain;
        object-position: left top;
    }
}

.elite_text
{
    position: relative;
    z-index: 1;
    text-align: right;
    padding: 40px 24px 40px 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-height: 320px;
}

.elite_heading
{
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: white;
    line-height: 1.15;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .elite_stack { min-height: 400px; }
    .elite_text { min-height: 400px; padding: 60px 24px 60px 50%; }
    .elite_heading { font-size: 2.4rem; }
}

/* ── Luxury Banner ───────────────────────────────────────── */

.luxury_banner
{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.luxury_banner_img
{
    width: 100%;
    display: block;
}

.luxury_overlay
{
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));
    z-index: 0;
}

.luxury_banner > *
{
    position: relative;
    z-index: 1;
}

.luxury_logo
{
    height: 30px;
    opacity: 0.9;
}

/* ── Carousel ────────────────────────────────────────────── */

.carousel_section
{
    padding: 80px 10%;
    background-color: #080808;
    color: white;
}

.carousel_section .carousel-item img
{
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2px;
}

/* ── Packages Grid ───────────────────────────────────────── */

.packages-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    justify-content: center;
}

.package-col
{
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

.package-col > *
{
    flex: 1 1 auto;
    width: 100%;
}

/* ── Membership / Package Cards ──────────────────────────── */

.membership_card
{
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 32px 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.membership_card:hover
{
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.membership_card.vip
{
    background-color: var(--bg-card);
    color: white;
    border-color: var(--gold);
}

.membership_price
{
    font-size: 2.5rem;
    font-weight: 600;
    font-family: 'Jost', sans-serif;
    color: white;
}

.membership_price span
{
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.5;
}

.membership_feature
{
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.membership_card.vip .membership_feature
{
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.feature-row
{
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.feature-dash
{
    color: var(--gold);
    font-weight: 400;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.card-divider
{
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.strikethrough
{
    text-decoration: line-through;
    opacity: 0.4;
    margin-left: 6px;
    font-size: 0.85rem;
}

/* ── Package / Add-On Cards ──────────────────────────────── */

.simulator_card
{
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 32px 24px;
    color: rgba(255, 255, 255, 0.88);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.simulator_card:hover
{
    cursor: default;
}

.simulator_card h4
{
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.simulator_price
{
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: white;
    line-height: 1;
}

.simulator_price span
{
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    margin-left: 4px;
}

/* ── Utilities ───────────────────────────────────────────── */

.disable_link
{
    pointer-events: none;
    opacity: 0.35;
}

.no_decoration
{
    text-decoration: none;
}

/* ── Cards ───────────────────────────────────────────────── */

.card_img_cover
{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card
{
    --bs-card-bg:            var(--bg-card);
    --bs-card-border-color:  var(--border);
    --bs-card-border-radius: 2px;
    --bs-card-color:         rgba(255, 255, 255, 0.88);

    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.card-title
{
    color: white;
}

.card-text
{
    color: rgba(255, 255, 255, 0.65);
}

.card-header
{
    background-color: #080808;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
}

.card-body
{
    padding: 20px;
}

.card:hover
{
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.no_hover
{
    box-shadow: none;
}

.no_hover:hover
{
    box-shadow: none;
    transform: none;
    cursor: default;
}

/* ── Colors ──────────────────────────────────────────────── */

.primary_text                 { color: white; }
.accent_text                  { color: var(--gold); }
.gold_text                    { color: var(--gold); }
.muted_text                   { color: rgba(255, 255, 255, 0.55); }
.accent_background            { background-color: var(--gold); }
.primary_background           { background-color: #080808; }
.primary_secondary_background { background-color: var(--bg-warm); }

/* ── Auth Inputs ─────────────────────────────────────────── */

.auth_input
{
    width: 100%;
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.auth_input::placeholder
{
    color: rgba(255, 255, 255, 0.3);
}

.auth_input:focus
{
    border-color: var(--gold);
}

/* ── Dashboard ───────────────────────────────────────────── */

.dash_card
{
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.88);
}

.dash_seg_active
{
    background-color: var(--gold) !important;
    color: #0A0A0A !important;
    border-color: var(--gold) !important;
}

.dash_seg
{
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-color: var(--border) !important;
}

.dash_action
{
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    background-color: var(--bg-card);
}

.dash_action:hover
{
    background-color: var(--bg-muted);
    color: white;
}

/* ── Court Cards ─────────────────────────────────────────── */

.court_card
{
    background-color: var(--bg-card);
    border-radius: 2px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.court_card:hover
{
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.court_img_placeholder
{
    position: relative;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.04);
}

.court_badge_active
{
    font-size: 0.68rem;
    font-weight: 600;
    color: #0A0A0A;
    background-color: var(--gold);
    padding: 3px 10px;
    border-radius: 999px;
}

.court_badge_outline
{
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: transparent;
}

.court_btn_membership
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0A0A0A;
    background-color: var(--gold);
    border-radius: 2px;
    letter-spacing: 0.04em;
}

.court_btn_openplay
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}


