/* ==========================
   Smart Pekua
   Fire Service
========================== */

body{
    margin:0;
    background:#F5F7FB;
    font-family:"AdorshoLipi",sans-serif;
    color:#222;
    padding-bottom:85px;
}


/* ==========================
   Page Header
========================== */

.page-header{

    position:sticky;
    top:0;
    z-index:100;

    height:65px;

    background:#1E88E5;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 4px 12px rgba(0,0,0,.15);

    border-radius:0 0 22px 22px;

}

.page-header h1{

    margin:0;

    font-size:22px;

}


/* ==========================
   Back Button
========================== */

.back-btn{

    position:absolute;

    left:15px;

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.16);

    border-radius:50%;

    color:#fff;

    text-decoration:none;

    font-size:27px;

}


/* ==========================
   Page Content
========================== */

.page-content{

    padding:18px 15px 100px;

}


/* ==========================
   Main Fire Card
========================== */

.fire-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 7px 20px rgba(0,0,0,.09);

    animation:fireFade .4s ease;

}


/* ==========================
   Fire Image
========================== */

.fire-image-box{

    width:100%;

    background:#eee;

}

.fire-image{

    width:100%;

    height:230px;

    object-fit:cover;

    display:block;

}


/* ==========================
   Fire Information
========================== */

.fire-info{

    padding:20px;

}


/* ==========================
   Title
========================== */

.fire-title{

    position:relative;

    padding-bottom:18px;

    margin-bottom:8px;

    border-bottom:1px solid #eee;

}

.fire-title h2{

    margin:0;

    padding-right:5px;

    font-size:23px;

    line-height:1.5;

    color:#222;

}


/* ==========================
   Fire Badge
========================== */

.fire-badge{

    display:inline-flex;

    align-items:center;

    margin-top:12px;

    padding:7px 15px;

    background:#FFF3E0;

    color:#E65100;

    border-radius:30px;

    font-size:14px;

    font-weight:bold;

}


/* ==========================
   Information Items
========================== */

.info-item{

    display:flex;

    align-items:flex-start;

    gap:13px;

    background:#F8F9FA;

    border-radius:15px;

    padding:14px;

    margin-top:13px;

}


/* Icon */

.info-icon{

    width:42px;
    height:42px;

    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#E3F2FD;

    border-radius:12px;

    font-size:21px;

}


/* Text */

.info-text{

    flex:1;

    display:flex;

    flex-direction:column;

    gap:4px;

}

.info-text span{

    color:#777;

    font-size:13px;

}

.info-text strong{

    color:#333;

    font-size:16px;

    line-height:1.5;

}


/* ==========================
   Buttons
========================== */

.fire-buttons{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:10px;

    margin-top:20px;

}


.fire-btn{

    min-height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:10px;

    border-radius:13px;

    color:#fff;

    text-decoration:none;

    font-size:15px;

    font-weight:bold;

    box-sizing:border-box;

    transition:.2s;

}


.fire-btn:active{

    transform:scale(.96);

}


/* Call */

.call-btn{

    background:#2E7D32;

}


/* Alternate */

.alternate-btn{

    background:#43A047;

}


/* Map */

.map-btn{

    background:#1976D2;

}


/* Website */

.website-btn{

    background:#F57C00;

}


/* ==========================
   Bottom Navigation
========================== */

.bottom-nav{

    position:fixed;

    left:0;
    right:0;
    bottom:0;

    height:70px;

    background:#fff;

    display:flex;

    justify-content:space-around;
    align-items:center;

    box-shadow:0 -4px 20px rgba(0,0,0,.12);

    z-index:9999;

    border-radius:20px 20px 0 0;

}

.nav-item{

    flex:1;

    text-align:center;

    text-decoration:none;

    color:#666;

    font-size:13px;

    font-weight:600;

}

.nav-item div{

    font-size:24px;

    margin-bottom:4px;

}

.nav-item:active{

    transform:scale(.92);

}


/* ==========================
   Animation
========================== */

@keyframes fireFade{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================
   Mobile
========================== */

@media(max-width:480px){

    .page-content{

        padding:15px 12px 95px;

    }

    .fire-image{

        height:200px;

    }

    .fire-info{

        padding:17px;

    }

    .fire-title h2{

        font-size:21px;

    }

    .info-text strong{

        font-size:15px;

    }

    .fire-buttons{

        grid-template-columns:1fr;

    }

    .fire-btn{

        min-height:50px;

        font-size:16px;

    }

}