/* Global styles */
* {
    cursor: default;
    box-sizing: border-box;
}

/* Ensure no horizontal scrollbar appears */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Disable horizontal scrollbar */
    margin: 0;
    padding: 0;
}

body {
    background-color:#211E1E;
}
@font-face {
    font-family: kristi;
    src: url('Kristi.ttf') format('truetype');
}

@font-face {
    font-family: Jaini;
    src: url('Jaini.ttf') format('truetype');
}
@font-face {
    font-family: inter;
    src: url('inter.ttf') format('truetype');
}

/* Navbar */
.navbar {
    font-family: inter;
    width: 100%;
    background-color: #161616;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 5%;
    flex-wrap: wrap;
    overflow-x: hidden; /* Prevent overflow */
}

.navbar img.logo {
    max-height: 50px; /* Adjust the size of the logo */
    width: auto;      /* Maintain the aspect ratio of the logo */
    margin-right: 20px; /* Add some space between the logo and links */
}

/* Navbar links */
.navbar a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 15px 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: #a1f599;
    opacity: 0.8;
    border-radius: 5px;
}

/* Carousel */
/* Ensure the video fills the entire container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    overflow: hidden;
}

/* Background video settings */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}
.slideshow-container1 {
    position: relative;
    width: 100%;
    height: 700px; /* Adjust as needed */
    overflow: hidden;
}

.slideshow-container1 img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Prevent extra spacing */
    object-fit: cover; /* Ensure the image covers the container */
}

.mySlides {
    width: 100%;
    height: 100%; /* Ensure it takes full height of the container */
    position: absolute;
    top: 0;
    left: 0;
}

.mySlides img {
    width: 100%;
    height: 100%; /* Ensure image takes full height of its parent */
    object-fit: cover; /* Ensures the image covers the container */
}

/* Gallery Section */
.gallery {
    display: flex;
    justify-content: center;
    width: 100%; /* Adjust width to 100% to fit the viewport */
    margin-top: 20px;
    flex-wrap: wrap;
}

.gallery h3{
    font-size: 36px; 
}

.ruins-info {
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f8f8; /* Light background for contrast */
    padding-top: 10px;
}

.ruins-info h2 {
    font-size: 54px;
    color: #333;
    margin-bottom: 5px;
}

.ruins-info p {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto; /* Centering the text */
    line-height: 1.5;
}

.card {
    position: relative;
    max-height: 400px;
    width: 30%;
    max-width: 400px;
    text-align: center;
    overflow: hidden;
    padding: 20px;
}

.card img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Always visible text */
.info {
    position: absolute;
    text-align: center;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'f2', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    width: 90%;
    margin-bottom: 7%;
    border-radius: 5px;
}

.info h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 5px;
}

.info p {
    font-size: 18px;
    line-height: 1.4;
}

/* Initially Hidden "See More" Button */


.card:hover img {
    opacity: 0.3;
    transform: scale(1.03);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .middle {
    opacity: 1;
}

.see-more {
    display: inline-block;
    padding: 8px 15px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    border-radius: 3px;
}

.see-more:hover {
    transform: scale(1.03);
    background-color: #11410a00;
    transition: 0.3s;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent overflow in modal */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 60px;
    border: 1px solid #888;
    width: 90%;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* Checkbox Hack */
.checkbox {
    display: none;
}

.checkbox:checked + .modal {
    display: flex;
}
.middle-text {
    font-family: inter;
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: rgb(255, 255, 255);
   
}
.middle-text1{
    font-family: inter;
    width: 100%;
    text-align: center;
    font-size: 20px;
    color: rgb(255, 255, 255);
   
}

/* Main Caption (Large Title) */
.Caption {
    font-family: Jaini;
    font-size: clamp(120px, 6vw, 120px);
    text-shadow: 8px 5px 5px hwb(0 0% 100% / 0.464);
    color: white;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 10px 5%;
    max-width: 100%;
}

/* Sub Caption (Different Styling or Secondary Header) */
.Caption2 {
    font-family: 'Kristi', cursive;     
    font-size: clamp(70px, 5vw, 100px);
    text-shadow: 6px 4px 4px rgba(0, 0, 0, 0.464);
    color: white;
    position: absolute;
    text-align: center;
    top: 40%;
    left: 10%;
    padding: 10px 5%;
    max-width: 100%;
    word-wrap: break-word;
}

.Caption2 h2{
    font-family: 'Kristi', cursive; 
    font-size: 140px;
}
/* Caption1 (Smaller Subtitle, Usually Informational) */
.Caption1 {
    font-family: kristi; /* Fallback font */
    font-size: clamp(40px, 6vw, 80px);
    text-shadow: 6px 4px 4px black;
    color: white;
    position: absolute;
    left: 20%;
    top:20%;
}
.Caption3 {
    font-family: kristi; /* Fallback font */
    font-size: clamp(40px, 6vw, 80px);
    text-shadow: 6px 4px 4px black;
    color: white;
    position: absolute;
    left: 12%;
    top:10%;
}

/* Responsive Adjustments for Tablets */
@media (max-width: 768px) {
    .Caption {
        font-size: clamp(22px, 5.5vw, 60px);
    }
    .Caption2 {
        font-size: clamp(18px, 5vw, 50px);
        top: 65%;
    }
    .Caption1 {
        font-size: clamp(16px, 5vw, 40px);
        top: 75%;
    }
    .Caption3 {
        font-size: clamp(18px, 5vw, 50px);
        top: 65%;
    }
}

/* Responsive Adjustments for Mobile Devices */
@media (max-width: 480px) {
    .Caption {
        font-size: clamp(20px, 7vw, 50px);
        padding: 5px 8%;
    }
    .Caption2 {
        font-size: clamp(16px, 6.5vw, 40px);
        padding: 5px 8%;
        top: 70%;
    }
    .Caption1 {
        font-size: clamp(14px, 6vw, 30px);
        padding: 5px 8%;
        top: 80%;
    }
}




/*gov*/
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}

.map-container {
    flex: 1;
    min-width: 40%;
    padding: 0%;

}

.text-container {
    color: white;
    flex: 1;
    min-width: 45%;
    padding-left: 10px;
    margin-bottom: 220px;
}

.text-container h1{
    font-size: 50px;
}
.text-container p{
    font-size: 20px;
}
.map {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .text-container {
        padding-left: 0;
        text-align: center;
    }
}


/* Responsive Design */
@media (max-width: 600px) {
    .booking-card {
        flex-direction: column;
        text-align: center;
    }

    .booking-image {
        width: 100%;
        height: auto;
        border-radius: 10px 10px 0 0;
    }
}

@keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .card {
        width: 45%; /* Change card width for medium screens */
    }
}

@media (max-width: 900px) {
    .card {
        width: 100%; /* Full width for small screens */
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .travel-booking {
        padding-left: 5%; /* Make sure there's no excessive padding */
    }

    .nav-links a {
        font-size: 16px; /* Slightly smaller font size */
    }

    .card {
        width: 100%;
        margin-bottom: 20px;
    }

    p {
        font-size: 18px; /* Smaller paragraph font size */
    }
}
