/* ===== Reset ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ===== Background ===== */
body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;

    background-image: url("sky.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== Main App Card ===== */
.app{
    width:600px;  
    padding:30px;
    border-radius:20px;

    background: rgba(255,255,255,0.92);
    box-shadow:0 20px 40px rgba(0,0,0,0.25);

    text-align:center;
}

/* ===== Title ===== */
h1{
    font-size:26px;
    font-weight:600;
    margin-bottom:25px;
}

/* ===== Search Row ===== */
.search-box{
    display:flex;
    gap:12px;
    margin-bottom:25px;
}

/* ===== Input ===== */
input{
    flex:1;
    padding:12px;
    border-radius:12px;
    border:1px solid #d0d7de;
    outline:none;
    font-size:14px;
    background:#f6f8fa;
}

input:focus{
    border-color:#4a90e2;
}

/* ===== Button ===== */
button{
    padding:12px 16px;
    border:none;
    border-radius:12px;
    background:#4a90e2;
    color:white;
    font-weight:500;
    cursor:pointer;
    transition:0.2s;
}

button:hover{
    background:#3a78c2;
    transform: translateY(-1px);
}

/* ===== Weather Card ===== */
.weather-card{
    background:#f6f8fa;
    border-radius:16px;
    padding:25px;
}

/* ===== Current Weather Text ===== */
#temp{
    font-size:40px;
    font-weight:600;
    margin-bottom:10px;
}

#desc{
    font-size:18px;
    color:#444;
    text-transform:capitalize;
    margin-bottom:6px;
}

#humidity,
#wind{
    font-size:15px;
    color:#555;
    margin-bottom:4px;
}

/* ===== Forecast Section ===== */
#forecast{
    display:flex;
    justify-content:space-between;
    margin-top:25px;
    gap:10px;
}

/* ===== Forecast Cards ===== */
#forecast{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.forecast-item{
    background: white;
    padding: 12px 8px;
    border-radius: 14px;
    text-align: center;
    font-size: 13px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}


