/* ============================================
   WOODLAND MOBILE HOME & RV PARK
   Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fffdf7;
}
::-webkit-scrollbar-thumb {
    background: #d43f1c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #af2f16;
}

/* ============================================
   GEOMETRIC BACKGROUND SHAPES
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 82, 42, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 192, 63, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    border-radius: 50%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid rgba(212, 63, 28, 0.05);
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(255, 228, 154, 0.15);
    border-radius: 24px;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
}

.geo-rect-2 {
    width: 80px;
    height: 200px;
    background: rgba(212, 63, 28, 0.06);
    border-radius: 16px;
    top: 25%;
    left: 3%;
    transform: rotate(-10deg);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 253, 247, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(26, 18, 11, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile menu */
.mobile-link {
    position: relative;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-card {
    backdrop-filter: blur(20px);
}

/* ============================================
   SITE CARDS
   ============================================ */
.site-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.site-card:hover {
    transform: translateY(-8px);
}

/* ============================================
   AMENITY ITEMS
   ============================================ */
.amenity-item {
    opacity: 1;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   (Progressive enhancement - content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FLOATING CARDS ANIMATION
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-card-1 {
    animation: float 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-card-3 {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-rect-1, .geo-rect-2 {
        display: none;
    }
}

/* ============================================
   FORM FOCUS STATES
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ============================================
   BUTTON HOVER EFFECTS
   ============================================ */
a[href="#contact"],
button[type="submit"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
}

button[type="submit"]:active {
    transform: translateY(0);
}
