a:link, a:visited {
    color: black;
    text-decoration: none;
    
}

body {
    background-color: whitesmoke;
}

html {
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}

html::-webkit-scrollbar {
  display: none;
}

/* Navigation */
.mainNav {
    background-color: white;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
}

.navItem {
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.navHeader {
    position: relative;
    padding: 5px 0;
    font-size: 16px;
    font-weight: 500;
}

/* Top line hover animation */
.navHeader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.navItem:hover .navHeader::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Book Tickets Button & Dropdown */
.bookWrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.bookButton {
    padding: 12px 24px;
    border-radius: 25px;
    background-color: black;
    color: white;
    border: 2px solid black;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.bookButton:hover {
    background-color: white;
    color: black;
}

.bookDrop {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    min-height: 450px;
    background-color: black;
    color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 20;
}

.bookWrapper:hover .bookDrop {
    visibility: visible;
    opacity: 1;
}

/* Full-Width Dropdown Menu */
.dropdownMenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 15;
    cursor: default;
}

.hasDropdown:hover .dropdownMenu {
    visibility: visible;
    opacity: 1;
}

/* Dark Overlay Behind Dropdown */
.blackDrop {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.hasDropdown:hover .blackDrop {
    visibility: visible;
    opacity: 0.35;
}

body:has(.hasDropdown:hover) {
    overflow: hidden;
}

/* Shared Dropdown Content & Cards */
.dropdownContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dropdownTitle {
    font-family: 'Lemon Milk', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.navCard {
    background-color: whitesmoke;
    width: 185px;
    height: 105px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    background-color: #ececec;
}

.navCard p {
    font-size: 14px;
    font-weight: bold;
}

.navLogo {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

/* Visits Layout */
.visitLayout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.mainNavLogo {
    width: 240px;
    height: 240px;
    object-fit: contain;
}

.cardGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 860px;
}

/* Learn Layout */
.learnLayout {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.learnLeft {
    padding-right: 40px;
    border-right: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cardColumn {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.threeCol {
    max-width: 650px;
    justify-content: center;
}

/* Support Layout */
.supportLayout {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.supportRow {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.supportCard {
    background-color: whitesmoke;
    width: 240px;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.supportCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.supportTop {
    width: 200px;
    height: 200px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.supportQR {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.supportBottom {
    width: 200px;
    padding: 12px 0;
    background-color: white;
    border-radius: 15px;
    text-align: center;
}

/* About Us Layout */
.aboutLayout {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.aboutLeft {
    padding-right: 40px;
    border-right: 2px solid black;
}

.aboutRow {
    display: flex;
    gap: 20px;
}

.aboutCard {
    background-color: whitesmoke;
    width: 180px;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aboutCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.aboutUsPicture {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 15px;
    background-color: white;
}

.aboutCard h3 {
    background-color: white;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border-radius: 12px;
    font-size: 16px;
}

.aboutRight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 220px;
}

.contactText {
    font-size: 15px;
    margin-bottom: 10px;
    color: #333;
}

@media (max-width: 768px) {
    .mainNav {
        height: auto;
        flex-wrap: wrap;
        gap: 15px 20px;
        padding: 15px 10px;
    }

    .navItem {
        height: auto;
    }

    .navHeader {
        font-size: 14px;
    }

    .bookWrapper {
        height: auto;
    }

    .bookButton {
        padding: 8px 18px;
        font-size: 14px;
    }

    .bookDrop {
        position: fixed;
        top: 110px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
        max-width: 360px;
        min-height: 300px;
    }

    .dropdownMenu {
        padding: 25px 0;
        max-height: 75vh;
        overflow-y: auto;
    }

    .blackDrop {
        display: none;
    }

    .visitLayout,
    .learnLayout,
    .aboutLayout {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .mainNavLogo {
        width: 130px;
        height: 130px;
    }

    .cardGrid,
    .threeCol {
        justify-content: center;
        gap: 12px;
    }

    .navCard {
        width: 140px;
        height: 95px;
    }

    .learnLeft,
    .aboutLeft {
        padding-right: 0;
        padding-bottom: 20px;
        border-right: none;
        border-bottom: 2px solid black;
        width: 100%;
    }

    .cardColumn {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .supportRow,
    .aboutRow {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .supportCard {
        width: 160px;
        padding: 15px;
    }

    .supportTop {
        width: 130px;
        height: 130px;
    }

    .supportQR {
        width: 110px;
        height: 110px;
    }

    .supportBottom {
        width: 130px;
        padding: 8px 0;
    }

    .aboutCard {
        width: 145px;
    }

    .aboutUsPicture {
        width: 110px;
        height: 110px;
    }

    .aboutRight {
        text-align: center;
        align-items: center;
    }
}
/* End of Navigation */