/* Main Entry Point */
@import 'variables.css';
@import 'base.css';
@import 'components.css';
@import 'utilities.css';

/* --- App Header --- */
.app-header {
    background-color: white;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header .container {
    position: relative;
    /* Context for absolute mobile menu */
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
}

/* Mobile Default (Mobile First) */
.header-brand {
    font-size: 1.25rem;
}

.header-brand .logo-img {
    height: 24px;
    /* Slightly smaller to fit in button */
    width: auto;
    transition: height 0.2s ease;
    vertical-align: middle;
}

.header-toggle {
    display: block;
    /* Visible on mobile */
    color: var(--text-main);
    padding: var(--space-xs);
    line-height: 0;
}

.header-nav {
    display: none;
    /* Hidden by default on mobile */
    flex-direction: column;
    width: 100%;
    margin-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    background-color: white;
    /* Ensure bg for overlay feel if needed */
}

.header-nav.show {
    display: flex;
    /* Shown when toggled */
    animation: fadeIn 0.2s ease-out;
}

.header-nav .nav-item {
    width: 100%;
    margin-bottom: var(--space-xs);
    justify-content: flex-start;
    /* Left align text on mobile */
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
    /* Larger touch target */
}

/* Desktop Overrides */
@media (min-width: 768px) {
    .header-brand .logo-img {
        height: 28px;
        /* Slightly smaller for desktop button too */
    }

    .header-toggle {
        display: none !important;
        /* Hide toggle on desktop */
    }

    .header-nav {
        display: flex !important;
        /* Always visible on desktop */
        flex-direction: row;
        width: auto;
        margin-top: 0;
        border-top: none;
        padding-top: 0;
        gap: var(--space-sm);
    }

    .header-nav .nav-item {
        width: auto;
        margin-bottom: 0;
    }

    /* Force rounded buttons in nav for consistency */
    .header-nav .btn {
        border-radius: 9999px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Add specific page overrides here if absolute needed, otherwise keep modular */

/* --- Winter Theme Background --- */
body {
    background-color: #F3F4F6;
    /* Fallback */
    background-image:
        /* Snow Texture (Subtle dots) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3Ccircle cx='100' cy='150' r='1.5'/%3E%3Ccircle cx='200' cy='50' r='1'/%3E%3Ccircle cx='300' cy='250' r='1.5'/%3E%3Ccircle cx='350' cy='100' r='1'/%3E%3Ccircle cx='50' cy='300' r='1.2'/%3E%3Ccircle cx='150' cy='350' r='1'/%3E%3Ccircle cx='250' cy='280' r='1.2'/%3E%3C/g%3E%3C/svg%3E"),
        /* Chairlift Pattern */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150'%3E%3Cpath d='M0 30h300' stroke='%239CA3AF' stroke-width='1' fill='none' opacity='0.25'/%3E%3Cpath d='M75 30v15c0 2 0 2-2 2h-5c-2 0-3 1-3 3v8h20v-8c0-2-1-3-3-3h-5c-2 0-2 0-2-2V30' stroke='%239CA3AF' stroke-width='1' fill='none' opacity='0.25'/%3E%3Cpath d='M225 30v15c0 2 0 2-2 2h-5c-2 0-3 1-3 3v8h20v-8c0-2-1-3-3-3h-5c-2 0-2 0-2-2V30' stroke='%239CA3AF' stroke-width='1' fill='none' opacity='0.25'/%3E%3C/svg%3E"),
        /* Sky Gradient */
        linear-gradient(to bottom, #EFF6FF 0%, #DBEAFE 100%);
    background-repeat: repeat, repeat, no-repeat;
    background-attachment: fixed;
    background-position: center top, center top, center center;
    min-height: 100vh;
}