/* Custom CSS for Capital Tree Service and Landscape */

/* Custom Color Palette */
:root {
    --navy-950: #0a1628;
    --navy-900: #0f2137;
    --navy-800: #1a2d45;
    --navy-700: #243b56;
    --navy-600: #2e4a67;
    --amber-500: #d97706;
    --amber-400: #f59e0b;
    --amber-600: #b45309;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--navy-950);
    background-color: var(--stone-50);
}

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

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

/* Tailwind Custom Colors */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    :root {
        --color-navy-950: #0a1628;
        --color-navy-900: #0f2137;
        --color-navy-800: #1a2d45;
        --color-amber-500: #d97706;
        --color-amber-400: #f59e0b;
        --color-amber-600: #b45309;
    }
}

@layer utilities {
    .text-navy-950 {
        color: var(--color-navy-950);
    }
    
    .bg-navy-950 {
        background-color: var(--color-navy-950);
    }
    
    .hover\:text-navy-950:hover {
        color: var(--color-navy-950);
    }
    
    .hover\:bg-navy-950:hover {
        background-color: var(--color-navy-950);
    }
}

/* Scroll Indicator Animation */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(217, 119, 6, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Gallery Item */
.gallery-item {
    position: relative;
}

/* Mobile Menu Animation */
.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

/* 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;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
