/* Custom Styles for Winner's Circle Cuts */

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

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Service Cards */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2A5C4C;
    transition: width 0.3s ease;
}

.service-card:hover::after {
    width: 100%;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(253, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(26, 60, 52, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

::-webkit-scrollbar-track {
    background: #FDFDF8;
}

::-webkit-scrollbar-thumb {
    background: #2A5C4C;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1A3C34;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

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

/* Focus Styles */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transition: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card img {
        height: 250px;
    }
    
    #about img {
        height: 400px;
    }
}
