/* Estilos para os novos cards de clima */
:root {
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.weather-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.weather-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: white;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.weather-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.weather-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

/* Card específico para cada tipo de clima */
.weather-card.nublado::before {
    background-image: url('../img/weather/nublado.jpg');
}

.weather-card.nevoa::before {
    background-image: url('../img/weather/nevoa.jpg');
}

.weather-card.chuva::before {
    background-image: url('../img/weather/chuva.jpg');
}

.weather-card.vento::before {
    background-image: url('../img/weather/vento.jpg');
}

.weather-card.tempestade::before {
    background-image: url('../img/weather/tempestade.jpg');
}

.weather-card.neve::before {
    background-image: url('../img/weather/neve.jpg');
}

/* Conteúdo do card */
.card-title {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.card-value {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.card-description {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Ícones de clima */
.weather-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    font-size: 1.5rem;
}

.weather-icon.nublado {
    color: #ff5c5c;
}

.weather-icon.nevoa {
    color: #5c9fff;
}

.weather-icon.chuva {
    color: #ff5ce6;
}

.weather-icon.vento {
    color: #ff5c5c;
}

.weather-icon.tempestade {
    color: #ff5c5c;
}

.weather-icon.neve {
    color: #5ce6ff;
}

/* Estilos para as configurações detalhadas */
.detailed-settings {
    margin-top: 2rem;
    background-color: rgba(124, 58, 237, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.settings-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.settings-section h3 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.settings-toggle {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.btn-secondary {
    background: linear-gradient(135deg, #3a4750, #546e7a);
    color: #fff;
}
