/* Base Styles - Mobile First */
:root {
    --primary: #2D5A27;
    --secondary: #B5A165;
    --background-light: #F8FAF8;
    --background-dark: #0F170A;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-display {
    font-family: 'Montserrat', sans-serif;
}

.text-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

/* Custom Styles */
.animation-fade-out {
    animation: fadeOut 5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Map Styles */
#map {
    width: 100%;
    height: 100%;
}

/* Mapbox Popup Styling */
.mapboxgl-popup-content {
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 1rem !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    /* Slightly bigger */
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.mapboxgl-popup-tip {
    border-top-color: var(--primary) !important;
    border-bottom-color: var(--primary) !important;
}

.mapboxgl-popup-close-button {
    color: white !important;
    padding: 2px 6px !important;
    font-size: 1.2rem !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
}

.mapboxgl-popup-close-button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 1rem 0 0 !important;
}

/* Dark mode overrides (handled by Tailwind but keeping base logic) */
.dark body {
    background-color: var(--background-dark);
    color: #e2e8f0;
}