/* ===============================
   Reset & Global
=============================== */

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

body{
    background:#f5f5f5;
    color:#111;
}

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

nav{
    background:#111;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 50px;
}

.logo{
    font-size:32px;
    font-weight:700;
}

nav ul{
    display:flex;
    list-style:none;
    gap:35px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-size:18px;
    transition:.3s;
}

nav ul li a:hover{
    color:#d9d9d9;
}

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

header{
    text-align:center;
    padding:50px 20px;
}

header h1{
    font-size:56px;
    margin-bottom:15px;
}

header p{
    font-size:22px;
    color:#555;
}

.live-status{
    display:inline-block;
    margin-top:25px;
    background:#111;
    color:white;
    padding:14px 30px;
    border-radius:40px;
    font-weight:600;
}

/* ===============================
   Main Layout
=============================== */

.main-container{
    width:92%;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:35px;
    margin-bottom:50px;
}

/* ===============================
   Emergency Cards
=============================== */

.emergency-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.emergency-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.35s;
}

.emergency-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.emergency-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.emergency-card h2{
    padding:20px 20px 10px;
    font-size:28px;
}

.emergency-card p{
    padding:0 20px;
    margin:10px 0;
    font-size:17px;
    color:#444;
}

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

.button-group{
    display:flex;
    gap:10px;
    padding:20px;
}

.button-group button{
    flex:1;
}

button{
    padding:13px;
    border:none;
    border-radius:12px;
    background:#111;
    color:white;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

button:hover{
    background:#333;
    transform:scale(1.03);
}

/* ===============================
   Information Box
=============================== */

#emergencyBox{
    background:white;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    text-align:center;
    min-height:700px;
}

#emergencyBox h2{
    font-size:36px;
    margin-bottom:20px;
}

#emergencyBox p{
    font-size:20px;
    line-height:1.8;
    color:#444;
}

.info-image{
    width:100%;
    height:230px;
    object-fit:cover;
    border-radius:15px;
    margin-bottom:20px;
}

#emergencyBox button{
    width:100%;
    margin-top:25px;
}

/* ===============================
   Footer
=============================== */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:25px;
    font-size:18px;
}

/* ===============================
   Responsive
=============================== */

@media(max-width:1100px){

    .main-container{
        grid-template-columns:1fr;
    }

    #emergencyBox{
        min-height:auto;
    }

}

@media(max-width:900px){

    nav{
        flex-direction:column;
        gap:20px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    header h1{
        font-size:42px;
    }

    .emergency-container{
        grid-template-columns:1fr;
    }

    .button-group{
        flex-direction:column;
    }

}
/* Accessibility */

.skip-link{

position:absolute;
left:-9999px;
top:auto;
background:#000;
color:#fff;
padding:12px 18px;
text-decoration:none;
border-radius:8px;
z-index:1000;

}

.skip-link:focus{

left:20px;
top:20px;

}

.visually-hidden{

position:absolute;
width:1px;
height:1px;
padding:0;
margin:-1px;
overflow:hidden;
clip:rect(0,0,0,0);
border:0;

}

button:focus,
nav a:focus{

outline:3px solid #FFD54F;
outline-offset:3px;

}