/* Custom Styles for Colorworks Salon */

:root {
    --burgundy-900: #38060c;
    --burgundy-700: #8a1223;
    --burgundy-500: #d4243b;
    --gold-400: #d4a853;
    --gold-300: #e8c99b;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-500);
}

/* Selection */
::selection {
    background: var(--burgundy-700);
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Styles */
#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

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

.mobile-link {
    animation: fadeInUp 0.5s ease forwards;
}

.mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-link:nth-child(4) { animation-delay: 0.4s; }
.mobile-link:nth-child(5) { animation-delay: 0.5s; }

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-cormorant {
        font-size: clamp(2rem, 8vw, 3.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;
    }
}
