/* GlossedOver - Custom Styles
   Soft, welcoming, confidence-building design
   Warm neutrals, muted tones, gentle contrasts
*/

/* Component Imports */
@import url('components/_typography.css');
@import url('components/_sections.css');
@import url('components/_progress.css');
@import url('components/_forms.css');
@import url('components/_onboarding.css');
@import url('components/_directory-landing.css');

/* Google Fonts - Bodoni Moda (headlines) + Plus Jakarta Sans (body) + Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,500&family=DM+Sans:wght@400;500;600;700&family=Montserrat:wght@600&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Work+Sans:wght@400;500;600&display=swap');

:root {
    --ggo-warm-white: #fdfcfb;
    --ggo-soft-gray: #6b7280;
    --ggo-warm-gray: #9ca3af;
    --ggo-accent: #1f2937;
}

/* Corner Ribbon - Site-wide preview badge */
.corner-ribbon {
    position: fixed;
    top: 28px;
    left: -40px;
    z-index: 9999;
    width: 160px;
    padding: 6px 0;
    background: rgba(255, 96, 191, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .corner-ribbon {
        background: rgba(255, 96, 191, 0.25);
        color: rgba(255, 255, 255, 0.6);
        box-shadow: none;
    }
}

/* Simulation Mode Banner - Admin testing */
.simulation-banner {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.simulation-banner a {
    color: white;
    text-decoration: none;
}

/* Base */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ggo-accent);

    /* Background with glassmorphic drift effect
       - Scrolls with page (not fixed)
       - 100% width, auto height preserves detail (no zoom)
       - Seamless vertical tile (image stitched for seamless repeat)
       - On scroll stop: drifts 12px x 10px random direction over 3.5s
       - Smooth cubic-bezier easing for gentle glide
       - JS in base.html handles scroll detection + drift trigger */
    background-image: url('../images/Background.jpg');
    background-size: 100% auto;
    background-position: center top;
    background-repeat: repeat-y;
    background-attachment: scroll;
    min-height: 100vh;
}

/* Seam blender - positioned at repeat points */
.background-float {
    display: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.text-muted {
    color: var(--ggo-soft-gray) !important;
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 1030;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-glass {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
}

/* Full-width glassmorphic pill wrapper for navbar */
.navbar-pill-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
}

/* Mobile navbar adjustments */
@media (max-width: 991px) {
    .navbar-pill-wrapper {
        flex-wrap: wrap;
        border-radius: 24px;
        padding: 0.75rem 1rem;
    }
    .navbar-pill-wrapper .navbar-collapse {
        flex-basis: 100%;
        margin-top: 1rem;
    }
    .navbar-pill-wrapper .navbar-nav {
        align-items: flex-start !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    .navbar-pill-wrapper .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
    }
    .navbar-pill-wrapper .d-flex {
        width: 100%;
        justify-content: flex-start !important;
        flex-wrap: wrap;
        gap: 0.5rem !important;
        margin-top: 0.5rem;
    }
}

.navbar-brand {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #452D80;
    letter-spacing: -0.07em;
}

.navbar-brand:hover {
    color: #374151;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1f2937;
}

/* Glassmorphic Dropdown Menu */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.5);
    color: #1f2937;
}

.dropdown-divider {
    border-color: rgba(0, 0, 0, 0.08);
    margin: 0.25rem 0.5rem;
}

/* Nav Pill Buttons - Glassmorphic */
.nav-pill-light {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-pill-light:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #1f2937;
}

.nav-pill-dark {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 41, 55, 0.4);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-pill-dark:hover {
    background: rgba(55, 65, 81, 0.65);
    border-color: rgba(55, 65, 81, 0.5);
    color: #ffffff;
}

/* Buttons - Glassmorphic */
.btn {
    font-weight: 500 !important;
    border-radius: 100px !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.btn-dark,
.btn-dark:focus,
.btn-dark:active {
    background: rgba(31, 41, 55, 0.65) !important;
    border: 1px solid rgba(31, 41, 55, 0.7) !important;
    color: #ffffff !important;
}

.btn-dark:hover {
    background: rgba(55, 65, 81, 0.75) !important;
    border-color: rgba(55, 65, 81, 0.8) !important;
    color: #ffffff !important;
}

.btn-outline-dark,
.btn-outline-dark:focus,
.btn-outline-dark:active {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--ggo-accent) !important;
}

.btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: var(--ggo-accent) !important;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #1f2937 !important;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #1f2937 !important;
}

.btn-secondary,
.btn-secondary:focus,
.btn-secondary:active {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #374151 !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #1f2937 !important;
}

.btn-light,
.btn-light:focus,
.btn-light:active {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #1f2937 !important;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #1f2937 !important;
}

/* ===== GLASSMORPHIC DESIGN SYSTEM ===== */

