html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #333333; /* Dark Gray */
    background-color: #fffbe0;
}

/* Header */
header {
    background: transparent; /* transparent background */
    color: #fdffd0; /* text visible on video, adjust as needed */
    padding: 10px 5%; /* horizontal padding for spacing */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute; /* so it floats over hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* above video and overlay */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 80px;
}

.logo span {
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #111111;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    background: rgba(0,0,0,0.2); /* optional semi-transparent background for nav items */
    padding: 10px 20px;
    border-radius: 15px; /* rounded corners for nav bar */
}

/* Links */
nav ul li a {
    color: #fdffd0; /* pale yellow for visibility */
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #f39c12; /* warm gold */
    transition: 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 0 10%;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    z-index: 1;
    filter: brightness(0.6); /* darken for readability */
}

/* Optional overlay for extra contrast */
.hero::before {
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;          /* height of fade */
    background: linear-gradient(to bottom, rgba(0,0,0,0.0), #fffbe0);
    z-index: 2;              /* above video but below text */
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    color: #111111; 
}

.hero h2 {
    font-size: 3.5rem;
    font-family: 'Montserrat', serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111111;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #111111;
}

.hero button {
    margin-top: 20px;
    padding: 12px 28px;
    border: none;
    background: #111111; /* Deep Black */
    color: #fdffd0; /* Pale Yellow */
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 12px; /* rounded corners */
}

.hero button:hover {
    background: #f39c12; /* Warm Gold */
    color: #111111; /* Black text */
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Sections */
section {
    background-color: #fdfad4; 
    color: #7a6041;
    padding: 80px 10%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

section h2 {
    font-family: 'Montserrat', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #5c432a;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin: 10px auto 30px auto;
    max-width: 900px;
}

/* Cards */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.card {
    position: relative; /* needed for overlay */
    background-size: cover; /* image covers entire card */
    background-position: center; /* center the image */
    background-repeat: no-repeat;
    padding: 25px;
    width: 300px;
    height: 380px;
    border-radius: 12px; /* rounded corners */
    color: whitesmoke; /* light text on image */
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 5px 20px rgba(154, 117, 50, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),  
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.2)
    );
    border-radius: 12px;
    z-index: 0;
}

.card h3,
.card .subtitle,
.card p {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.card h3 {
    color: gold; 
    font-size: 1.3rem;
    font-family: 'Montserrat', serif;
}

.card .subtitle {
    font-style: italic;
    font-family: 'Montserrat', serif;
    margin: 8px 0;
    color: gold; 
    font-size: 0.9rem;
}

/* Card description */
.card p {
    color: #f5f5f5;
    font-size: 0.85rem;
    line-height: 1.4;

    opacity: 0;                 /* hidden */
    transform: translateY(15px); /* slight move down */
    transition: all 0.4s ease;   /* smooth animation */
}

.card:hover p {
    opacity: 1;                 /* visible */
    transform: translateY(0);   /* move into place */
}

.card h3,
.card .subtitle {
    transition: all 0.3s ease;
}

.card:hover h3 {
    transform: translateY(-5px);
}

.card:hover .subtitle {
    transform: translateY(-5px);
}

/* Optional: limit height and add scroll if text is long */
.card {
    max-height: 350px;
    overflow-y: auto;
}

.card:hover::before {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.3)
    );
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    color: #c49e57; /* gold accent on hover */
}

/* Wrapper */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 30px;
}

/* Slider */
.tour-slider {
    display: flex;
    gap: 20px;
    overflow-x: hidden; /* hide scroll */
    scroll-behavior: smooth;
    padding: 20px;
}

/* Cards */
.tour-card {
    min-width: 260px;
    height: 180px;
    flex: 0 0 auto;

    background-size: 110%;
    background-position: center;
    border-radius: 15px;

    display: flex;
    align-items: flex-end;
    padding: 15px;

    color: white;
    font-weight: 600;

    position: relative;
    overflow: hidden;

}

.tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.2)
    );
}

.tour-card {
    z-index: 1;
}

/* Hover */
.tour-card:hover {
    transform: scale(1.05);
}

/* Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

/* Left / Right positioning */
.slider-btn.left {
    left: -10px;
}

