/* Custom Styles for Family Hair of Davie */

/* Color Palette */
:root {
    --plum-dark: #1a0a1e;
    --plum-deep: #2d1235;
    --plum-mid: #4a1d5c;
    --plum-light: #6b2f7b;
    --plum-accent: #9d4edd;
    --amber-dark: #78350f;
    --amber-mid: #b45309;
    --amber-light: #d97706;
    --amber-glow: #f59e0b;
    --stone-950: #0c0a09;
    --stone-900: #1c1917;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-600: #57534e;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --stone-300: #d6d3d1;
    --stone-100: #f5f5f4;
}

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

body {
    background-color: var(--stone-950);
    color: var(--stone-100);
}

/* Gold Button */
.gold-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #0c0a09;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gold-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.gold-button:hover::before {
    left: 100%;
}

.gold-button:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    transform: translateY(-2px);
}

/* Gold Line */
.gold-line {
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

/* Service Card */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Item */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

/* Testimonial Card */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(12, 10, 9, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input Focus Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(245, 158, 11, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--plum-mid), var(--amber-mid));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--plum-light), var(--amber-light));
}

/* Selection Color */
::selection {
    background: rgba(157, 78, 221, 0.3);
    color: var(--stone-100);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Animation Delays */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }
