/* ========================================
   Eddy's On Gull Lake — Custom Styles
   ======================================== */

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #7B2D3B;
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF7F5;
}
::-webkit-scrollbar-thumb {
    background: #7B2D3B;
    border-radius: 3px;
}

/* ========================================
   Navigation
   ======================================== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 247, 245, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(42, 37, 34, 0.06);
}

.nav-text {
    color: #7B2D3B;
    transition: color 0.3s ease;
}

.nav-subtext {
    color: rgba(123, 45, 59, 0.6);
    transition: color 0.3s ease;
}

.nav-accent {
    color: #7B2D3B;
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-text { color: #7B2D3B; }
#navbar.scrolled .nav-subtext { color: rgba(123, 45, 59, 0.6); }
#navbar.scrolled .nav-accent { color: #7B2D3B; }

/* ========================================
   Mobile Menu
   ======================================== */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Menu toggle animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.active .menu-line:first-child {
    transform: rotate(45deg) translate(2px, 2px);
}
#menu-toggle.active .menu-line:last-child {
    transform: rotate(-45deg) translate(2px, -2px);
    opacity: 0;
}

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Hero Scroll Indicator
   ======================================== */
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

.animate-scroll-line {
    animation: scrollLine 1.8s ease-in-out infinite;
}

/* ========================================
   Image Hover Effects
   ======================================== */
img {
    display: block;
    max-width: 100%;
}

/* ========================================
   Form Styles
   ======================================== */
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

input:focus,
textarea:focus {
    outline: none;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 767px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
