/* Use Custom Font */
@font-face {
    font-family: 'HindVadodara';
    src: url('/Fonts/HindVadodara-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'NotoSans';
    src: url('/Fonts/NotoSansGujarati-Bold.ttf') format('truetype');
}

/* Reset some default styles for a vintage look */
body,
ul {
    margin: 0;
    padding: 0;
}

/* Additional styles for vintage paper background */
body {
    font-family: 'NotoSans';
}

body {
    margin: 0;
    font-family: 'NotoSans';
}

html {
    scroll-behavior: smooth;
}

.topnav {
    overflow: hidden;
    background-color: rgb(252, 211, 158);
    /* position: fixed; */
    width: 100%;
}

.topnav a {
    float: left;
    display: block;
    color: #4d2200;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bolder;
    margin-right: 5px;
    margin-left: 5px;
    font-family: 'NotoSans';
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: black;
    color: white;
}

.topnav .icon {
    display: none;
}

/* CSS to hide the "Audio Guide" button */
.topnav a[href='/audio guide pages/audio-guide.html'] {
    visibility: hidden;
}

/* Dropdown styles */
.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 20px;
    font-weight: bolder;
    border: none;
    outline: none;
    color: #4d2200;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin-left: 5px;
    margin-right: 5px;
    font-family: 'NotoSans';
}

.dropbtn:hover {
    color: black;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: #4d2200;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #ddd;
}

/* General styles for the main content area */
main {
    padding: 20px;
    font-family: 'Times New Roman', serif;
    color: #333;
    text-align: center;
    min-height: calc(100vh - 120px);
}

/* Home section styles */
#home {
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 50px 20px;
    height: 650px;
    width: 100%;
    overflow: hidden;
    background: none;
}

/* Desktop Video */
.desktop-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Mobile Video */
.mobile-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    display: none; /* Hide mobile video by default */
}

/* Dark Overlay for better readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#home .slogan1,
#home .welcome-text,
#home .slogan {
    position: relative;
    z-index: 1;
}

#home .welcome-text {
    color: white;
    max-width: 80%;
    margin: 0 auto;
    font-size: 50px;
    text-shadow: 6px 6px black;
    padding-top: 100px;
    font-family: 'HindVadodara';
}

#home .slogan {
    font-size: 30px;
    margin-top: -55px;
    font-weight: bolder;
    color: white;
    text-shadow: 2px 2px black;
    font-family: 'NotoSans';
}

#home .slogan1 {
    font-size: 30px;
    margin-bottom: -180px;
    margin-top: 150px;
    font-weight: bolder;
    color: white;
    text-shadow: 2px 2px black;
    font-family: 'NotoSans';
}

/* About section styles */
#about {
    margin-top: 20px;
    background-color: rgba(252, 211, 158, 0.5);
    justify-content: center;
    width: 100%;
}

#about h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0px;
    color: #4d2200;
    padding-bottom: 15px;
    margin-top: -3px;
    font-family: 'HindVadodara';
}

#about h1 {
    font-family: 'NotoSans';
}

#about h4 {
    font-family: 'NotoSans';
    font-weight: bolder;
    font-size: 20px;
}

#about p {
    font-size: 20px;
    margin-bottom: 0px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    font-weight: bold;
    font-family: 'NotoSans';
    text-align: justify;
}

/* Additional vintage styling for all sections */
section {
    border-top: 2px solid #eeb422;
    border-bottom: 2px solid #eeb422;
    padding: 20px 0;
}

section h2 {
    border-bottom: 1px solid #eeb422;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5em;
}

footer {
    background-color: rgb(44, 21, 0);
    height: 50px;
    margin-top: 0px;
}

footer p {
    color: white;
    text-align: center;
    font-weight: bolder;
    text-shadow: 1px 1px black;
    padding-top: 15px;
}

#menu-icon {
    display: none;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bolder;
}

#back-to-top:hover {
    background-color: darkblue;
}

/* Responsive navbar adjustments */
@media screen and (max-width: 768px) {

    .topnav a,
    .topnav .dropdown {
        display: none;
    }

    .topnav #menu-icon {
        display: block;
        /* Show the hamburger icon */
    }

    .topnav.responsive {
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70%;
        background-color: rgb(252, 211, 158);
        flex-direction: column;
        z-index: 1000;
        overflow-y: auto;
    }

    .topnav.responsive a {
        display: block;
        text-align: left;
        width: 90%;
        border-bottom: 1px solid black;
    }

    .topnav.responsive .dropdown {
        display: block;
        text-align: left;
        width: 98%;
        border-bottom: 1px solid black;
    }

    .dropdown-content {
        display: none;
        flex-direction: column;
        background-color: white;
        width: 100%;
    }

    .dropdown.responsive-show .dropdown-content {
        display: flex;
    }

    #menu-icon {
        font-size: 22px;
        color: black;
        padding: 14px 16px;
        cursor: pointer;
        float: right;
    }

    #home {
        width: 90%;
    }

    .desktop-video {
        display: none;
    }
    .mobile-video {
        display: block;
    }

    #home .welcome-text {
        font-size: 35px;
    }

    #home .slogan {
        font-size: 22px;
        margin-top: -25px;
    }

    #home .slogan1 {
        font-size: 22px;
        margin-bottom: -155px;
    }

    #contact h1 {
        font-size: 18px;
    }
}