.slider-btn.right {
    right: -10px;
}

/* Hover effect */
.slider-btn:hover {
    background: #f39c12;
    color: black;
}

/* Social Icons Container */
.social-icons {
    margin-top: 20px;
    padding-left: 20%;
}

/* Icons */
.social-icons a {
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 45px;                  
    height: 45px;    
    font-size: 20px;
    color: #5c432a;
    background: #fff9f0;
    border-radius: 50%;     
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    line-height: 0;
}

/* Hover Effects */
.social-icons a:hover {
    transform: translateY(-3px);
}

/* Individual brand hover colors */
.social-icons a:nth-child(1):hover {
    color: #E1306C; /* Instagram */
}

.social-icons a:nth-child(2):hover {
    color: #1877F2; /* Facebook */
}

.social-icons a:nth-child(3):hover {
    color: #25D366; /* WhatsApp */
}

/* Footer */
footer {
    background-color: #5c432a; /* deep warm brown */
    color: #fff9f0; /* soft cream text */
    padding: 10px;
    text-align: center;
    font-family: 'Montserrat', serif;
    border-top: 2px solid #c49e57; /* subtle gold border for elegance */
}

/* Optional accents */
a, .highlight {
    color: #f39c12;
    transition: 0.3s ease;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap; 
}

.contact-info {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
    color: #7a6041;
    font-family: 'Montserrat', sans-serif;
    padding-top: 50px;
}

.map-container {
    flex: 1 1 300px;   
    max-width: 400px; 
    height: 280px;     
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Dropdown container */
nav ul li {
    position: relative;
}

/* IMPORTANT: only main nav stays flex */
nav > ul {
    display: flex;
}

/* Dropdown menu */
.dropdown-menu {
    display: block;              /* ensures vertical layout */
    flex-direction: column;      /* prevents horizontal flex */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;                  /* remove gap */
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    min-width: 180px;
    padding: 10px 0;
    z-index: 10000;
}

/* Show dropdown */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-menu li {
    display: block;
    white-space: nowrap;
}

/* Links */
.dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 20px;
    color: #fdffd0;
    font-size: 14px;
}

/* Hover effect */
.dropdown-menu li a:hover {
    background: #f39c12;
    color: #111111;
}

/* Base arrow */
.dropdown > a {
    position: relative;
}

/* Arrow */
.dropdown > a::after {
    content: "";
    display: inline-block;
    margin-left: 8px;
    width: 6px;
    height: 6px;
    border-right: 2px solid #fdffd0;
    border-bottom: 2px solid #fdffd0;
    transform: rotate(45deg) translateY(-4px); /* angled + slightly up */
    transform-origin: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Hover state */
.dropdown:hover > a::after {
    transform: rotate(-135deg) translateY(-2px); /* flips direction */
    border-color: #f39c12; /* gold */
}

.menu-toggle {
    display: none;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {

    /* Header */
    header {
        padding: 10px 20px;
    }

    .logo img {
        height: 50px;
    }

    .logo span {
        font-size: 16px;
    }

    /* NAVIGATION (HAMBURGER STYLE) */
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        z-index: 10001;
        color: #f39c12;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        left: 0;
        background: rgba(0,0,0,0.9);
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    nav.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        background: none;
    }

    .dropdown-menu {
    display: none;
    position: static;
    background: none;
    padding: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 8px 0;
    }

    /* HERO */
    .hero {
        height: 60vh;
        padding: 0 20px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* SECTIONS */
    section {
        padding: 50px 20px;
    }

    /* DESTINATION CARDS */
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        height: auto;
    }

    /* SHOW WHEN ACTIVE (mobile scroll) */
    .card.show-content p {
        opacity: 1;
        transform: translateY(0);
    }

    /* TOUR SLIDER */
    .tour-slider {
        overflow-x: auto;
    }

    .slider-btn {
        display: none; /* hide arrows on mobile */
    }

    /* CONTACT */
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        text-align: center;
        padding-top: 0;
    }

    .map-container {
        width: 100%;
        max-width: 100%;
    }

    /* SOCIAL ICONS CENTER */
    .social-icons {
        padding-left: 0;
        text-align: center;
    }
}