﻿/*
Theme Name: Astra Child - Sunshine Beautician
Theme URI: https://www.sunshinebeauticianbirmingham.co.uk/
Template: astra
Author: Sunshine Beautician
Description: Premium Custom Child Theme for Sunshine Beautician Birmingham.
Version: 1.0.0
*/

/* 
    Sunshine Beautician Birmingham
    Premium Aesthetic CSS (Unified)
*/

:root {
    --sunshine-gold: #D4AF37;
    --sunshine-gold-light: #F3E5AB;
    --sunshine-gold-dark: #B5952F;
    --sunshine-cream: #FAFAF8;
    --sunshine-rose: #FDFBFB;
    --sunshine-dark: #0A0A0A;
    --sunshine-text: #444444;
    --gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #B5952F 100%);
}

body {
    background-color: var(--sunshine-cream);
    color: var(--sunshine-text);
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--sunshine-dark);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* --- ULTRA-PREMIUM LOADER --- */
/* --- ULTRA-PREMIUM LOADER --- */
/* --- ULTRA-PREMIUM LOADER --- */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(250, 250, 248, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: premiumFadeOut 1s cubic-bezier(0.8, 0, 0.2, 1) forwards;
    animation-delay: 1.8s;
}
.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Heartbeat Ripples */
.loader-content::before, .loader-content::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--sunshine-gold);
    animation: heartbeatRipple 1.5s infinite;
    opacity: 0;
}
.loader-content::after {
    animation-delay: 0.2s; /* The second "dub" of the heartbeat */
}

.loader-actual-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background-color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    animation: elegantReveal 1.5s forwards, heartbeatLogo 1.5s infinite;
}

@keyframes heartbeatRipple {
    0% { transform: scale(1); opacity: 0.6; }
    30% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes heartbeatLogo {
    0%, 30%, 100% { transform: scale(1); }
    10% { transform: scale(1.05); }
    20% { transform: scale(1); }
}
@keyframes elegantReveal {
    0% { opacity: 0; filter: blur(10px); }
    100% { opacity: 1; filter: blur(0px); }
}
@keyframes premiumFadeOut {
    0% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* --- MICRO-ANIMATIONS & TRIGGERS --- */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.7s;
}
@keyframes fadeUpIn {
    to { opacity: 1; transform: translateY(0); }
}

.dopamine-pulse {
    position: relative;
}
.dopamine-pulse::before {
    content: '';
    position: absolute;
    top: -5px; right: -5px; bottom: -5px; left: -5px;
    border: 2px solid #25D366;
    border-radius: 50px;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0;
}
@keyframes ping {
    75%, 100% { transform: scale(1.15); opacity: 0; }
    0% { transform: scale(1); opacity: 0.8; }
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* --- HEADER --- */
.st-topbar {
    display: none !important;
}

.st-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    animation: dropDown 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.7s;
    opacity: 0;
}
@keyframes dropDown {
    from { top: -100px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

.st-logo {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--sunshine-dark) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.st-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}
.st-nav a {
    color: var(--sunshine-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.st-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}
.st-nav a:hover::after, .st-nav a.nav-highlight::after {
    width: 100%;
}
.st-nav a.nav-highlight {
    color: var(--sunshine-dark) !important;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--sunshine-dark);
}

/* --- HERO SECTION --- */
.hero-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.hero-section, .sunshine-hero {
    position: relative;
    padding: 180px 5% 120px 5%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
    width: 100%;
    box-sizing: border-box;
}
.hero-section::after, .sunshine-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 150px;
    background: linear-gradient(to top, var(--sunshine-cream), transparent);
    z-index: 5;
    pointer-events: none;
}
.sunshine-hero {
    min-height: 60vh;
    padding: 180px 5% 100px 5%;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://ajsalonandspa.com/wp-content/uploads/2024/12/factors-that-affect-how-long-eyebrow-threading-lasts-1024x576.jpg');
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    z-index: -2;
    animation: subtleZoom 20s infinite alternate;
}
@keyframes subtleZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(250, 250, 248, 0.98) 0%, rgba(250, 250, 248, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}
.hero-content h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.25rem;
    color: var(--sunshine-text);
    margin-bottom: 20px;
    line-height: 1.7;
}
.urgency-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #E63946;
    margin-bottom: 30px;
    display: block;
    animation: pulseLogo 2s infinite;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    gap: 10px;
    z-index: 1;
}
.btn-primary {
    background: var(--sunshine-dark);
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}
.shimmer-btn {
    position: relative;
    overflow: hidden;
}
.shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shimmer 2s infinite;
}
@keyframes shimmer {
    100% { left: 200%; }
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--sunshine-dark);
    color: var(--sunshine-dark) !important;
}
.btn-outline-gold:hover {
    background: var(--sunshine-dark);
    color: #fff !important;
}
.btn-whatsapp {
    background-color: #25D366;
    color: #fff !important;
}

/* MAIN LAYOUT */
.st-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}
.section-header .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-subtitle {
    font-size: 1.2rem;
    color: #888;
}

/* SERVICE CARDS */
.sunshine-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.sunshine-card {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 400px;
    background: #fff;
    padding: 50px 35px;
    border-radius: 20px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.1);
}
.card-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(212,175,55,0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.sunshine-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
    border-color: rgba(212,175,55,0.3);
}
.sunshine-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

.sunshine-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.sunshine-card .price {
    display: inline-block;
    background: var(--sunshine-rose);
    color: var(--sunshine-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.sunshine-card p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}
.card-link {
    color: var(--sunshine-gold-dark);
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}
.sunshine-card:hover .card-link {
    gap: 15px;
}

/* TRUST BANNER */
.trust-banner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: -60px;
    margin-bottom: 30px;
    position: relative;
    z-index: 20;
}
.trust-item {
    background: var(--glass-bg, rgba(255,255,255,0.9));
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--sunshine-dark);
    border: 1px solid rgba(255,255,255,0.5);
}
.trust-icon {
    color: var(--sunshine-gold);
    font-size: 1.2rem;
}

/* ACCORDION */
.sunshine-accordion details {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}
.sunshine-accordion details:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.sunshine-accordion summary {
    padding: 25px 30px;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    color: var(--sunshine-dark);
    cursor: pointer;
    list-style: none;
    position: relative;
}
.sunshine-accordion summary::-webkit-details-marker { display: none; }
.sunshine-accordion summary::after {
    content: '\f067'; /* FontAwesome plus */
    font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sunshine-gold);
    transition: transform 0.3s ease;
}
.sunshine-accordion details[open] summary::after {
    content: '\f068'; /* FontAwesome minus */
    transform: translateY(-50%) rotate(180deg);
}
.sunshine-accordion .accordion-content {
    padding: 0 30px 30px 30px;
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* FLOATING ACTION BAR */
.sunshine-floating-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 50px;
    z-index: 9999;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    animation: fadeUpIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 2s;
    opacity: 0;
}
.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--sunshine-dark);
    background: transparent;
    transition: all 0.3s ease;
}
.float-btn:hover {
    background: rgba(255,255,255,0.5);
}
.float-call { color: var(--sunshine-dark) !important; }
.float-whatsapp { color: #1EBE5C !important; }
.float-directions { color: var(--sunshine-gold-dark) !important; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .st-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        padding: 30px 5%;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        align-items: flex-start;
        box-sizing: border-box;
    }
    #mobile-menu-open:checked ~ .st-nav { display: flex; }
    .mobile-toggle { display: block; }
    
    .hero-content h1 { font-size: 3rem; }
    .hero-section { padding: 150px 5% 80px 5%; }
    
    .sunshine-floating-bar {
        bottom: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 15px 10px;
        justify-content: space-around;
        gap: 0;
    }
    .float-btn {
        flex-direction: column;
        gap: 4px;
        padding: 8px;
        font-size: 0.8rem;
    }
    body { padding-bottom: 90px; }
}

/* FOOTER */
.st-footer {
    background: var(--sunshine-dark);
    color: #fff;
    padding: 60px 5% 40px 5%;
    text-align: center;
    margin-top: 60px; /* Normal spacing, no massive void */
    position: relative;
}
.st-footer::before {
    content: '';
    position: absolute;
    bottom: 100%; /* Sits precisely on top of the footer */
    left: 0; right: 0; height: 60px; /* Tight, compact skin fade */
    /* Non-linear exponential gradient for a perfect skin fade */
    background: linear-gradient(to bottom, 
        rgba(10, 10, 10, 0) 0%, 
        rgba(10, 10, 10, 0.02) 15%, 
        rgba(10, 10, 10, 0.1) 35%, 
        rgba(10, 10, 10, 0.3) 65%, 
        rgba(10, 10, 10, 0.7) 85%, 
        rgba(10, 10, 10, 1) 100%);
    pointer-events: none;
}
.st-footer a { color: var(--sunshine-gold) !important; }
.footer-links {
    margin: 30px 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    gap: 30px;
}

