/* Custom styles for Chosa Campground */

/* Base styles */
:root {
    --color-terracotta-50: #fdf0eb;
    --color-terracotta-100: #fce4da;
    --color-terracotta-200: #f9c4b0;
    --color-terracotta-300: #f49f80;
    --color-terracotta-400: #ed734a;
    --color-terracotta-500: #e0522a;
    --color-terracotta-600: #c93d1e;
    --color-terracotta-700: #a83019;
    --color-sand-50: #fdfbf7;
    --color-sand-100: #faf5e8;
    --color-sand-200: #f5ebcc;
    --color-sand-300: #eddaa8;
    --color-charcoal-800: #2d2d2d;
    --color-charcoal-900: #1a1a1a;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom button styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #c93d1e 0%, #a83019 100%);
    color: #fdfbf7;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(201, 61, 30, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 61, 30, 0.35);
    background: linear-gradient(135deg, #a83019 0%, #8a2918 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #2d2d2d;
    font-weight: 500;
    border-radius: 0.75rem;
    border: 2px solid #eddaa8;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #eddaa8;
    color: #2d2d2d;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c93d1e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .reveal.hidden {
        opacity: 1;
        transform: none;
    }
    
    img, .group-hover\:hover\:scale-105:hover img {
        transition: none;
    }
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #c93d1e;
    outline-offset: 2px;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

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

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

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

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

/* Print styles */
@media print {
    .navbar, .mobile-menu-btn, .btn-primary, .btn-secondary {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
