/* --------------------------Header Navigation Styling -------------------------------------------*/
.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    padding: 10px 15px;  
    z-index: 100;
    position: relative;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav h1{
    color: goldenrod;
} 

.links ul{
    display: flex;
    list-style: none;
}

.links ul a{
    margin-right: 3vh;
    text-decoration: none;
    font-weight: bold;
    padding: 5px;
    color: black;
    font-size: 20px;
}

.links ul a:hover{
    color: goldenrod;
    transition: .2s ease-in;
}

.search{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5vw;
}

.search input{
    border-radius: 5px;
    margin-left: 5px;
    text-align: center;
    width: 30vh;
    height: 5vh;
    background-color: transparent;
}
.search input:hover
{
    background-color: #fff;
    transition: .2s ease-in;
}

/* --------------------------Header Sessioning Styling ------------------------------------------- */
.account{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:0;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    cursor: pointer;
    padding: 8px 16px;
    color: goldenrod;
    border: none;
    font-size: 24px;
    font-weight: bold;
    font-style: none;
    margin-right: 10px;
    text-decoration: none;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 150px;
    box-shadow: 0px 0px 8px 5px rgba(198, 130, 3, 0.749);
    border-radius: 3px;
    margin: 5px 2cm 0 0;
    z-index: 1;

}

/* Links inside the dropdown */
.dropdown-content a {
    color: goldenrod;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover {
    background-color: goldenrod;
    color: white;
}

.login-link {
    text-decoration: none;
    list-style-type: none; /* Remove the default list bullet points */
    color: black;
    padding: 10px 15px;
    background-color: transparent;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 20px;
    font-weight: bold;
}

.login-link:hover {
    background-color: goldenrod;  /* Background color on hover */
    color: white;
}

#background-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    /* Make the video cover the entire container */
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -5;
    /* Set z-index to -1 to put it behind the content */
}

.onTopofVideo{
    height: 100vh;
    width:100%;
    position:relative; 
    margin-bottom: auto;
    /* z-index: 100; */
} 

.onTopofVideo h1{
    margin: auto;
    padding-top: 100px;
    text-align:center;
    font-size: 65px;
    color: #fff;
    font-weight: 900;
    text-shadow: rgba(0, 0, 0, 0.592) 0px 0px 10px;
}

.button1 {
    width: 100%;
    padding: 15px;
    margin-top: 50px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative; /* Add position to make z-index work */
    z-index: 101; /* Ensure this button appears above other elements */

}

.button1:hover {
    background-color: goldenrod;
}

.btns{
    width: 30vw;
    margin: 10vh auto 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    z-index: 101;
}

    /* Travel Packages Section */
.travel-packages-section {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.travel-packages-section h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.travel-packages-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    width: 80%;
    margin: 10px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Carousel Container */
.carousel-container {
    display: flex;
    overflow: hidden;
}

/* Carousel Track - for the sliding effect */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual Carousel Item */
.carousel-item {
    min-width: 100%; /* Each item takes up the full width */
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-title {
    font-size: 1.2rem;
    color: #333;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

/* Controls - Previous & Next buttons */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control:hover {
    background-color: goldenrod;
}

/* ----------------  Holiday Types  -------------------------------------------------------------------------------- */

.holiday-type{
    
    padding: 50px 0;
    text-align:center;
}
.holiday-type h3{
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}
.holiday-type p{
    font-size: 1.2em;
    margin-bottom: 30px;
    
}
.img-type{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    justify-items: center;
    padding: 0 5%;
}
.holiday-card{
    display:flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 1px rgba(255, 255, 255);
    transition: transform 0.3s ease-in-out;
    max-width:300px;
    text-align:center;
}
.holiday-card img{
    width: 130px;
    height: 200px;
    padding: 5px 2px 0 2px;
    object-fit: cover;
    border-bottom: 5px solid goldenrod;
    border-radius: 50px;
}
.holiday-card p{
    font-size: 1.2em;
    padding:15px;
    color:#333;
    font-weight: bold;
}

.holiday-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/*---------------- Why Us Section -------------------------------------------------------------------------------------------------  */
.why-us-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.flip-card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px; /* Perspective to make 3D effect visible */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d; /* Keeps both sides in 3D */
}

.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg); /* Flips the card bottom-up */
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* For Safari */
    backface-visibility: hidden;
    border-radius: 10px;
}

