* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background:  url('./Images/Weather2.png') ;
    background-size: cover;
    color: white;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, transparent 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2.2rem;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.tagline {
    font-size: 0.65rem;
    color: #bfc1c8;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    padding: 8px 25px;
    border-radius: 30px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a.active {
    border-color: #009ad8;
    color: #009ad8;
}

.nav-links a:hover:not(.active) {
    color: #009ad8;
}

.main-bg {
    background: transparent;
    min-height: calc(100vh - 85px);
    padding: 60px 0;
}

.search-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto 70px;
    background: rgba(30, 32, 43, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-icon {
    position: absolute;
    left: 25px;
    color: #009ad8;
}

#citySearch {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 60px;
    color: white;
    font-size: 1rem;
    outline: none;
}


#geoBtn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 55px;
    background: #009ad8;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#geoBtn:hover {
    background: #007bb5;
}

.forecast-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: rgba(50, 53, 68, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(58, 61, 78, 0.6);
    border-color: #009ad8;
}

.card:active {
    transform: scale(0.98);
}

.main-card {
    text-align: left;
}

.day-title {
    color: #bfc1c8;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.location-title {
    font-size: 1.1rem;
    color: #bfc1c8;
    margin-bottom: 20px;
}

.temp-large {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin: 10px 0;
    line-height: 1;
}

.temp-med {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 15px 0 5px;
}

.temp-min {
    color: #bfc1c8;
    font-size: 1.1rem;
}

.condition {
    color: #009ad8;
    font-size: 0.95rem;
    margin-top: 20px;
    display: block;
}

.weather-icon {
    width: 60px;
    margin: 10px auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.main-card .weather-icon {
    width: 80px;
    margin: 0;
    float: right;
}

.details-row {
    margin-top: 25px;
    color: #bfc1c8;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
}

.details-row i {
    margin-right: 5px;
    color: #009ad8;
}

.contact-box {
    max-width: 600px;
    margin: 50px auto;
    background: rgba(50, 53, 68, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(30, 32, 43, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: #009ad8;
    box-shadow: 0 0 10px rgba(0, 154, 216, 0.2);
}

textarea.form-control {
    border-radius: 15px;
    resize: none;
    height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #009ad8;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.submit-btn:hover {
    background: #007bb5;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .search-box {
        max-width: 100%;
        margin-bottom: 40px;
    }
    .main-card .weather-icon {
        float: none;
        display: block;
        margin: 10px 0;
    }

}
