/* Custom styles for Garden Co. */

:root {
    --burgundy-700: #831b2e;
    --burgundy-600: #9b2335;
    --blush-200: #ffd4d4;
    --blush-300: #ffb8b8;
}

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll reveal base state - always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply hidden state when animation is active (JS adds class) */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(131, 27, 46, 0.08);
}

.nav-scrolled .nav-link {
    color: #4a5568 !important;
}

.nav-scrolled .nav-link:hover {
    color: #831b2e !important;
}

.nav-scrolled .font-serif.text-xl {
    color: #831b2e !important;
}

/* Mobile menu animations */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Service card hover effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9b2335;
}

/* Selection color */
::selection {
    background: #f9d0d0;
    color: #520f1e;
}

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

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}
