/* GLOBAL RESET & FONTS */
body {
    display: block;
    font-family: "Open Sans", sans-serif;
    margin: 0;
    background-color: antiquewhite;
}

.container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-height: max-content;
}

main {
    background-color: antiquewhite;
    flex: 1;
}

/* LANGUAGE SELECTOR */
#select-language {
    display: grid;
    grid-template-columns: auto auto;
    /* PC Gap between flags */
    gap: 70px;
    justify-content: center;
    align-items: center;
    /* GAP FIX: Removed fixed height 100px to reduce space */
    height: auto;
    padding-top: 20px;
    padding-bottom: 5px; /* Reduced bottom padding */
    box-sizing: border-box;
}

.underline-img {
    border-radius: 50%;
    background-color: rgb(251, 213, 163);
    border-bottom: 4px dotted rgb(46, 36, 23);
    padding: 15px;
}

.not-underline-img {
    border-radius: 50%;
    background-color: rgb(247, 225, 195);
    border-bottom: 4px dotted rgb(133, 105, 67);
    padding: 15px;
}

/* HERO SECTION */
#hero {
    height: 400px;
    background-color: antiquewhite;
    background-image: url(../images/logos/kcb-logo.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
}

#main-content {
    background-color: antiquewhite;
    height: auto;
}

/* FOOTER CONTENT */
#footer-content {
    background-color: antiquewhite;
    width: 95%;
    max-width: 850px;
    border-radius: 8px;
    text-align: center;
    margin: 0 auto;
}

    /* FOOTER ICONS FIX */
    #footer-content img {
        /* Removed width:100% which was pushing them left */
        display: inline-block;
        width: 60px; /* Fixed size, large enough to be clickable */
        height: auto !important;
        margin: 0 10px; /* Add slight spacing between the icons */
    }

    #footer-content ul {
        display: inline-block;
        list-style: none;
        text-align: center;
    }

    #footer-content li {
        display: inline-block;
    }

#hightlights {
    background-color: rgb(6, 148, 49);
}

/* HERO CONTENT (The Main White/Card Area) */
#hero-content {
    background-color: antiquewhite;
    width: 95%;
    max-width: 900px;
    border-radius: 8px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    /* GAP FIX: Reduced from 20px to 0px to pull it up closer to flags */
    margin-top: 0px;
}

    #hero-content h1 {
        display: inline-block;
        margin: 0;
        font-size: 40px;
        text-decoration: none;
        background-color: rgb(255, 219, 0);
        padding: 24px 36px;
        color: rgb(0, 0, 0);
        font-weight: bold;
        border-radius: 8px;
        box-shadow: 2px 4px 8px rgb(68, 67, 67);
    }

    #hero-content h5 {
        display: block;
        background-color: lightblue;
        margin-bottom: 0px;
        padding-top: 15px;
        padding-bottom: 30px;
        color: rgb(0, 0, 0);
        font-size: 34px;
        font-weight: 300;
        text-align: center;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    #hero-content p {
        display: block;
        color: rgb(0, 0, 0);
        font-size: 34px;
        font-weight: 300;
        text-align: center;
    }

/* TABLES (Menu & Time) */
#menu-table {
    background-color: rgb(217, 244, 225);
    width: 100%;
    margin: 0 auto;
}

#time-table {
    background-color: lightblue;
    width: 100%;
    margin: 0 auto;
}

    #time-table td {
        text-align: center;
        padding: 4px 8px;
    }

        #time-table td:first-child {
            width: 38%;
            text-align: center;
        }
#address-table {
    background-color: rgb(247, 225, 195);
    width: 100%;
    margin: 0 auto;
}

    #address-table td {
        text-align: center;
        padding: 4px 8px;
    }

        #address-table td:first-child {
            width: 38%;
            text-align: center;
        }
/* GENERIC TABLE STYLES IN HERO CONTENT */
#hero-content table {
    width: 100%;
    margin-top: 50px;
    padding: 10px 0px;
    padding-bottom: 40px;
    border-radius: 8px;
    box-shadow: 2px 4px 8px rgb(68, 67, 67);
}

#hero-content tr {
    color: rgb(0, 0, 0);
    font-size: 34px;
    font-weight: 300;
    text-align: center;
}

    #hero-content tr:nth-child(1) {
        text-align: center;
    }

/* BUTTONS */
#hero-content a.btn-main-options {
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

#hero-content a:not(.btn-main-options) {
    text-decoration: none;
    background-color: rgb(255, 219, 0);
    padding: 24px 36px;
    color: rgb(0, 0, 0);
    font-size: 1.9em;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 2px 4px 8px rgb(68, 67, 67);
}

#hero-content a:hover {
    background-color: rgb(255, 210, 0);
}

/* MENU TABLE CELLS */
#menu-table td {
    font-size: 34px;
    font-weight: 300;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 4px 8px;
}

#menu-table .section-title td {
    font-size: 30px;
    text-align: center;
    font-weight: 700;
}

#menu-table td small {
    font-size: 0.6em;
}

/* VISITOR FOOTER */
.visitor-footer {
    margin-top: 20px;
    padding: 15px;
    background: rgb(214, 176, 124);
    border-radius: 5px;
    text-align: center;
    font-family: sans-serif;
}

.visitor-details {
    font-size: 0.85em;
    color: #484848;
}

/* MAIN OPTION BUTTONS */
.btn-main-options {
    display: inline-block;
    width: 35%;
    margin: 10px 2%;
    background-color: rgb(255, 219, 0);
    color: #000;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

/* =========================================
   MOBILE RESPONSIVENESS (Screens < 768px)
   ========================================= */
@media screen and (max-width: 768px) {

    /* Stack the buttons on mobile */
    .btn-main-options {
        width: 90%;
        display: block;
        margin: 20px auto;
    }

    /* LANGUAGE SELECTOR FIX */
    #select-language img {
        /* Force flags to be smaller on mobile */
        max-width: 60px;
        padding: 10px;
    }

    /* FLAGS GAP FIX (Mobile Specific) */
    #select-language {
        /* On mobile, even less padding might be needed */
        padding-bottom: 0px;
    }

    /* Shrink the huge font sizes */
    #hero-content h1 {
        font-size: 28px;
    }

    #hero-content h5 {
        font-size: 24px;
    }

    #hero-content p {
        font-size: 20px;
    }

    /* Table Text Sizing */
    #hero-content tr,
    #menu-table td,
    #time-table td {
        font-size: 18px;
    }

    #menu-table .section-title td {
        font-size: 20px;
    }

    /* Adjust Hero Height */
    #hero {
        height: 200px;
    }

    /* Adjust padding inside tables */
    #hero-content table {
        margin-top: 20px;
    }
}
.map-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .map-container iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }
