/* ============================================
   ASHLEY LAIL- SALON — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    min-height: 100vh;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1a365d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(212, 168, 83, 0.06);
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(212, 168, 83, 0.03);
    top: 60%;
    left: 8%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-ring {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(212, 168, 83, 0.05);
    border-radius: 50%;
    bottom: 20%;
    right: 15%;
    animation: float-slow 15s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

/* --- Buttons --- */
.btn-gold {
    background: linear-gradient(135deg, #d4a853 0%, #e6c078 50%, #d4a853 100%);
    background-size: 200% 200%;
    transition: all 0.4s ease;
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

/* --- Navigation --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a853;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #e6c078 !important;
}

/* --- Service Cards --- */
.service-card {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card:hover .absolute {
    /* triggers the gold glow on hover */
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default state for reduced motion - always visible */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .geo-shape {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* --- Mobile Menu --- */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    opacity: 1;
}

/* --- Image Hover --- */
.overflow-hidden {
    overflow: hidden;
}

/* --- Focus styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* --- Selection --- */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #fff;
}

/* --- Form Inputs --- */
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

input:focus,
textarea:focus {
    background: rgba(10, 22, 40, 0.8);
}
