/* Custom Styles for Biwabik Campground */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    background: rgba(59, 7, 19, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(59, 7, 19, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-logo-text {
    color: white;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff4d2e, #f4a3b8);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-nav-link {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
}

.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(59, 7, 19, 0.7) 0%,
        rgba(110, 20, 48, 0.6) 50%,
        rgba(59, 7, 19, 0.8) 100%
    );
}

.hero-title {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    line-height: 0.95;
}

.hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.scroll-dot {
    animation: dot-bounce 1.5s infinite;
}

@keyframes dot-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.5;
    }
}

/* Section Tags */
.section-tag {
    animation: fade-in 0.6s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Titles */
.section-title {
    animation: slide-up 0.8s ease-out;
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Geometric Shapes */
.geo-shape {
    transition: transform 0.5s ease;
}

.geo-shape:hover {
    transform: scale(1.1) rotate(5deg);
}

/* About Section */
.about-content {
    animation: slide-right 0.8s ease-out;
}

@keyframes slide-right {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-images {
    animation: slide-left 0.8s ease-out 0.2s both;
}

@keyframes slide-left {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Site Cards */
.site-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Amenity Cards */
.amenity-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Form Inputs */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #ff4d2e;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 77, 46, 0.1);
}

.form-input:hover:not(:focus) {
    border-color: #f9cfd9;
}

/* Contact Cards */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-img-col {
        padding: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 7rem;
    }
}

/* Accessibility */
@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;
    }
}

/* Print Styles */
@media print {
    .nav,
    .hero-geo,
    .geo-shape {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
