/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4faff;
    color: #333;
    /* background-image: url("../images/background.png");
    background-repeat: repeat;
    background-size: auto; */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 30px;
    background: #666;
    color: white;
    height: 50px;
}

/* Logo */
.logo img {
    height: 30px;
    width: auto;
    max-width: 140px;
}

/* Navbar Links */
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin: 0 15px;
}

/* Normal Links */
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 40px;
}

nav ul li a:hover{
    color: rgba(255, 240, 240, 0.76);
}

/* Dropdown Button */
.dropbtn {
    cursor: pointer;
    font-weight: bold;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    top: 40px;
    left: 0;
    width: 200px; /* Adjusted width */
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    flex-direction: column; /* Stack items vertically */

    pointer-events: none; /* Prevents clicks when hidden */
    transition: opacity 0.8s ease, transform 0.8s ease; /* Smooth effect */
}


/* Dropdown Links */
.dropdown-content a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}

.dropdown-content a:last-child {
    border-bottom: none; /* Remove border from last item */
}

.dropdown-content a:hover {
    background: #f4f4f4;
    color: #0073e6;
}

/* Dropdown Animation */
@keyframes dropAnimation {
    from{ transform: translateY(-20px); opacity: 0;}
    to{ transform: translateY(0px); opacity: 1;}
}

/* Show Dropdown on Click */
.dropdown.active .dropdown-content {
    display: flex;
    pointer-events: auto; /* Allows interaction */

    animation-name: dropAnimation; /* Dropdown Animation */
    animation-duration: 0.8s;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    /* Hide normal navbar */
    nav {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #666;
        text-align: left;
        padding: 0px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    /* Show when active */
    nav.active {
        display: block;
        animation-name: dropAnimation;
        animation-duration: 0.8s;
    }

    nav ul {
        display: block;
        padding: 20px;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li:first-child{
        border-top: 1px solid white;
        margin-top: -10px;
        padding-top: 10px;
    }

    /* Dropdown in mobile menu */
    .dropdown-content {
        position: relative;
        width: 100%;
        background: none;
        box-shadow: none;
        display: none;
        top: 10px
    }

    .dropdown-content a {
        padding: 8px;
        background: white;
        display: block;
    }

    /* Show dropdown when clicked */
    .dropdown-content.show {
        display: block;
    }

    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
    }
}


/* About Section */
.about {
    text-align: center;
    padding: 60px 20px;
}

.about p {
    text-align: left;
    max-width: 1020px;
    margin: 0 auto;
    font-size: 15px;
    color: #444;
    line-height: 1.8; /* Increases spacing between lines */
}

.about .btn-history {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background: #0073e6;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: -5px;
    transition: background 0.3s ease, color 0.3s ease;   
}

.about .btn-history:hover{
    color: white;
    background: green;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: left;
    padding: 100px 0px;
    color: white;
    width: 100%;
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Moves content to the top */
    align-items: flex-start; /* Aligns content to the left */
    padding-top: 80px; /* Adjust top spacing */
    overflow: hidden;
}

/* Slideshow Container */
.slideshow-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Individual Slides */
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Make the first slide visible */
.slide:first-child {
    opacity: 1;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 15%;
    left: 5%;
    color: white;
    z-index: 10;
    max-width: 400px;
}

/* Hero Text & Button */
.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: #0073e6;
    color: white;
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
    transition: background 0.3s ease;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Arrow Positions */
.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots (Indicators) */
.dots-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}


/* General Section Styling */
section {
    padding: 40px 20px; /* Reduced padding */
    text-align: center;
    position: relative;
}

/* Thin Line Between Sections */
section::after {
    content: "";
    display: block;
    width: 80%; /* Thin line width */
    height: 1px; /* Thin line thickness */
    background: #ddd; /* Light grey for subtle effect */
    margin: 40px auto 0; /* Spacing above and below */
}

/* Remove Line from first section*/
section:first-of-type::after{
    display: none;
}

/* Remove Line From Last Section */
section:last-of-type::after {
    display: none;
}

/* Additional Tweaks for Better Compact Look */
.about,
.tours,
.contact {
    padding: 30px 20px; /* Reduced padding per section */
}

.about h2 {
    margin-bottom: 15px; /* Less spacing between heading and content */
}

.tours h2,
.contact h2{
    margin-bottom: 25px;
    margin-top: -10px;
}

/* Tours Section */
.tours .tour-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tours Section */
.tours .tour-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tour Cards */
.tour-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.tour-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* Tour Image */
.tour-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Tour Title */
.tour-card h3 {
    margin: 10px 0;
    font-size: 20px;
}

/* "More" Button */
.tour-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #0073e6;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.tour-btn:hover {
    background: #005bb5;
}


/* Contact Section Layout */
.contact {
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 900px;
    margin: auto;
}

/* Contact Section Layout */
.contact {
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px; /* Increased spacing between form and map */
    max-width: 900px;
    margin: auto;
    padding: 20px 0;
}

/* Contact Form */
.contact-form {
    width: 45%;
    text-align: left;
    padding-right: 20px; /* Adds extra spacing on the right side of the form */
}

.contact-form p {
    margin-bottom: 10px;
    font-weight: bold;
}

/* TripAdvisor Widget */
.tripadvisor-widget {
    margin-bottom: 20px;
}

/* Social Media Buttons */
.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 15px;
    justify-content: center;
    max-width: 400px; /* Adjust for better alignment */
    margin: auto;
}

/* Social Button Styling */
.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: 0.3s ease-in-out;
}

/* Button Colors */
.whatsapp {
    background: #25D366;
}
.instagram {
    background: #E4405F;
}
.tripadvisor {
    background: #34E0A1;
}
.yamatour{
    background: yellowgreen;
}

/* Button Hover Effect */
.social-btn:hover {
    opacity: 0.8;
}

/* Social Icons */
.social-btn img {
    width: 20px;
    height: 20px;
}

/* Mobile-Friendly Layout */
@media (max-width: 768px) {
    .social-buttons {
        grid-template-columns: repeat(1, 1fr); /* Single column on smaller screens */
    }

    /* Remove for better visibilty */
    .tripadvisor-widget{ 
        display: none;
    }
}

/* Map Container */
.contact-map {
    width: 50%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    padding-left: 20px; /* Adds extra spacing on the left side of the map */
}


/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: #666;
    color: white;
}
