/* ===== Global styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: 0;
}

::-webkit-scrollbar {
    width: 0; /* Chrome, Edge, Safari */
}

html, body {
    overflow-x: clip;
}


/* ===== Header ===== */
header {
    padding: 10px;
    transition: background-color 0.5s ease-in;
    z-index: 10;
    position: sticky !important;
    top: 0;
    background-color: black;
    
}


/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    display: flex;
    gap: 10px;
}

.navbar li {
    list-style: none;
    padding: 10px;
}


/* ===== Collapsed Navbar ===== */
.collapsedNavbar {
    width: 70vw;
    height: 100dvh;
    border: 1px solid;
    position: fixed;
    right: 0;
    display: none;
    padding: 50px;
    background-color: hsl(0, 0%, 30%);
    transform: translateX(150%);
    transition: transform 0.5s ease-in-out;
}

.collapsedNavbar.shown {
    transform: translateX(0);
}

.collapsedNavbar li {
    list-style: none;
    margin-bottom: 30px;
}

.collapsedNavbar a {
    text-decoration: none;
    color: white;
    position: relative;
    font-family: 'PlayFair Display', sans-serif;
    font-size: 25px;
}

.collapsedNavbar a::before {
    content: '';
    height: 2px;
    width: 100%;
    font-family: 'PlayFair Display', sans-serif;
    position: absolute;
    top: -50%;
    left: -20px;
}

.collapsedNavbar ul {
    counter-reset: nav-counter; /* reset the counter */
}

.collapsedNavbar ul li {
    counter-increment: nav-counter; /* increment for each li */
}

.collapsedNavbar:not(.menuItems) ul li a::before {
    content: counter(nav-counter, decimal-leading-zero) " ";
    margin-left: -10px;
}

.collapsedNavbar .menuItems a::before {
    content: none !important;
    counter-increment: none !important;
}


/* ===== Navigation Links ===== */
.navLinks {
    border-radius: 20px;
    color: white;
}

.navLinks button {
    cursor: pointer;
}

.navLinks > * {
    transition: 0.1s ease-in;
    cursor: pointer;
}

.navLinks :nth-child(1) {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.navLinks :nth-child(4) {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.navLinkItem {
    background-color: transparent;
    border: none;
    position: relative;
    text-decoration: none;
    color: inherit;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.navLinkItem i {
    font-size: 12px;
}

.navLinkItem::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    transform: scale(0);
    transform-origin: center;
    border-radius: 10px;
    background-color: white;
    transition: transform 0.2s ease-in-out;
}

.navLinkItem.active::after,
.navLinkItem:hover::after {
    transform: scale(1);
}


/* ===== Dropdown Menus ===== */
.menuDropdown {
    width: 25%;
    height: auto;
    display: none;
    position: fixed;
    background-color: hsl(0, 0%, 30%);
    border: 1px solid white;
}

.menuDropdown.shown {
    display: block;
}

.menuDropdown i {
    color: red;
    margin-right: 5px;
}

.menuDropdown a {
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-family: 'PlayFair Display', sans-serif;
}

.menuDropdown ul {
    display: flex;
    flex-direction: column;
}

#menuDropdownBtn:hover.menuDropdown {
    display: block;
}

.collapsedMenuDropdown {
    overflow-y: clip;
    padding-top: 4px;
}

#collapsedMenuDropdownBtn {
    cursor: pointer;
}

.menuItems a{
    font-size: 18px;
}
.menuItems i{
    margin-right: 10px;
}
.menuItems {
    transform: translateY(-400px);
    max-height: 0;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    
}

.menuItems.shown {
    transform: translateY(0px);
    max-height: 100%;
    opacity: 1;
}


/* ===== Buttons ===== */
.bookBtn,
.reserveBtn,
.menuBtn {
    padding: 10px;
    border-radius: 10px;
    outline: none;
    border: none;
    background-color: red;
    color: white;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.menuBtn {
    width: 25%;
    text-align: center;
}

.bookBtn:hover,
.reserveBtn:hover,
.menuBtn:hover {
    background-color: hsl(0, 100%, 40%);
    transform: scale(1.05);
}


/* ===== Nav Toggle (Hamburger) ===== */
.navToggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: white;
    cursor: pointer;
    z-index: 10;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: 0.2s ease-in-out;
}

