/* ===========================
   GM Bible - Style
   Mobile First
=========================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#3b6dcc;
    --primary-dark:#2f5bb0;

    --background:#f4f6fa;
    --surface:#ffffff;

    --text:#333333;
    --text-light:#666666;

    --border:#dddddd;

    --shadow:0 5px 18px rgba(0,0,0,.08);
    --radius:16px;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.5;

    -webkit-font-smoothing:antialiased;

    padding-bottom:calc(80px + env(safe-area-inset-bottom));

}

/* ===========================
   HEADER
=========================== */

.topbar{

    position:sticky;

    top:0;

    z-index:1000;

    background:var(--primary);

    color:#fff;

    text-align:center;

    padding:16px;

    font-size:1.3rem;

    font-weight:700;

    box-shadow:0 2px 8px rgba(0,0,0,.15);

}

/* ===========================
   CONTENT
=========================== */

.container{

    max-width:1100px;

    margin:auto;

    padding:20px;

}

.hero{

    text-align:center;

    margin-bottom:35px;

}

.hero h1{

    font-size:clamp(1.9rem,5vw,2.7rem);

    margin-bottom:15px;

}

.intro{

    color:var(--text-light);

    font-size:1rem;

    max-width:700px;

    margin:auto;

}

/* ===========================
   MENU
=========================== */

.menu{

    display:grid;

    grid-template-columns:1fr;

    gap:20px;

}

.menu-card{

    display:flex;

    align-items:center;

    gap:20px;

    background:var(--surface);

    color:var(--text);

    text-decoration:none;

    border-radius:var(--radius);

    padding:20px;

    box-shadow:var(--shadow);

    transition:.25s;

}

.menu-card:hover{

    transform:translateY(-3px);

}

.card-image{

    flex:0 0 90px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.card-image i{

    font-size:52px;

    color:var(--primary);

}

.card-content{

    flex:1;

}

.menu-title{

    font-size:1.35rem;

    font-weight:700;

    margin-bottom:6px;

}

.menu-desc{

    color:var(--text-light);

    line-height:1.4;

}

/* ===========================
   FOOTER
=========================== */

.footer{

    text-align:center;

    color:#888;

    padding:30px 20px;

}

/* ===========================
   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;
    border-top:1px solid var(--border);
    box-shadow:0 -2px 12px rgba(0,0,0,.08);
    padding-bottom:env(safe-area-inset-bottom);
    z-index:999;

}

.bottom-nav a{

    flex:1;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    color:#777;

    transition:.2s;

}

.bottom-nav i{

    font-size:22px;

    margin-bottom:3px;

}

.bottom-nav span{

    font-size:11px;

}

.bottom-nav a.active{

    color:var(--primary);

}

.bottom-nav a.active i{

    background:rgba(59,109,204,.15);

    padding:10px 18px;

    border-radius:999px;

    margin-bottom:5px;

}

/* ===========================
   TABLET
=========================== */

@media (min-width:768px){

    .container{

        padding:35px;

    }

    .menu{

        grid-template-columns:repeat(2,1fr);

        gap:30px;

    }

}

/* ===========================
   DESKTOP
=========================== */

@media (min-width:1200px){

    .menu{

        grid-template-columns:repeat(3,1fr);

    }

}