/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --primary: #2c5530;
    --secondary: #8b4513;
    --accent: #d4af37;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --text: #333;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #f5f5f5;
}

/* Links */
a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   HEADER SECTION
   ======================================== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Dropdown Menu */
nav ul li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    min-width: 240px;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 0.25rem;
}

/* Create an invisible bridge to prevent dropdown from closing */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.25rem;
    left: 0;
    right: 0;
    height: 0.25rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--dark);
    white-space: nowrap;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown-menu li a.active {
    background: var(--light);
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    /* Fallback for older browsers */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/bosco-franz-optimized.jpg') no-repeat center center/cover;
    /* Modern browsers with WebP support */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/bosco-franz.webp') no-repeat center center/cover;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

/* Hero Logo */
.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    width: auto;
    height: 280px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
    object-position: center;
}

/* Hero Text */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero-date {
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 1rem;
    line-height: 1.5;
    font-weight: 500;
    color: white;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-primary {
    background: var(--accent);
}

.btn-primary:hover {
    background: #c49b2d;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--accent);
}

/* ========================================
   SECTION GENERAL STYLES
   ======================================== */
section {
    padding: 3rem 0;
}

/* Intro Section */
.intro {
    background: white;
    padding: 3rem 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* Page Hero (for regolamento page) */
.page-hero {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 0 3rem;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.3rem;
    color: var(--accent);
}

/* Regulations Page */
.regulations-page {
    background: var(--light);
    padding: 4rem 0;
}

.back-to-home {
    margin-bottom: 3rem;
    text-align: center;
}

.regulations-page .testimonial-grid {
    margin-bottom: 4rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: white;
}

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

/* Feature Cards */
.feature-card {
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.feature-card.clickable-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-card.clickable-card:hover {
    box-shadow: 0 8px 25px rgba(56, 87, 35, 0.2);
}

/* Feature Images */
.feature-img {
    height: 200px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-img img {
    transform: scale(1.05);
}

/* Feature Content */
.feature-content {
    padding: 1.5rem;
}

.feature-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature-content .card-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.feature-card:hover .card-link {
    gap: 0.8rem;
}

.feature-content .card-link i {
    transition: transform 0.3s ease;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* About Text */
.about-text h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* About Image */
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--light);
}

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

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 5rem;
    color: rgba(58, 124, 83, 0.1);
    position: absolute;
    top: -10px;
    left: 10px;
}

.testimonial-text {
    margin-bottom: 1rem;
}

/* Testimonial Author */
.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
}

/* ========================================
   REGULATIONS SECTION
   ======================================== */
.regulation-list {
    text-align: left;
    margin-top: 1rem;
}

.regulation-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Detailed Regulations */
.detailed-regulations {
    background: #f8f9fa;
}

.detailed-regulations-content {
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   CALL TO ACTION SECTION
   ======================================== */
.cta {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1551632811-561732d1e306?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer Columns */
.footer-col h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: white;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */
.breadcrumb {
    background: var(--light);
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text);
    margin: 0 0.5rem;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison-section {
    padding: 3rem 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--primary);
    color: white;
}

.comparison-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table th.route-25km {
    background: #1f4024;
}

.comparison-table th.route-12km {
    background: #2c5530;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:hover {
    background: #f9f9f9;
}

.comparison-table td {
    padding: 1rem 1.25rem;
}

.comparison-table td:first-child {
    background: #f5f5f5;
    font-weight: 500;
}

/* Difficulty Badges */
.difficulty-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.difficulty-badge.impegnativo {
    background: #ff6b6b;
    color: white;
}

.difficulty-badge.moderato {
    background: #51cf66;
    color: white;
}

/* ========================================
   ROUTES DETAILED SECTION
   ======================================== */
.routes-detailed {
    padding: 4rem 0;
    background: var(--light);
}

.routes-grid {
    display: grid;
    gap: 3rem;
}

.route-detail-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.route-detail-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.route-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-badge {
    
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.route-badge.impegnativo {
    background: #ff6b6b;
    color: white;
}

.route-badge.moderato {
    background: #51cf66;
    color: white;
}

.route-detail-content {
    padding: 2.5rem;
}

.route-detail-content h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.route-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 8px;
}

.route-stats .stat {
    text-align: center;
}

.route-stats .stat i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.route-stats .stat span {
    display: block;
    font-weight: 600;
    color: var(--text);
}

.route-detail-content h3 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.route-detail-content h4 {
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.waypoints-list,
.features-list,
.suitability-list {
    list-style: none;
    margin: 1rem 0;
}

.waypoints-list li,
.features-list li,
.suitability-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.waypoints-list li i,
.features-list li i {
    position: absolute;
    left: 0;
    color: var(--primary);
    top: 0.7rem;
}

.suitability-list li:before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* ========================================
   ROUTE HERO (for detail pages)
   ======================================== */
.route-hero {
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
    position: relative;
}

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

.route-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.route-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.route-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-stat i {
    font-size: 2rem;
}

.hero-stat div {
    text-align: left;
}

.hero-stat strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.hero-stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   ROUTE OVERVIEW SECTION
   ======================================== */
.route-overview {
    padding: 4rem 0;
    background: white;
}

.route-overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Route Map Section */
.route-map-section {
    padding: 4rem 0;
    background: #f9f9f9;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.map-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.map-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-card h3 i {
    color: var(--secondary);
}

.map-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.overview-main h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.overview-main p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.info-box.warning-box {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.info-box.success-box {
    background: #e8f5e9;
    border-left-color: #4caf50;
}

.info-box h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.4rem 0;
    line-height: 1.6;
}

.info-list li.indent {
    padding-left: 1.5rem;
}

/* ========================================
   TIMELINE / WAYPOINTS
   ======================================== */
.waypoints-section {
    padding: 4rem 0;
    background: var(--light);
}

.timeline {
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
    padding-left: 3rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary);
    z-index: 2;
}

.timeline-marker.start {
    background: #51cf66;
    border-color: #51cf66;
}

.timeline-marker.finish {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.timeline-marker.summit {
    background: #ffd43b;
    border-color: #ffd43b;
    width: 2.5rem;
    height: 2.5rem;
    left: -2.75rem;
}

.timeline-marker.aid {
    background: #339af0;
    border-color: #339af0;
}

.timeline-marker.highlight {
    background: var(--accent);
    border-color: var(--accent);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-content p {
    margin: 0.5rem 0;
    line-height: 1.7;
}

/* ========================================
   HIGHLIGHTS SECTION
   ======================================== */
.highlights-section {
    padding: 4rem 0;
    background: white;
}

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

.highlight-card {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.highlight-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ========================================
   TRAINING SECTION
   ======================================== */
.training-section {
    padding: 4rem 0;
    background: var(--light);
}

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

.training-text h3,
.training-text h4 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.training-list {
    list-style: none;
    margin: 1rem 0;
}

.training-list li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    line-height: 1.7;
}

.training-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.tip-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    border-radius: 8px;
}

.tip-box h4 {
    color: #1976d2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-box ul {
    list-style: none;
}

.tip-box li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.tip-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2196f3;
    font-weight: bold;
}

/* ========================================
   EQUIPMENT SECTION
   ======================================== */
.equipment-section {
    padding: 4rem 0;
    background: white;
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.equipment-mandatory,
.equipment-recommended {
    padding: 2rem;
    border-radius: 12px;
}

.equipment-mandatory {
    background: #ffebee;
    border: 2px solid #ef5350;
}

.equipment-recommended {
    background: #e8f5e9;
    border: 2px solid #66bb6a;
}

.equipment-mandatory h3,
.equipment-recommended h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.equipment-mandatory h3 {
    color: #d32f2f;
}

.equipment-recommended h3 {
    color: #388e3c;
}

.equipment-list {
    list-style: none;
}

.equipment-list li {
    padding: 0.7rem 0 0.7rem 2rem;
    position: relative;
    line-height: 1.7;
}

.equipment-list li i {
    position: absolute;
    left: 0;
    top: 0.9rem;
}

.equipment-mandatory .equipment-list li i {
    color: #d32f2f;
}

.equipment-recommended .equipment-list li i {
    color: #388e3c;
}

.warning-text {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff3e0;
    border-radius: 6px;
    font-weight: 500;
    color: #e65100;
}

/* ========================================
   NUTRITION SECTION
   ======================================== */
.nutrition-section {
    padding: 4rem 0;
    background: var(--light);
}

.nutrition-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.nutrition-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nutrition-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nutrition-card p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ========================================
   AID STATIONS SECTION
   ======================================== */
.aid-stations-section {
    padding: 4rem 0;
    background: white;
}

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

.aid-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.aid-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 4px solid white;
}

.aid-card h3 {
    color: var(--primary);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.aid-card ul {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.aid-card li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
}

.aid-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.aid-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 8px;
}

/* ========================================
   GPX SECTION
   ======================================== */
.gpx-section {
    padding: 4rem 0;
    background: var(--light);
}

.gpx-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.gpx-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.gpx-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.gpx-placeholder {
    margin: 2rem 0;
    padding: 2rem;
    background: #fff3e0;
    border-radius: 8px;
    border: 2px dashed #ff9800;
}

.gpx-placeholder p {
    margin: 0.5rem 0;
}

/* ========================================
   RULES SECTION
   ======================================== */
.rules-section {
    padding: 4rem 0;
    background: white;
}

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

.rule-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
}

.rule-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rule-card ul {
    list-style: none;
}

.rule-card li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    line-height: 1.7;
}

