/* E-Bike Explorer Ride page styles */

/* Hero Section */
.ebike-hero {
    height: 100vh;
    background: linear-gradient(rgba(59, 93, 111, 0.35), rgba(40, 27, 20, 0.65)),
                url('assets-adrenaland/e_bike/21.jpg') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #ffffff;
}

.ebike-hero .hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffffff;
}

.ebike-hero .hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    opacity: 0.9;
    color: #ffffff;
}

/* Intro Section */
.intro-section {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    background: linear-gradient(rgba(40, 27, 20, 0.4), rgba(20, 40, 20, 0.65)),
                url('assets-adrenaland/e_bike/7.jpg') center/cover fixed;
    text-align: center;
}

.intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
}

.intro-text p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #ffffff;
}

/* Routes Section */
.routes-section {
    padding: 100px 0;
    background: linear-gradient(rgba(40, 60, 30, 0.45), rgba(20, 30, 15, 0.75)),
                url('assets-adrenaland/e_bike/18.jpg') center/cover fixed;
}

.routes-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.route-card {
    background: linear-gradient(135deg, #1f3d1e, #2d6e2a);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.route-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #a8d5a2;
}

.route-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
}

.route-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #a8d5a2;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* Info Cards Section */
.ebike-content {
    padding: 100px 0;
    background: linear-gradient(rgba(30, 50, 25, 0.5), rgba(15, 25, 10, 0.8)),
                url('assets-adrenaland/e_bike/9.jpg') center/cover fixed;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(80,180,60,0.2);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
}

.info-icon.duration  { background: linear-gradient(135deg, #4caf50, #81c784); }
.info-icon.price     { background: linear-gradient(135deg, #ff8c42, #ffb347); }
.info-icon.included  { background: linear-gradient(135deg, #4caf50, #2196f3); }
.info-icon.flow      { background: linear-gradient(135deg, #66bb6a, #1565c0); }
.info-icon.who       { background: linear-gradient(135deg, #ff8c42, #e53935); }

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
}

.info-list p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.info-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list ul li {
    color: #ffffff;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    margin-bottom: 0.3rem;
    line-height: 1.6;
    position: relative;
}

.info-list ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #81c784;
    font-weight: bold;
}

.price-highlight {
    font-size: 1.4rem !important;
    font-weight: 700;
    color: #a8d5a2 !important;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(rgba(40, 60, 30, 0.45), rgba(20, 30, 15, 0.75)),
                url('assets-adrenaland/e_bike/14.jpg') center/cover fixed;
    text-align: center;
}

.gallery-section h2,
.gallery-section p {
    color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.6rem;
    color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(rgba(30, 50, 25, 0.55), rgba(10, 20, 8, 0.8)),
                url('assets-adrenaland/e_bike/29.jpg') center/cover fixed;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #ff6b35;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.2s ease;
}

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

@media (max-width: 768px) {
    /* iOS doesn't support background-attachment:fixed inside scroll containers.
       Switch to scroll so the image actually renders on mobile. */
    .ebike-hero,
    .intro-section,
    .routes-section,
    .ebike-content,
    .gallery-section,
    .cta-section {
        background-attachment: scroll;
    }

    .ebike-hero {
        height: 70vh;
    }

    .intro-section {
        min-height: auto;
        padding: 60px 0;
    }

    .routes-section,
    .ebike-content,
    .gallery-section,
    .cta-section {
        padding: 60px 0;
    }

    .routes-grid {
        padding: 0 1rem;
    }

    .route-card {
        padding: 1.8rem 1.4rem;
    }

    .route-stats {
        justify-content: center;
        gap: 1.2rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .info-card {
        padding: 1.4rem;
    }

    .info-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0 1rem;
    }

    .cta-content h2 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .btn-primary {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
}
