/* ===== WEATHER PAGE STYLES ===== */

/* ===== WEATHER HEADER ===== */
.weather-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.weather-header-bg {
    position: absolute;
    inset: 0;
    background: url('images/weather-header-bg.webp') center/cover no-repeat;
    z-index: -2;
}

.weather-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 26, 46, 0.92) 0%, 
        rgba(0, 51, 89, 0.85) 50%, 
        rgba(0, 100, 148, 0.75) 100%);
    z-index: -1;
}

.weather-header-content {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 800px;
}

.weather-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 168, 232, 0.2);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.weather-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.weather-header h1 span {
    color: var(--accent-light);
}

.weather-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== MAIN CONTENT ===== */
.weather-main {
    padding: 3rem 0 4rem;
    background: var(--gray-50);
}

.weather-main .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== WIDGET SECTION ===== */
.widget-section {
    margin-bottom: 3rem;
}

.widget-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.widget-header h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.widget-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.widget-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 450px;
    position: relative;
}

/* FishingBooker Widget Container */
.fishingbooker-widget {
    width: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fishingbooker-widget iframe {
    width: 100% !important;
    min-height: 450px !important;
    border: none !important;
}

/* Widget Loader */
.widget-loader {
    text-align: center;
    padding: 3rem;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.widget-loader p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Widget Fallback */
.widget-fallback {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    background: var(--gray-50);
    min-height: 300px;
}

.fallback-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.widget-fallback h3 {
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.widget-fallback p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.widget-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 1rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: var(--radius);
    border-left: 4px solid #ffc107;
}

/* ===== MAP SECTION ===== */
.map-section {
    margin-bottom: 3rem;
}

.section-header-left {
    margin-bottom: 1.5rem;
}

.section-header-left h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-header-left p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.windy-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.windy-iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

/* ===== INFO SECTION ===== */
.info-section {
    margin-bottom: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-list li strong {
    color: var(--primary-dark);
}

/* ===== CTA SECTION ===== */
.weather-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
}

.weather-cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.weather-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .weather-header {
        min-height: 350px;
    }
    
    .weather-header h1 {
        font-size: 2rem;
    }
    
    .widget-wrapper,
    .fishingbooker-widget {
        min-height: 380px;
    }
    
    .fishingbooker-widget iframe {
        min-height: 380px !important;
    }
    
    .windy-iframe {
        height: 400px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .weather-cta {
        padding: 2rem 1.5rem;
    }
    
    .weather-cta h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .weather-main {
        padding: 2rem 0 3rem;
    }
    
    .widget-header h2,
    .section-header-left h2 {
        font-size: 1.4rem;
    }
    
    .windy-iframe {
        height: 300px;
    }
    
    .info-card {
        padding: 1.25rem;
    }
}




/* ===== FISHINGBOOKER WIDGET ===== */
.widget-section {
    margin-bottom: 3rem;
}

.widget-section .container {
    max-width: 900px;
}

.widget-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.widget-header h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.widget-header p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.widget-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 400px;
}

.fishingbooker-widget {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Asegurar que el iframe del widget se muestre correctamente */
.fishingbooker-widget iframe,
#fbkr-widget-836 iframe {
    width: 100% !important;
    min-height: 400px !important;
    border: none !important;
    display: block !important;
}

/* Widget Loader */
.widget-loader {
    text-align: center;
    padding: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.widget-loader p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Widget Error */
.widget-error {
    text-align: center;
    padding: 3rem;
}

.widget-error p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Widget Note */
.widget-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #fff3cd;
    border-radius: var(--radius);
    border-left: 4px solid #ffc107;
}

/* Responsive */
@media (max-width: 768px) {
    .widget-wrapper,
    .fishingbooker-widget {
        min-height: 350px;
    }
    
    .fishingbooker-widget iframe,
    #fbkr-widget-836 iframe {
        min-height: 350px !important;
    }
}

