/* Custom Styles for Bass' River Resort */

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.navbar.scrolled {
    background: rgba(254, 253, 248, 0.98);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.1);
}

.navbar-text {
    color: #064e3b;
}

.nav-link {
    position: relative;
}

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

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

.navbar.scrolled .nav-link {
    color: #064e3b;
}

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

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

.hero-overlay {
    background: linear-gradient(135deg, rgba(2, 44, 34, 0.95) 0%, rgba(6, 78, 59, 0.85) 50%, rgba(4, 120, 87, 0.7) 100%);
}

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

/* Badge Styles */
.badge-hero {
    display: inline-block;
}

.badge-hero-inner {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(254, 253, 248, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 253, 248, 0.3);
    border-radius: 9999px;
    color: #fefdf8;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #059669;
    color: #fefdf8;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #10b981;
    color: #fefdf8;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-hero-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #fefdf8;
    border: 2px solid rgba(254, 253, 248, 0.5);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(254, 253, 248, 0.1);
    border-color: #fefdf8;
    transform: translateY(-2px);
}

.btn-room {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #059669;
    color: #fefdf8;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-room:hover {
    background: #047857;
    transform: translateY(-2px);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #059669;
    color: #fefdf8;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #047857;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-tag-light {
    background: rgba(6, 78, 59, 0.5);
    color: #fde8d0;
}

/* Room Cards */
.room-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.room-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.room-card-inner {
    transition: all 0.5s ease;
}

.room-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Amenity Cards */
.amenity-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.amenity-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.amenity-card-inner {
    transition: all 0.3s ease;
}

.amenity-icon {
    transition: transform 0.3s ease;
}

/* Location Cards */
.location-card {
    transition: all 0.3s ease;
}

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

.location-icon {
    transition: transform 0.3s ease;
}

.location-card:hover .location-icon {
    transform: scale(1.1);
}

/* Contact Form */
.form-label {
    color: #064e3b;
    font-weight: 500;
}

.form-input {
    background: #fefdf8;
    border: 2px solid #a7f3d0;
    color: #064e3b;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-input::placeholder {
    color: #6ee7b7;
}

/* Success Message */
.success-message {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(254, 253, 248, 0.5), rgba(254, 253, 248, 0));
    margin: 0 auto;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation-name: fade-in-up;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

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

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-tag {
        font-size: 0.75rem;
    }
    
    .room-img {
        height: 200px;
    }
    
    .amenity-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .amenity-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

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

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

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

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .scroll-indicator {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    body {
        background: white;
        color: black;
    }
}
