/* Custom CSS for Hair by Carol Christine Salon */

/* Color Variables */
:root {
    --navy-950: #0a0f1e;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --gold-500: #C9A962;
    --gold-400: #D4AF37;
    --gold-300: #E5C158;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy-950);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-400);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.98);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.1);
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--gold-400) !important;
}

/* Mobile Navigation */
.mobile-nav-link {
    position: relative;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(201, 169, 98, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-image {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
    color: var(--navy-950);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 98, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold-400);
    border: 2px solid var(--gold-500);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(201, 169, 98, 0.1);
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(201, 169, 98, 0.15);
}

/* About Section */
.about-image {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.about-image-wrapper {
    position: relative;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 30, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonials */
.testimonial-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(201, 169, 98, 0.1);
    border-color: rgba(201, 169, 98, 0.3);
}

/* Form Inputs */
.input-field {
    transition: all 0.3s ease;
}

.input-field:focus {
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.input-field::placeholder {
    color: #6b7280;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 98, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(201, 169, 98, 0); }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title span {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title span {
        font-size: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden {
        opacity: 1;
        transform: translateY(0);
    }
}
