/* Global Styles */
:root {
    --teal: #1A6B7B;
    --gold: #D4AF37;
    --light-gold: #F5D76E;
    --sand: #F9F7F3;
    --charcoal: #333333;
    --gray: #E8E5DF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--sand);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--teal);
    font-size: 2.5rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-image {
    width: 180px;
    height: 50px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
}

/* Desktop Navigation */
#mainNav {
    display: flex;
}

#mainNav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

#mainNav ul li {
    margin-left: 30px;
    position: relative;
}

#mainNav ul li a {
    text-decoration: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    display: block;
}

#mainNav ul li a:hover {
    color: var(--gold);
}

#mainNav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

#mainNav ul li a:hover:after {
    width: 100%;
}

/* Desktop Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: var(--charcoal) !important;
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid var(--gray);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--sand);
    color: var(--teal) !important;
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    z-index: 1002;
    padding: 8px 12px;
    transition: color 0.3s ease;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    color: var(--gold);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    /* Ensure header has proper z-index */
    header {
        z-index: 1000;
    }
    
    .header-container {
        position: relative;
        z-index: 1001;
    }

    #mainNav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 20px 40px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #mainNav.active {
        transform: translateX(0);
    }

    #mainNav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    #mainNav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #mainNav ul li:last-child {
        border-bottom: none;
    }

    #mainNav ul li a {
        display: flex;
        align-items: center;
        padding: 16px 0;
        width: 100%;
        font-size: 1.1rem;
        color: white;
        min-height: 54px;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
    }

    #mainNav ul li a:active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    #mainNav ul li a:after {
        display: none;
    }

    /* Mobile Dropdown Styles */
    .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        position: relative;
    }

    .dropdown-toggle::after {
        content: '▾';
        display: inline-block;
        margin-left: 8px;
        transition: transform 0.3s ease;
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
        color: var(--gold);
    }

    .dropdown.active .dropdown-toggle {
        color: var(--gold);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0;
        margin: 0;
        width: 100%;
        border: none;
        border-radius: 0;
        border-left: 3px solid var(--gold);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu li:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 14px 20px 14px 30px;
        border: none;
        font-size: 1rem;
        min-height: 50px;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--gold) !important;
        padding-left: 35px;
    }

    /* Disable hover effects on mobile for dropdowns */
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown:hover .dropdown-toggle::after {
        transform: none;
    }
}

/* Ensure desktop dropdowns work on larger screens */
@media (min-width: 769px) {
    .dropdown-menu {
        display: block !important;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    /* Hide mobile-specific styles on desktop */
    .dropdown-toggle::after {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('../images/img1.jpg');
}

.slide-2 {
    background-image: url('../images/img2.jpg');
}

.slide-3 {
    background-image: url('../images/img3.jpg');
}

.slide-4 {
    background-image: url('../images/img4.jpg');
}

.slide-5 {
    background-image: url('../images/img5.jpg');
}

.slide-6 {
    background-image: url('../images/img6.jpg');
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: var(--sand);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--teal);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--teal);
}

/* Destinations Preview */
.destinations-preview {
    background-color: var(--sand);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.destination-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.destination-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.destination-content {
    padding: 20px;
}

.destination-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--teal);
}

.destination-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--gold);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    background-color: var(--teal);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 0 20px;
    display: none;
}

.testimonial.active {
    display: block;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.5;
}

.testimonial-author {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Contact Form */
.contact {
    background-color: white;
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* For tablets */
@media (max-width: 992px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #mainNav ul li {
        margin-left: 20px;
    }

    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* For mobile */
@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }

    .hero {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 0 15px;
        width: 90%;
    }
}

/* For very small mobile */
@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}