/* ===== AWARD-WINNING RV SELECTION PAGE STYLES ===== */

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* Use EXACT same colors as loader/home page */
:root {
    --forest-green: #29443b;               /* EXACT match with loader */
    --forest-light: #3d5a4d;               /* EXACT match with loader */
    --primary-bg: var(--forest-green);     /* Use beautiful forest green, not ugly #2D3A1F */
    --secondary-bg: var(--forest-light);   /* Use forest light */
    --accent-color: var(--forest-green);   /* Same as loader */
    --accent-hover: var(--forest-light);   /* Same as loader */
    --accent-glow: #4e6f5a;                /* Even lighter green for glows */
    --accent-secondary: #8B4513;           /* Saddle Brown */
    --primary-gradient: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-light) 50%, var(--forest-green) 100%);
    --text-primary: #F7F5F0;               /* Tent Canvas */
    --text-secondary: #D2B48C;             /* Sandy Trail */
    --glass-bg: rgba(247, 245, 240, 0.08);
    --glass-border: rgba(247, 245, 240, 0.15);
    --glass-shadow: 0 8px 32px rgba(45, 58, 31, 0.15);
    --modern-shadow: 0 20px 60px rgba(41, 68, 59, 0.3);
    --outdoor-shadow: 0 8px 32px rgba(45, 58, 31, 0.2);
    --natural-shadow: 0 20px 40px rgba(27, 67, 50, 0.3);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.rv-selection-body {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-light) 50%, var(--forest-green) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Force EXACT same colors as loader/home page */
.rv-selection-body,
.rv-selection-body * {
    --forest-green: #29443b !important;
    --forest-light: #3d5a4d !important;
    --accent-color: #29443b !important;
    --accent-hover: #3d5a4d !important;
    --accent-glow: #4e6f5a !important;
    --primary-bg: #29443b !important; /* Override ugly #2D3A1F */
}

/* ===== HEADER ===== */
.selection-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary-bg);
    opacity: 0.1;
    z-index: -1;
}

.logo-glow {
    filter: drop-shadow(0 0 8px var(--accent-color));
    transition: filter 0.3s ease;
}

.logo-glow:hover {
    filter: drop-shadow(0 0 15px var(--accent-color));
}

.custom-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    background: none;
}

.toggler-line {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-link-modern {
    position: relative;
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link-modern:hover::before,
.nav-link-modern.active::before {
    left: 0;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--natural-shadow);
}

/* ===== HERO SECTION ===== */
.hero-selection {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-light) 50%, var(--forest-green) 100%);
    opacity: 0.1;
    animation: heroBackgroundShift 20s ease-in-out infinite;
}

@keyframes heroBackgroundShift {
    0%, 100% { 
        background: rgba(41, 68, 59, 0.1);
    }
    50% { 
        background: rgba(41, 68, 59, 0.15);
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-h1);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-title-line {
    display: block;
    transform: translateY(100px);
    animation: heroTitleReveal 1s ease-out forwards;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-title-accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

@keyframes heroTitleReveal {
    to {
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 3rem;
}

@keyframes fadeInUp {
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
    from {
        transform: translateY(30px);
    }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    opacity: 1; /* Fixed: was causing fading issues */
}

.stat-item:nth-child(1) { animation-delay: 0.8s; }
.stat-item:nth-child(2) { animation-delay: 1s; }
.stat-item:nth-child(3) { animation-delay: 1.2s; }

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}

/* ===== RV SELECTION SECTION ===== */
.rv-selection-section {
    padding: 4rem 0 6rem 0; /* Optimized padding */
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.title-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 241, 232, 0.1);
    z-index: -1;
    pointer-events: none;
}

/* ===== K72 MARQUEE HOVER EFFECT ===== */
.menu {
    width: 100%;
    margin: 0;
}

.menu__item {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    cursor: default;
    text-align: center;
    box-shadow: 0 -1px var(--glass-border);
}

.menu__item:last-child {
    border-bottom: none;
    box-shadow: 0 1px var(--glass-border), 0 -1px var(--glass-border);
}

.menu__item-link {
    display: block;
    padding: 4rem 2rem;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu__item-link:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.menu__item-link:focus,
.menu__item-link:focus-visible {
    color: var(--accent-glow);
}

.menu__item-link:focus:not(:focus-visible) {
    color: var(--text-primary);
}

.rv-name {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Marquee Effect */
.marquee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: #29443b !important; /* Force exact green to match home/loading */
    transform: translate3d(0, 101%, 0);
    overflow: hidden;
    z-index: 10;
}

.marquee-inner-wrap {
    height: 100%;
    width: 100%;
    transform: translate3d(0, -101%, 0);
}

.marquee-inner {
    height: 100%;
    width: fit-content;
    align-items: center;
    display: flex;
    position: relative;
    animation: marqueeFlow 15s linear infinite;
    will-change: transform;
}

@keyframes marqueeFlow {
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.rv-name,
.marquee span {
    white-space: nowrap;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.2;
    font-weight: 600;
    padding: 1vh 1vw 0;
    text-transform: uppercase;
}

.marquee span {
    text-align: center;
    color: #F7F5F0;
    font-weight: 600;
    margin: 0 2vw;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
}

.marquee-img {
    width: 15vw;
    height: 70%;
    margin: 0 2vw;
    border-radius: 5vw;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== FEATURES SECTION ===== */
.features-modern {
    padding: 6rem 0 2rem 0; /* Reduced bottom padding */
    background: rgba(41, 68, 59, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--modern-shadow);
    border-color: var(--accent-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-modern {
    padding: 6rem 0 3rem 0; /* Reduced bottom padding */
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #29443b !important; /* Force exact green to match home/loading */
    opacity: 0.1;
    animation: ctaBackgroundPulse 4s ease-in-out infinite;
}

@keyframes ctaBackgroundPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #29443b !important; /* Force exact green to match home/loading */
    text-shadow: 1px 1px 2px rgba(41, 68, 59, 0.2);
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-modern-cta {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid #29443b !important; /* Force exact green to match home/loading */
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.btn-modern-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #29443b !important; /* Force exact green to match home/loading */
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-modern-cta:hover::before {
    left: 0;
}

.btn-modern-cta:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--modern-shadow);
    text-decoration: none;
}

.btn-hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-modern-cta:hover .btn-text {
    opacity: 0;
}

.btn-modern-cta:hover .btn-hover-text {
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 1.1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    opacity: 0.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .menu__item-link {
        padding: 3rem 1rem;
    }
    
    .rv-name,
    .marquee span {
        font-size: clamp(2rem, 8vw, 4rem);
        padding: 2vh 2vw 0;
    }
    
    .marquee-img {
        width: 25vw;
        height: 60%;
        border-radius: 8vw;
    }
}

/* ===== ADVANCED ANIMATIONS ===== */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow); }
}

.glass-card {
    animation: glowPulse 3s ease-in-out infinite;
}

/* ===== SCROLL ANIMATIONS ===== */
[data-scroll] {
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== LOADING ANIMATIONS (DISABLED) ===== */
/* Removed fadeInScale animation to prevent opacity issues */

.animate-in {
    /* Animation removed to prevent fading issues */
    opacity: 1;
    transform: scale(1);
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.1);
        --glass-border: rgba(255, 255, 255, 0.3);
    }
} 