/* Front of the card */
.flip-card-front {
    background-color: #fff;
    color: black;
}

.flip-card-front h2 {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 24px;
    color: gold;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Back of the card */
.flip-card-back {
    background-color: #f4f4f4; /* Change this to a solid color or pattern */
    color: black;
    transform: rotateX(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 18px;
    border-radius: 10px;
    overflow: hidden; 
}

/* Floating effect for text */
.flip-card-back p {
    margin: 0;
    color: goldenrod;
    font-size: 18px;
    transform: translateY(100%); /* Start below the card */
    opacity: 0;
    transition: transform 1s ease-in, opacity 1s ease-in;
}

.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.flip-card:hover .flip-card-back p {
    transform: translateY(0); /* Move text into view */
    opacity: 1;
}


/* -------------------------------------------------------------------------------------------------- */
.why-us h3 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333; /* Dark color for heading */
    text-align: center;
}

.why-us-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.flip-card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px; /* Perspective to make 3D effect visible */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d; /* Keeps both sides in 3D */
}

.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg); /* Flips the card bottom-up */
    transition: transform 0.3s;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* For Safari */
    backface-visibility: hidden;
    border-radius: 10px;
    background-size: cover; /* Ensure background image covers the entire card */
    background-position: center; /* Center the background image */
}

.flip-card-front h2 {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 24px;
    color: goldenrod;
}

/* Back of the card */
.flip-card-back {
    background-image: url('../img/flipcard-background.jpg'); 
    transform: rotateX(180deg);
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 18px;
    border-radius: 10px;
    overflow: hidden; 
}

.flip-card-back h2 {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 24px;
    color: black;
}

/* Floating effect for text */
.flip-card-back p {
    margin: 0;
    font-size: 18px;
    transform: translateY(100%); /* Start below the card */
    opacity: 0;
    transition: transform .8s ease-in, opacity .4s ease-in;
    color: black;
}

.flip-card:hover .flip-card-back p {
    transform: translateY(0); /* Move text into view */
    opacity: 1;
}



/* ----------------- Contact Us Section ----------------------------------------------------------------------------------------------- */
.contact-us {
    padding: 40px 20px; /* Add padding for the contact section */
    text-align: center; /* Center the text */
    background-color: #f9f9f9; /* Light background for contact section */
    margin-top: 20px; /* Space above the contact section */
    border-radius: 10px; /* Rounded corners */
}

.contact-us h3 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333; /* Dark color for heading */
}

.contact-us ul {
    list-style-type: none; /* Remove bullet points */
    padding-left: 0; /* Remove default padding */
    margin-bottom: 20px; /* Space below the list */
}

.contact-us ul li {
    margin-bottom: 10px; /* Space between items */
}

.contact-us a {
    color: #007BFF; /* Primary color for links */
    text-decoration: none; /* Remove underline */
}

.contact-us a:hover {
    text-decoration: underline; /* Underline on hover */
}

    
/*------------------------------ Footer Styling ---------------------------------------------------------------*/
.footer
{
    display: flex;
    align-items: center;
    min-height: 10vh;
    box-shadow: 0px 0px 10px #000;
    background-color: rgba(255,255,255,0.7);
}

.footer .socials img
{
    margin:0 1vw 0 1vw;
}

.footer .copyright
{
    margin-left: 30vw;
}

.footer .copyright span
{
    color: goldenrod;
    text-decoration: underline;
    font-weight: bold;
}