.navToggle > * {
    z-index: inherit;
    border: 1px;
    width: 20px;
    height: 2px;
    display: inherit;
    background-color: white;
    transform-origin: center;
    transition: 0.4s ease-in-out;
}

.navToggle > :nth-child(2) {
    transform: translateX(3px);
}

.navToggle.clicked > :nth-child(1) {
    transform: translateY(8px) rotateZ(45deg);
}

.navToggle.clicked > :nth-child(2) {
    transform: translateX(100px);
    opacity: 0;
}

.navToggle.clicked > :nth-child(3) {
    transform: translateY(-6px) rotateZ(-45deg);
}


/* ===== Logo ===== */
.logoContainer {
    width: 80px;
    height: auto;
}

.logoContainer img {
    width: 100%;
    height: 100%;
}


/* ===== Background Slider ===== */
#Hero {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: -77px;
    background-position: center;
    background-size: cover;
    transition: background-image 2s ease-in-out;
    border: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.mainContent{
    padding: 40px;
    background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), /* dark overlay */
    url('./assets/images/Contact-Us-Page/background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    font-family: 'Lato' ,sans-serif;
    width: 100vw;
  
    background-repeat: no-repeat;
    text-align: center;
    
}

.textContent > *{
    margin-bottom: 20px;
}

.formContainer{
    background-color: gray;
    display: flex;
    height: 100%;
    font-family: 'lato' , sans-serif;
}
.formContainer h1{
    color: white;
}
.formLeft , .formRight{
    width: 50%;
}
.formLeft > *{
    margin-bottom: 20px;
    color: white;
}
.formLeft{
    padding: 30px;
    text-align: center;
    align-content: center;
}
.formRight {
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.formRight label{
    text-align: left;
    margin-bottom: 15px;

}
.formRight input{
    width: 85%;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid white;
    margin-bottom: 30px;
    padding-bottom: 5px;    
}

.formRight input:focus{
    outline: none;
    color: white;
    
    border-bottom: 1px solid white;
}
.formRight button{
    width: 20%;
    margin-top: 10px;
    background-color: red;
    padding: 5px;
    color: white;
    outline: none;
    border: none;
    border-radius: 5px;
}
#message{
    resize: none;
    width: 80%;
    height: 100px;

}




.footer{
    display: flex;
    padding: 30px;
    background-color: hsl(0, 0%, 15%);
    border: 1px solid;
    justify-content: center;
    align-items: center;
}
.footer > :first-child img{
    width:150px;
}
.footerContent{
    gap: 10px;
    width: 25%;
    flex-direction: column;
    display: flex;
}
.footerContent a{
    font-family: 'Lato',sans-serif;
    text-decoration: none;
    color: white;
}
.footerContent h1 {
    font-family: 'Great Vibes',cursive;
    letter-spacing: 2px;
    color: white;
}
.footerContent i{
    margin-right: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
    .navLinks,
    .bookBtn {
        display: none !important;
    }
    .collapsedNavbar{
        display: flex;
    }
    .navToggle {
        display: flex !important;
    }

    .mainContentText,
    .mainContentImage {
        width: 100% !important;
        align-items: center !important;
    }

    .mainContentText {
        text-align: center !important;
        height: 50vh !important;
        padding-left: none !important;
        padding-right: none !important;
    }

    #mainContent > :nth-child(6) {
        height: 65vh !important;
    }
   

    .mainContentText p {
        width: 100% !important;
    }

    #mainContent > :nth-child(4) {
        order: 3 !important;
    }

    #mainContent > :nth-child(3) {
        order: 4 !important;
    }

    .menuBtn {
        width: 50% !important;
    }
    .footer{
        flex-direction: column;
        padding: 30px;
    }
    .footerContent{
        width: 100%;
        gap: 20px;
        margin-bottom: 20px;
        align-items: center;
    }
    #footerImageContainer{
        align-items: center;
    }
    .formContainer{
        flex-direction: column;
    }
    .formLeft , .formRight{
        width: 100%;
        
        
    }
    
}


