/* ═══════════════════════════════════════════════════════════
   Modern Adventure/Outdoor E-Bike Rental Page Styles
   ═══════════════════════════════════════════════════════════ */

/* Typography - Modern Fonts */
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

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

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

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

.hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 1;
}

@media (min-width: 576px) {
    .hero-description {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.05rem;
    }
}

/* Section title with green accent line */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #198754;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #198754;
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2rem;
    color: #198754;
    margin-bottom: 1rem;
}

.service-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.service-description {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Mobile compatibility for carousel */
@media (max-width: 992px) {
    #heroCarousel .carousel-item > div {
        height: 350px !important;
    }
}

@media (max-width: 768px) {
    #heroCarousel .carousel-item > div {
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    #heroCarousel .carousel-item > div {
        height: 250px !important;
    }
}

/* Hero section responsive adjustments */
@media (max-width: 992px) {
    .hero-section .row {
        flex-direction: column;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .hero-section .col-lg-6:last-child {
        margin-top: auto;
    }
    
    .hero-section {
        min-height: auto !important;
        padding: 3rem 0;
    }
    
    .hero-section .container {
        padding-top: 2rem;
    }
    
    .hero-section .btn-warning {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

/* Carousel Controls Styling */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: auto;
    margin: 0 10px;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
}

#heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Bicycle Grid Cards */
.bicycle-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.bicycle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.bicycle-expandable {
    transition: all 0.3s ease;
}

.bicycle-expandable:hover {
    transform: translateY(-8px);
}

.bicycle-card-img {
    min-height: 250px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.bicycle-card-img img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.size-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #198754;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.bicycle-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #198754;
}

.bicycle-price-unit {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 400;
}

.bicycle-description {
    transition: all 0.3s ease;
    max-height: none !important;
    overflow: visible !important;
}

.bicycle-description .text-muted {
    line-height: 1.6;
}

.bicycle-description .text-muted p {
    margin-bottom: 0.5rem;
}

.bicycle-description .text-muted p:last-child {
    margin-bottom: 0;
}

.bicycle-description .text-muted strong,
.bicycle-description .text-muted b {
    color: #495057;
    font-weight: 600;
}

.bicycle-description .text-muted em,
.bicycle-description .text-muted i {
    font-style: italic;
}

.bicycle-description .text-muted ul,
.bicycle-description .text-muted ol {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.bicycle-description .text-muted li {
    margin-bottom: 0.25rem;
}

.bicycle-toggle {
    transition: all 0.3s ease;
}

.bicycle-toggle:hover {
    transform: scale(1.05);
}

.bicycle-toggle .toggle-text {
    transition: all 0.3s ease;
}

/* Modern Gallery Placeholder */
.gallery-placeholder {
    border-radius: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 200px;
    overflow: hidden;
}

.gallery-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-placeholder:hover img {
    transform: scale(1.05);
}

.gallery-placeholder i {
    font-size: 3rem;
    color: #adb5bd;
    margin-bottom: 0.75rem;
}

.gallery-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0 0 1rem 1rem;
}

/* Guided tour section */
.guided-tour-section {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.guided-tour-text {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #495057;
}

.regione-highlight {
    background-color: #fff3cd;
    padding: 0.125rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

/* CTA buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Accordion styling */
.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #198754;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* Video styling */
video {
    border-radius: 1rem;
    max-width: 100%;
}

/* Comune section styling */
.comune-section {
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .guided-tour-section {
        padding: 1.5rem;
    }
}
