/* Trail-specific styles */
.logo a {
    text-decoration: none;
    color: inherit;
}

.trail-hero {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.trail-icon-large {
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.trail-hero h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trail-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.trail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background: #16213e;
}

.story-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

.story-card {
    background: linear-gradient(135deg, #2a2a3e 0%, #3a3a4e 100%);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a4a5e;
}

.story-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-text h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #e8e9ea;
}

.criteria {
    display: inline-block;
    padding: 6px 10px;
    margin: 4px 6px 4px 0;
    border-radius: 10px;
    border: 1px solid #d4af37;
    background: rgba(212, 175, 55, 0.12);
    color: #e8e9ea;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Improve contrast when criteria are inside light story boxes */
.story-text[style*="background: #f5f5f5"] .criteria,
.story-text[style*="background:#f5f5f5"] .criteria {
    background: #fff7e1;
    border-color: #b8860b;
    color: #333333;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #b8b9ba;
}

/* High contrast text for light story-text boxes */
.story-text[style*="background: #f5f5f5"],
.story-text[style*="background:#f5f5f5"] {
    color: #333333;
}

.story-text[style*="background: #f5f5f5"] p,
.story-text[style*="background:#f5f5f5"] p {
    color: #333333;
}

/* Stations Section */
.stations-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
}

.stations-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

.stations-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.station-card {
    background: #2a2a3e;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #3a3a4e;
}

.station-card:hover {
    transform: translateY(-5px);
}

.station-number {
    background: linear-gradient(45deg, #d4af37, #b8860b);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.station-content h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e8e9ea;
}

.station-content p {
    margin-bottom: 1rem;
    color: #b8b9ba;
}

.station-task {
    background: #3a3a4e;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #d4af37;
    margin-top: 1rem;
}

.station-task strong {
    color: #d4af37;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #1a1a2e;
}

.map-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

.map-container {
    max-width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid #3a3a4e;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 18px;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: #2a2a3e;
}

.download-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

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

.download-card {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.download-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.download-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.download-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.info-box {
    background: #3a3a4e;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #d4af37;
}

.info-box h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

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

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

.info-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}

.solution-section h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #d4af37;
}

.solution-card {
    background: #2a2a3e;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #3a3a4e;
    color: #e8e9ea;
}

.solution-reveal {
    margin-top: 2rem;
}

.solution-reveal summary {
    background: #d4af37;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    text-align: center;
}

.solution-reveal summary:hover {
    background: #b8860b;
}

.solution-text {
    background: #3a3a4e;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 4px solid #d4af37;
    color: #e8e9ea;
}

.solution-text p {
    margin-bottom: 1rem;
}

.solution-text strong {
    color: #d4af37;
}

/* Responsive Design */
@media (max-width: 768px) {
    .trail-hero h1 {
        font-size: 2rem;
    }
    
    .trail-icon-large {
        font-size: 4rem;
    }
    
    .story-card {
        flex-direction: column;
        text-align: center;
    }
    
    .station-card {
        flex-direction: column;
        text-align: center;
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .trail-meta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .trail-hero {
        padding: 100px 0 60px;
    }
    
    .story-card,
    .station-card,
    .download-card {
        padding: 1.5rem;
    }
    
    .stations-section,
    .story-section,
    .download-section,
    .solution-section {
        padding: 60px 0;
    }
} 