/* ==================================================
   SNOWGAZE — COMPLETE CUSTOM STYLES
   Tailwind CSS utilities are loaded in index.html
================================================== */

/* Theme colors */
:root {
    --snowgaze-navy: #000080;
    --snowgaze-white: #ffffff;
}

/* Basic styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.page-view {
    width: 100%;
}

.nav-link {
    cursor: pointer;
}

/* ==================================================
   BUTTONS
================================================== */

.navy-btn {
    background: var(--snowgaze-navy);
    color: var(--snowgaze-white);
    transition: 0.2s ease;
}

.navy-btn:hover {
    background: #00005f;
}

.outline-btn {
    color: var(--snowgaze-navy);
    border: 1px solid var(--snowgaze-navy);
    background: var(--snowgaze-white);
    transition: 0.2s ease;
}

.outline-btn:hover {
    color: var(--snowgaze-white);
    background: var(--snowgaze-navy);
}

/* ==================================================
   HERO IMAGE
================================================== */

.hero-thumb-btn.active {
    outline: 2px solid var(--snowgaze-navy);
    outline-offset: 2px;
}

/* ==================================================
   MOBILE MENU FIX
================================================== */

#mobile-menu {
    display: block;
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 999;
}

/* Hide menu when closed */
#mobile-menu.hidden {
    display: none !important;
}

/* Mobile menu buttons */
#mobile-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    cursor: pointer;
}

/* Hamburger button */
#mobile-menu-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================================================
   MODAL
================================================== */

#modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

#modal-overlay.is-open #modal-box {
    transform: scale(1);
}

/* ==================================================
   TOAST NOTIFICATION
================================================== */

#toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

/* ==================================================
   RESPONSIVE DESIGN
================================================== */

/* Desktop */
@media (min-width: 1024px) {
    #mobile-menu {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .page-view {
        width: 100%;
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* ==================================================
   ACCESSIBILITY
================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}