/* Glass Card - Neutral glass for panels/cards */
.glass-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.08),
                inset 0px 1px 1px rgba(255, 255, 255, 0.8);
    border-radius: 24px;
}

/* Glass Tag - For specialty/service/texture/vibe tags */
.glass-tag {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    margin: 0.2rem 0.2rem 0.2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.08),
                inset 0px 6px 14px rgba(255, 255, 255, 0.6),
                inset 0px -4px 14px rgba(255, 255, 255, 0.9);
    border-radius: 68px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1f2937;
    transition: all 0.2s ease;
}

.glass-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Specialty Checkbox - Selected state */
.specialty-checkbox input:checked + .glass-tag {
    background: rgba(69, 45, 128, 0.15);
    border-color: rgba(69, 45, 128, 0.4);
    color: #452D80;
}

.specialty-checkbox:hover .glass-tag {
    background: rgba(255, 255, 255, 0.25);
}

/* Glass Button Primary */
.btn-glass-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    gap: 10px;
    background: #452D80;
    border: none;
    box-shadow: 0px 12px 20px rgba(69, 45, 128, 0.2);
    border-radius: 108px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-glass-primary:hover {
    background: #372468;
    transform: translateY(-2px);
    box-shadow: 0px 16px 24px rgba(69, 45, 128, 0.3);
    color: #ffffff;
}

/* Glass Button Secondary - Neutral glass button */
.btn-glass-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.06),
                inset 0px 1px 1px rgba(255, 255, 255, 0.6);
    border-radius: 68px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08),
                inset 0px 1px 1px rgba(255, 255, 255, 0.8);
    color: #1f2937;
}

/* Glass Icon Button - Circular icon button */
.btn-glass-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.06),
                inset 0px 1px 1px rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-glass-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08),
                inset 0px 1px 1px rgba(255, 255, 255, 0.6);
    color: #1f2937;
}

/* Glass Footer */
.footer-glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0px -4px 24px rgba(0, 0, 0, 0.03);
}

/* Glass button size variations */
.btn-glass-primary.btn-sm,
.btn-glass-secondary.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-glass-primary.btn-lg,
.btn-glass-secondary.btn-lg {
    padding: 16px 36px;
    font-size: 1.15rem;
}

/* Legacy btn-glass support (maps to primary) */
.btn-glass {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    gap: 10px;
    background: rgba(255, 96, 191, 0.1);
    background-blend-mode: overlay;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.1),
                inset 0px -1px 1px rgba(255, 255, 255, 0.5),
                inset 0px 1px 1px rgba(255, 255, 255, 0.5),
                inset 0px 10px 50px rgba(255, 255, 255, 0.9),
                inset 0px -5px 30px rgba(0, 0, 0, 0.5);
    border-radius: 108px;
    font-weight: 500;
    font-size: 1.1rem;
    color: #0A0A0A;
    transition: all 0.2s ease;
}

.btn-glass:hover {
    background: rgba(255, 96, 191, 0.15);
    transform: translateY(-2px);
    box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.12),
                inset 0px -1px 1px rgba(255, 255, 255, 0.5),
                inset 0px 1px 1px rgba(255, 255, 255, 0.5),
                inset 0px 10px 50px rgba(255, 255, 255, 0.9),
                inset 0px -5px 30px rgba(0, 0, 0, 0.5);
    color: #0A0A0A;
}

/* Hero sections */
.hero {
    padding: 5rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--ggo-soft-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Cards */
.card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Footer - glassmorphic style applied via .footer-glass class */

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Section spacing */
.section {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

/* Pricing cards */
.pricing-card {
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--ggo-accent);
}

.pricing-card.featured {
    border-color: var(--ggo-accent);
    background-color: #fafafa;
}

/* FAQ */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--ggo-accent);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #e5e7eb;
}

/* ===== STYLIST CARD - LIQUID GLASS ===== */
.stylist-card-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    box-shadow:
        0px 8px 32px rgba(0, 0, 0, 0.08),
        inset 0px 1px 1px rgba(255, 255, 255, 0.8),
        inset 0px -1px 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.stylist-card-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
    pointer-events: none;
    opacity: 0.6;
}

.stylist-card-glass:hover {
    transform: translateY(-4px);
    box-shadow:
        0px 16px 48px rgba(0, 0, 0, 0.12),
        inset 0px 1px 1px rgba(255, 255, 255, 0.9),
        inset 0px -1px 1px rgba(0, 0, 0, 0.05);
}

.stylist-card-glass .card-body {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
}

.stylist-card-glass .card-img-top {
    border-radius: 24px 24px 0 0;
}

/* Sparkle Ribbon - Editorial badge on cards */
.sparkle-ribbon {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    font-style: italic;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
