/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

/* Header Styling */
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;  /* Logo left, logout right */
    width: 100%;
    padding: 0.5vw 2vw;
}

/* Keep your original logo scale */
.logo-img {
    width: 23.65vw;
    height: auto;
    display: block;
    max-height: none;
    object-fit: contain;
}

/* Logout button */
.logout-btn {
    background: none;
    border: none;
    padding: 0;
    line-height: 0;
    cursor: pointer;
}

/* Logout icon responsive like logo */
.logout-btn img {
    width: 6vw;      /* scale with screen width (adjust as needed) */
    height: auto;    /* keep aspect ratio */
    display: block;
}

/* Section Content Styling */
.content {
    position: relative;
    width: 100%;
    text-align: center;
}

/* Background Image */
.background-img {
    width: 100%;
    height: auto;
}

/* Welcome Text Image */
.welcome-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 97%;
}

/* Explore Wrapper */
.explore-wrapper {
    width: 100%;
    margin-top: 1vw;
}

/* Explore Container */
.explore-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4vw 8vw;
    justify-content: flex-start;
    margin-bottom: 30px;
}

/* Explore Image */
.explore-image {
    width: 13.65vw;
    height: auto;
}

/* Explore Grid */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 5vw;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    padding: 20px 0;
}

/* Button Styling */
.explore-button {
    width: 19vw;
    height: 12vw;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s ease-in-out;
}

/* Button Backgrounds */
#btn1 { background-image: url('../images/1default.png'); }
#btn1:hover { background-image: url('../images/1hover.png'); }

#btn2 { background-image: url('../images/2default.png'); }
#btn2:hover { background-image: url('../images/2hover.png'); }

#btn3 { background-image: url('../images/3default.png'); }
#btn3:hover { background-image: url('../images/3hover.png'); }

#btn4 { background-image: url('../images/4default.png'); }
#btn4:hover { background-image: url('../images/4hover.png'); }

#btn5 { background-image: url('../images/5default.png'); }
#btn5:hover { background-image: url('../images/5hover.png'); }

#btn6 { background-image: url('../images/6default.png'); }
#btn6:hover { background-image: url('../images/6hover.png'); }

#btn7 { background-image: url('../images/7default.png'); }
#btn7:hover { background-image: url('../images/7hover.png'); }

#btn8 { background-image: url('../images/8default.png'); }
#btn8:hover { background-image: url('../images/8hover.png'); }

#btn9 { background-image: url('../images/9default.png'); }
#btn9:hover { background-image: url('../images/9hover.png'); }

#btn10 { background-image: url('../images/10default.png'); }
#btn10:hover { background-image: url('../images/10hover.png'); }

#btn11 { background-image: url('../images/11default.png'); }
#btn11:hover { background-image: url('../images/11hover.png'); }

/* Modal Styling */
.modal-content {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

/* Change all primary buttons (blue) to black */
.btn-primary {
    background-color: black !important;
    border-color: black !important;
    color: white !important;
}

/* Change all danger buttons (red) to black */
.btn-danger {
    background-color: black !important;
    border-color: black !important;
    color: white !important;
}

/* Ensure the buttons do not change on hover */
.btn-primary:hover,
.btn-primary:focus,
.btn-danger:hover,
.btn-danger:focus {
    background-color: #333 !important;
    border-color: #333 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-img {
        width: 40vw;
    }
    .logout-btn img {
        height: 32px;
        width: 32px;
    }
}

#logoOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#logoOverlay img {
    max-width: 100%;
    height: auto;
}
