/* ========================================
   Rock Creek Campground — Custom Styles
   ======================================== */

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

/* Base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(26, 29, 35, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #1A1D23;
}

.nav-link {
    position: relative;
}

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

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

#navbar.scrolled .nav-link {
    color: #2E3340;
}

#navbar.scrolled .nav-link:hover {
    color: #F97066;
}

/* Mobile Nav Links */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #F97066;
    transition: width 0.3s ease;
}

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

/* ========================================
   HERO GEOMETRIC SHAPES
   ======================================== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #F97066;
    border-radius: 50%;
    top: -100px;
    right: -80px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #F97066;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255, 138, 128, 0.6);
    top: 30%;
    left: 8%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(249, 112, 102, 0.3);
    top: 60%;
    right: 10%;
    transform: rotate(20deg);
    animation: float-slow 12s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(249, 112, 128, 0.25);
    top: 15%;
    left: 25%;
    animation: float-slow 22s ease-in-out infinite;
}

.geo-ring-1 {
    width: 160px;
    height: 160px;
    border: 3px solid rgba(255, 200, 191, 0.3);
    border-radius: 50%;
    bottom: 25%;
    right: 20%;
    animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-dots {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 5%;
    background-image: radial-gradient(circle, rgba(249,112,102,0.4) 1px, transparent 1px);
    background-size: 16px 16px;
    animation: float-slow 14s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #2E3340;
    border-radius: 4px;
}

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

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background: rgba(249, 112, 102, 0.2);
    color: #1A1D23;
}

/* ========================================
   FORM STYLES
   ======================================== */
select option {
    background: #242830;
    color: #fff;
}

/* ========================================
   RESPONSIVE TWEAKS
   ======================================== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }

    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }

    .geo-square-1 {
        width: 70px;
        height: 70px;
    }

    .geo-square-2 {
        width: 50px;
        height: 50px;
    }

    .geo-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 69px solid rgba(249, 112, 128, 0.25);
    }

    .geo-ring-1 {
        width: 100px;
        height: 100px;
    }
}
