*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f3f5fb;
    color:#222;
    padding-bottom:90px;
}

/* HEADER */

.app-header{
    background:linear-gradient(135deg,#7b2ff7,#b845ff);
    color:white;
    padding:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.app-title{
    font-size:24px;
    font-weight:bold;
    display:flex;
    align-items:center;
    gap:10px;
}

.menu-btn{
    background:rgba(255,255,255,.2);
    border:none;
    color:white;
    width:45px;
    height:45px;
    border-radius:12px;
    font-size:18px;
}

/* SEARCH */

.search-section{
    display:flex;
    gap:10px;
    padding:15px;
}

.search-section input{
    flex:1;
    border:none;
    padding:14px;
    border-radius:14px;
    background:white;
    font-size:16px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.search-section button{
    border:none;
    background:#8a2be2;
    color:white;
    width:55px;
    border-radius:14px;
    font-size:18px;
}

/* HERO CARD */

.hero-card{
    margin:15px;
    padding:25px;
    border-radius:25px;
    color:white;
    background:linear-gradient(135deg,#7b2ff7,#c026d3);
    box-shadow:0 10px 25px rgba(123,47,247,.3);
}

.city-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.hero-icon{
    font-size:50px;
}

#temperature{
    font-size:65px;
    margin-top:15px;
    font-weight:bold;
}

#description{
    margin-top:10px;
    opacity:.9;
}

/* DETAILS */

.details-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    padding:15px;
}

.detail-card{
    background:white;
    border-radius:18px;
    padding:18px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.detail-card span{
    font-size:26px;
}

.detail-card h4{
    margin-top:8px;
    font-size:14px;
    color:#666;
}

.detail-card p{
    margin-top:6px;
    font-weight:bold;
}

/* SECTION */

.section{
    padding:15px;
}

.section-title{
    font-size:20px;
    font-weight:bold;
    margin-bottom:15px;
}

/* HOURLY */

.hourly-scroll{
    display:flex;
    overflow-x:auto;
    gap:12px;
    padding-bottom:10px;
}

.hour-card{
    min-width:95px;
    background:white;
    border-radius:18px;
    padding:15px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.hour-card .icon{
    font-size:28px;
    margin:8px 0;
}

/* DAILY */

.forecast-card{
    background:white;
    border-radius:18px;
    padding:15px;
    margin-bottom:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.forecast-left{
    display:flex;
    flex-direction:column;
}

.forecast-icon{
    font-size:28px;
}

.forecast-temp{
    font-weight:bold;
}

/* BOTTOM NAV */

.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:white;
    display:flex;
    justify-content:space-around;
    padding:12px 0;
    box-shadow:0 -5px 20px rgba(0,0,0,.1);
}

.nav-item{
    border:none;
    background:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    color:#777;
    font-size:11px;
}

.nav-item i{
    font-size:20px;
}

.nav-item.active{
    color:#8a2be2;
}

/* MOBILE */

@media(max-width:768px){

    #temperature{
        font-size:58px;
    }

    .hero-icon{
        font-size:45px;
    }

}
