/* Custom styles for Teton Valley Table Rock RV Park */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFF8F5;
}

/* Geometric background shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(132, 29, 62, 0.04), rgba(255, 150, 140, 0.06));
    border-radius: 50%;
    top: 20%;
    right: -100px;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 182, 176, 0.08), rgba(132, 29, 62, 0.04));
    border-radius: 50%;
    bottom: 10%;
    left: -50px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(132, 29, 62, 0.03);
    top: 45%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-rect {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 206, 190, 0.1), rgba(132, 29, 62, 0.05));
    border-radius: 20px;
    top: 60%;
    right: 8%;
    transform: rotate(45deg);
}

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Navigation */
.nav-link {
    position: relative;
}

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

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

/* Mobile menu */
.mobile-nav-link {
    position: relative;
    padding-left: 16px;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #FFB6B0;
    border-radius: 50%;
    opacity: 0.6;
}

/* Site cards */
.site-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Amenity cards */
.amenity-card {
    transform: translateY(0);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

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

/* Gallery items */
.gallery-item {
    position: relative;
}

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

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(26, 23, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #841D3E;
    outline-offset: 2px;
    border-radius: 4px;
}
