/* Custom styles for Brookfield Gardens North */

:root {
    --burgundy-950: #4a0e0e;
    --burgundy-800: #8c2e2e;
    --burgundy-600: #cc5555;
    --burgundy-400: #f0a2a2;
    --burgundy-300: #f6c5c5;
    --burgundy-200: #fadcdc;
    --burgundy-100: #fce7e7;
    --burgundy-50: #fdf2f2;
    --blush-200: #fadddd;
    --blush-300: #f5c5c5;
}

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

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #4a0e0e;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(113, 37, 37, 0.08);
}

.nav-scrolled .nav-text {
    color: #4a0e0e !important;
}

.nav-scrolled .nav-link {
    color: rgba(74, 14, 14, 0.7) !important;
}

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

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Menu button animations */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 5px;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Service cards */
.service-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-4px);
}

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

/* Scroll line animation */
@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.animate-scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #f0a2a2;
}

/* Selection color */
::selection {
    background-color: #fce7e7;
    color: #4a0e0e;
}

/* 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;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #cc5555;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c2e2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }
}
