/* vanadzor.css */
.weather-container {
    max-width: 1400px;
    margin: 40px auto;
    background: #fafafa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Roboto', sans-serif;
}

.location-header h1 {
    font-size: 34px;
    font-weight: 600;
    color: #001a33;
    text-align: center;
    margin-bottom: 10px;
}

.region-name {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.forecast-nav {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.forecast-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.forecast-nav a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #005566;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.forecast-nav a:hover {
    background: #e6f0fa;
    color: #003366;
}

.forecast-nav a.active {
    background: #005566;
    color: #fff;
    font-weight: 600;
}

.forecast-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #001a33;
    text-align: center;
    margin-bottom: 20px;
}

.current-beautiful {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.current-main {
    text-align: center;
}

.current-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.current-icon:hover {
    transform: scale(1.1);
}

.night-mode {
    filter: brightness(0.6) contrast(1.2);
}

.current-temp {
    font-size: 72px;
    font-weight: 300;
    color: #001a33;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.temp-value {
    font-size: 1em;
}

.temp-unit {
    font-size: 0.5em;
    color: #005566;
}

.current-condition {
    font-size: 24px;
    font-weight: 500;
    color: #005566;
    margin: 10px 0;
}

.current-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #f0f4f8;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.detail-item:hover {
    background: #e6f0fa;
}

.detail-label {
    font-size: 14px;
    color: #777;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #001a33;
}

.current-sun {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 15px;
    background: #f0f4f8;
    border-radius: 8px;
}

.sun-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sun-label {
    font-size: 14px;
    color: #777;
}

.sun-value {
    font-size: 16px;
    font-weight: 600;
    color: #001a33;
}

.hourly-section {
    margin-top: 30px;
}

.hourly-cards {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: #e6f0fa transparent;
    padding-bottom: 10px;
}

.hour-card {
    flex: 0 0 140px;
    min-width: 140px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hour-time {
    font-size: 14px;
    font-weight: 600;
    color: #001a33;
    margin-bottom: 8px;
}

.hour-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.hour-temp {
    font-size: 18px;
    font-weight: 600;
    color: #001a33;
    margin-bottom: 8px;
}

.hour-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hour-detail {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.daily-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.daily-card {
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.daily-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.daily-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.daily-date {
    font-size: 16px;
    font-weight: 600;
    color: #001a33;
}

.daily-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.daily-condition {
    font-size: 14px;
    font-weight: 500;
    color: #005566;
    margin-bottom: 8px;
}

.daily-temp {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 10px;
}

.temp-max {
    font-weight: 600;
    color: #001a33;
}

.temp-min {
    color: #666;
}

.daily-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 12px;
}

.daily-detail {
    display: flex;
    flex-direction: column;
}

.city-photo {
    max-width: 1200px;
    margin: 30px auto;
}

.city-photo img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.city-facts {
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.city-facts h2 {
    font-size: 24px;
    font-weight: 600;
    color: #001a33;
    margin-bottom: 20px;
    text-align: center;
}

.city-facts ul {
    list-style: none;
    padding: 0;
}

.city-facts li {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.city-facts li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: #005566;
    font-size: 20px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.forecast-section > * {
    animation: fadeInUp 0.5s ease-out;
}

@media (max-width: 992px) {
    .current-beautiful {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .current-temp {
        font-size: 60px;
    }
    .current-icon {
        width: 100px;
        height: 100px;
    }
    .daily-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .weather-container {
        max-width: 90%;
        padding: 20px;
    }
    .city-photo {
        max-width: 90%;
    }
    .city-facts {
        max-width: 90%;
    }
    .forecast-nav a {
        padding: 8px 14px;
        font-size: 13px;
    }
    .hour-card {
        flex: 0 0 120px;
        min-width: 120px;
    }
    .hour-card img {
        width: 40px;
        height: 40px;
    }
    .daily-card {
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    .weather-container {
        margin: 15px;
    }
    .location-header h1 {
        font-size: 26px;
    }
    .current-temp {
        font-size: 48px;
    }
    .current-icon {
        width: 80px;
        height: 80px;
    }
    .current-condition {
        font-size: 20px;
    }
    .hour-card {
        flex: 0 0 100px;
        min-width: 100px;
        padding: 10px;
    }
    .hour-card img {
        width: 36px;
        height: 36px;
    }
    .hour-time {
        font-size: 13px;
    }
    .hour-temp {
        font-size: 16px;
    }
    .daily-card {
        padding: 10px;
    }
    .daily-date {
        font-size: 14px;
    }
    .daily-condition {
        font-size: 13px;
    }
    .daily-card img {
        width: 36px;
        height: 36px;
    }
    .city-facts h2 {
        font-size: 20px;
    }
    .city-facts li {
        font-size: 14px;
    }
}