/* Custom Styles for Vanity Dreams Hair Designs */

:root {
    --forest-green: #2D5A3D;
    --forest-green-light: #3D7A52;
    --forest-green-dark: #1E4230;
    --stone-50: #FAFAF9;
    --stone-100: #F5F5F4;
    --stone-200: #E7E5E4;
    --stone-600: #57534E;
    --stone-800: #292524;
}

* {
    scroll-behavior: smooth;
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--forest-green-dark);
}

/* Navbar Styles */
.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
.mobile-link {
    transition: all 0.2s ease;
}

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Staggered animation delays */
.reveal-up:nth-child(1) { transition-delay: 0.1s; }
.reveal-up:nth-child(2) { transition-delay: 0.2s; }
.reveal-up:nth-child(3) { transition-delay: 0.3s; }
.reveal-up:nth-child(4) { transition-delay: 0.4s; }
.reveal-up:nth-child(5) { transition-delay: 0.5s; }
.reveal-up:nth-child(6) { transition-delay: 0.6s; }

/* Service Card Hover */
.group:hover .group-hover\:bg-forest-green {
    background-color: var(--forest-green);
}

/* Input Focus Styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: 2rem;
    }
    
    #home h1 {
        font-size: 2.5rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeIn 0.6s ease-out;
}
