/* ========================================
   Proverbs 31 Salon — Custom Styles
   Classic & Elegant | Plum + Amber Palette
   ======================================== */

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

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

body {
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(43, 18, 25, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-logo-text {
    color: #ffffff;
    transition: color 0.3s ease;
}

.nav-logo-sub {
    color: #f7c96e;
}

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

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

.mobile-nav-link {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #f7c96e;
}

/* ========================================
   Hero Decorative Elements
   ======================================== */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(212, 128, 15, 0.08) 0%, transparent 70%);
    animation: float-slow 20s ease-in-out infinite;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(232, 205, 217, 0.06) 0%, transparent 70%);
    animation: float-slow 15s ease-in-out infinite reverse;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 10%;
    background: radial-gradient(circle, rgba(240, 173, 51, 0.05) 0%, transparent 70%);
    animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.02); }
    66% { transform: translate(-20px, 15px) scale(0.98); }
}

/* Scroll Line Animation */
.scroll-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(240, 173, 51, 0.8), transparent);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Reduced motion - all content visible by default */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .scroll-line {
        animation: none;
        opacity: 0.6;
    }
    
    .hero-decor {
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   Card Hover Effects
   ======================================== */
.card-group {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(78, 37, 50, 0.12);
}

/* ========================================
   Form Styles
   ======================================== */
input:focus,
select:focus,
textarea:focus {
    border-color: #8c4159 !important;
    box-shadow: 0 0 0 3px rgba(140, 65, 89, 0.15) !important;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #d4a5b8;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c4159' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ========================================
   Button Hover States
   ======================================== */
button[type="submit"]:hover {
    box-shadow: 0 8px 24px rgba(140, 65, 89, 0.4) !important;
    transform: translateY(-1px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* ========================================
   Selection Color
   ======================================== */
::selection {
    background: rgba(140, 65, 89, 0.2);
    color: #2b1219;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .hero-decor {
        display: none;
    }
}

@media (min-width: 768px) {
    #hero h1 {
        line-height: 1.05;
    }
}
