/* Custom styles for Wegner Creek RV Park */

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

/* Geometric shape animations */
.geometric-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 2px solid #c8a45a;
    border-radius: 50%;
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #c8a45a;
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
    opacity: 0.1;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 40%;
    left: 10%;
    animation-delay: -10s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #c8a45a;
    opacity: 0.08;
    top: 25%;
    left: -3%;
    animation-delay: -7s;
    transform: rotate(15deg);
}

.shape-rect-1 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    top: 60%;
    right: 8%;
    animation-delay: -3s;
    transform: rotate(45deg);
}

.shape-rect-2 {
    width: 60px;
    height: 60px;
    background: rgba(200, 164, 90, 0.15);
    bottom: 30%;
    right: 15%;
    animation-delay: -8s;
    transform: rotate(30deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Card hover effect */
.card-hover {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@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:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(15, 27, 48, 0.95) !important;
    backdrop-blur-xl;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e3a5f;
}

::-webkit-scrollbar-thumb {
    background: #c8a45a;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: #c8a45a;
    color: #1e3a5f;
}

/* Form styles */
input, textarea, select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8eef5;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    color: #1e3a5f;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #c8a45a;
    box-shadow: 0 0 0 4px rgba(200, 164, 90, 0.15);
}

input::placeholder, textarea::placeholder {
    color: #9fb8d8;
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
    outline: 3px solid #c8a45a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #c8a45a 0%, #efc350 50%, #c8a45a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Image lazy load placeholder */
img {
    background: linear-gradient(135deg, #e8eef5 0%, #c5d4e6 100%);
}
