/* File: /Users/liborballaty/LocalProjects/GitHubProjectsDocuments/go-madeira/assets/css/guide.css
 * Description: Styles for Madeira Travel Guide pages
 * Author: Libor Ballaty <libor@arionetworks.com>
 * Created: 2026-03-12
 */

.guide-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    /* Forest green gradient for travel guide - Madeira's mountains and forests */
    color: white;
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.guide-hero h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.guide-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin: 0;
}

.guide-intro {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-primary);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.locations-grid-section,
.guide-topics {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-secondary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.location-card {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.location-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.location-content {
    padding: var(--spacing-lg);
}

.location-content h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.location-content p {
    color: var(--text-secondary);
    margin: 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
}

.topic-card {
    background-color: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.topic-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.topic-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Location Detail Page */
.location-detail {
    padding: var(--spacing-2xl) 0;
}

.location-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.location-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.location-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.guide-section {
    margin-bottom: var(--spacing-2xl);
}

.guide-section h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.guide-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.guide-section ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-xl);
}

.guide-section li {
    color: var(--text-secondary);
    margin: var(--spacing-sm) 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.highlight-card {
    background-color: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.highlight-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.practical-info {
    background-color: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    margin: var(--spacing-2xl) 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
}

.info-value {
    color: var(--text-secondary);
}

/* Weather Section */
.weather-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-secondary);
}

.weather-map {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-2xl);
}

.weather-links {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.weather-links h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.weather-link {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.weather-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.weather-link:hover strong,
.weather-link:hover small {
    color: white;
}

.weather-link strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.weather-link small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Webcams Section */
.webcams-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-primary);
}

.webcams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.webcam-card {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.webcam-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.webcam-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.webcam-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.webcam-card .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .guide-hero h2 {
        font-size: 2rem;
    }

    .location-header h2 {
        font-size: 2rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .weather-map iframe {
        height: 400px;
    }

    .webcams-grid {
        grid-template-columns: 1fr;
    }
}
