/* Custom styles for Husstle Lawn Care and Property Management */

:root {
    --midnight-900: #0a2e4f;
    --midnight-950: #061a2e;
    --mint-300: #a8d5c8;
    --mint-400: #7bc4ab;
    --mint-500: #5fb8a0;
    --mint-600: #4a9e88;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/playfairdisplay/v32/nuFiD_vbkwTO5PYU1d3WIzIr.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v18/UcCo3FwrK3iLTcviYwY.woff2') format('woff2');
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #0a2e4f;
    background-color: #fafaf9;
}

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

.font-inter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom color utilities */
.text-mint-300 { color: #a8d5c8; }
.text-mint-400 { color: #7bc4ab; }
.text-mint-500 { color: #5fb8a0; }
.text-mint-600 { color: #4a9e88; }
.bg-mint-100 { background-color: #e8f5f0; }
.bg-mint-200 { background-color: #d0ebe3; }
.bg-mint-500 { background-color: #5fb8a0; }
.bg-mint-600 { background-color: #4a9e88; }
.text-midnight-900 { color: #0a2e4f; }
.text-midnight-950 { color: #061a2e; }
.bg-midnight-900 { background-color: #0a2e4f; }
.bg-midnight-950 { background-color: #061a2e; }

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(6, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav-scrolled .nav-subtext {
    color: #a8d5c8 !important;
}

/* Mobile menu */
.mobile-menu-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

.mobile-menu-link:hover {
    padding-left: 12px;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(95, 184, 160, 0.1), transparent);
    transition: width 0.3s ease;
}

.mobile-menu-link:hover::before {
    width: 100%;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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);
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #5fb8a0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a9e88;
}

/* Selection color */
::selection {
    background-color: rgba(95, 184, 160, 0.3);
    color: #0a2e4f;
}

/* Image aspect ratio utilities */
.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    section {
        page-break-inside: avoid;
    }
}
