/* Historia plaży - style */
.history-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.history-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3095d3, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-back:hover {
    background: linear-gradient(135deg, #2980b9, #3095d3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn-back i {
    font-size: 1.1rem;
}

/* Accordion styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    background: linear-gradient(135deg, #3095d3, #2980b9);
    color: white !important;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #2980b9, #3095d3);
    color: white;
    box-shadow: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.weather-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.weather-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.weather-item .title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.weather-value {
    font-size: 1.2rem;
    color: #3095d3;
}

.flag-status {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.flag-white {
    background-color: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.flag-red {
    background-color: #dc3545;
    color: white;
}

.lifeguards-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lifeguards-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.message-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.message-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Carousel styles */
.carousel {
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}

.update-info {
    text-align: right;
    color: #6c757d;
    font-style: italic;
    margin-top: 1rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .history-container {
        padding: 1rem;
    }
    
    .header-section {
        flex-direction: column;
        text-align: center;
    }
    
    .history-title {
        font-size: 2rem;
    }
    
    .btn-back {
        width: 100%;
        justify-content: center;
    }

    .weather-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-item img {
        height: 300px;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
} 