/* ======================================================
   BROWNIE SON ENTERPRISE — PREMIUM.CSS
   All extended styles: Footer, Account, Auth, Steps, etc.
====================================================== */

/* ---- Customizer Color Variable Override ---- */
:root {
    --accent: var(--brand-900); /* will be overridden if customizer color is set */
}

/* ============ DYNAMIC MENU STYLING ============ */
.dynamic-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.dynamic-menu .menu-item a {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gray-500);
    transition: color 0.25s;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2px;
}
.dynamic-menu .menu-item a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--brand-900);
    transition: width 0.25s;
}
.dynamic-menu .menu-item a:hover { color: var(--brand-900); }
.dynamic-menu .menu-item a:hover::after,
.dynamic-menu .current-menu-item > a::after { width: 100%; }
.dynamic-menu .current-menu-item > a { color: var(--brand-900); }

/* ============ PAGE HERO HEADER ============ */
.page-header {
    background: var(--brand-900);
    color: var(--white);
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=1600') center/cover;
    opacity: 0.07;
}
.page-header .container { position: relative; z-index: 1; }
.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    line-height: 1.1;
}
@media(max-width: 768px) { .page-title { font-size: 2.25rem; } }
.page-subtitle {
    color: var(--gray-400);
    font-size: 1.125rem;
    font-weight: 300;
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ ENTRY CONTENT (page.php / single.php) ============ */
.entry-content {
    max-width: 52rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 7rem;
    color: var(--gray-700);
    line-height: 1.85;
}
.entry-content h2, .entry-content h3 {
    color: var(--brand-900);
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content p { margin-bottom: 1.5rem; font-weight: 300; }
.entry-content strong { font-weight: 700; color: var(--brand-900); }
.entry-content ul, .entry-content ol { margin-bottom: 1.5rem; padding-left: 2rem; }
.entry-content li { margin-bottom: 0.5rem; font-weight: 300; }

/* ============ PREMIUM FOOTER ============ */
.premium-footer {
    background: #0a0a0a;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.premium-footer::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding: 6rem 0 5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0 3rem; }
}

.footer-col-heading {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-col-heading::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 2rem; height: 2px;
    background: var(--white);
    opacity: 0.3;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
}
.footer-nav-links a {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-nav-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.footer-contact-item .icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}
.footer-contact-item span {
    color: rgba(255,255,255,0.45);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-top: 1.25rem;
}
.footer-newsletter-form input {
    background: transparent;
    border: none;
    padding: 0.875rem 1.25rem;
    color: var(--white);
    flex: 1;
    outline: none;
    font-size: 0.875rem;
    font-family: inherit;
    ::placeholder { color: rgba(255,255,255,0.3); }
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter-btn {
    background: var(--white);
    color: #0a0a0a;
    padding: 0.875rem 1.25rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.footer-newsletter-btn:hover { background: var(--gray-200); }

.footer-social-row {
    display: flex;
    gap: 0.875rem;
    margin-top: 2rem;
}
.footer-social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    transition: all 0.2s;
}
.footer-social-icon:hover {
    background: var(--white);
    color: #0a0a0a;
    border-color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom-bar p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    font-weight: 300;
    letter-spacing: 0.02em;
}
.footer-bottom-links {
    display: flex;
    gap: 2rem;
}
.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============ AUTH PAGE (/login/) ============ */
.auth-split {
    display: flex;
    min-height: 100vh;
    background: #0a0a0a;
}
.auth-left-panel {
    flex: 1;
    display: none;
    position: relative;
    overflow: hidden;
}
@media (min-width: 900px) { .auth-left-panel { display: block; } }
.auth-left-panel img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.auth-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem;
}
.auth-left-tagline {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.auth-left-sub {
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 28rem;
}

.auth-right-panel {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3rem;
    background: var(--white);
    overflow-y: auto;
}
@media (max-width: 640px) { .auth-right-panel { padding: 2rem 1.5rem; } }

.auth-logo-bar {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.auth-form-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--brand-900);
    margin-bottom: 0.5rem;
}
.auth-form-sub {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* ============ MY ACCOUNT DASHBOARD ============ */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 3rem 0 6rem;
    align-items: start;
}
@media (max-width: 900px) { .account-layout { grid-template-columns: 1fr; } }

.account-sidebar {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    position: sticky;
    top: 7rem;
}
.account-user-card {
    background: var(--brand-900);
    padding: 2rem;
    color: var(--white);
    text-align: center;
}
.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0 auto 1rem;
    letter-spacing: -0.02em;
}
.account-user-name {
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}
.account-user-email {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 300;
}

.account-sidebar-nav {
    padding: 1rem;
}
.account-nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    transition: all 0.2s;
    cursor: pointer;
}
.account-nav-item:hover, .account-nav-item.active {
    background: var(--gray-50);
    color: var(--brand-900);
}
.account-nav-item i { font-size: 1rem; width: 1.25rem; text-align: center; }
.account-nav-item.danger { color: #ef4444; }
.account-nav-item.danger:hover { background: #fef2f2; }

.account-main-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.account-card {
    background: var(--white);
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.account-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-900);
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.booking-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    align-items: flex-start;
}
.booking-item:hover {
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.booking-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-900);
    font-size: 1rem;
    flex-shrink: 0;
}
.booking-item-details { flex: 1; min-width: 0; }
.booking-item-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--brand-900);
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-item-meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}
.booking-status-confirmed {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.booking-item-price {
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--brand-900);
    white-space: nowrap;
}

/* ============ 3-STEP BOOKING WIZARD ============ */
.wizard-progress {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-100);
}
.wizard-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    position: relative;
}
.wizard-step-dot:not(:first-child)::before {
    content: '';
    position: absolute;
    right: 50%;
    top: 1rem;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}
.wizard-step-dot.done:not(:first-child)::before { background: var(--brand-900); }
.wizard-dot-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gray-400);
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.wizard-step-dot.active .wizard-dot-circle {
    background: var(--brand-900);
    border-color: var(--brand-900);
    color: var(--white);
}
.wizard-step-dot.done .wizard-dot-circle {
    background: var(--brand-900);
    border-color: var(--brand-900);
    color: var(--white);
}
.wizard-dot-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    text-align: center;
}
.wizard-step-dot.active .wizard-dot-label { color: var(--brand-900); }

.wizard-page { display: none; flex-direction: column; gap: 1.5rem; }
.wizard-page.active { display: flex; }

.plan-card {
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}
.plan-card:hover { border-color: var(--gray-300); }
.plan-card.selected { border-color: var(--brand-900); background: var(--brand-50); }
.plan-card-title { font-weight: 800; color: var(--brand-900); margin-bottom: 0.25rem; }
.plan-card-desc { font-size: 0.8rem; color: var(--gray-500); }
.plan-card-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: var(--brand-900);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.875rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--gray-500); font-weight: 500; }
.summary-row .value { font-weight: 700; color: var(--brand-900); }
.summary-total { font-size: 1.25rem !important; }
.summary-total .value { font-size: 1.5rem; }

/* ============ 404 PAGE ============ */
.page-404-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
}
.page-404-code {
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 1rem;
}
.page-404-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--brand-900);
    margin-bottom: 1rem;
}
.page-404-sub {
    color: var(--gray-500);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 32rem;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