.rule-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.rules-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light);
    border-radius: 8px;
}

.rules-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* ========================================
   CTA BUTTONS
   ======================================== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile navigation menu */
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: 0.5s;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: var(--light);
        margin-top: 0.5rem;
        margin-left: 1rem;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Smaller hero heading */
    .hero h2 {
        font-size: 2rem;
    }
    
    /* Route hero responsive */
    .route-hero h1 {
        font-size: 2rem;
    }
    
    .route-hero-stats {
        gap: 1rem;
    }
    
    .hero-stat {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Overview grid mobile */
    .route-overview-grid,
    .training-content {
        grid-template-columns: 1fr;
    }
    
    /* Map grid mobile */
    .map-grid {
        grid-template-columns: 1fr;
    }
    
    /* Equipment grid mobile */
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    /* Comparison table responsive */
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
    
    /* Timeline mobile */
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline:before {
        left: 0.5rem;
    }
    
    .timeline-marker {
        left: -1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .timeline-marker.summit {
        width: 2rem;
        height: 2rem;
        left: -1.75rem;
    }
    
    /* Route detail img mobile */
    .route-detail-img {
        height: 200px;
    }
    
    .route-detail-content {
        padding: 1.5rem;
    }
    
    /* GPX card mobile */
    .gpx-card {
        padding: 2rem 1.5rem;
    }
    
    .gpx-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    /* CTA buttons mobile */
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
