/* CSS Variables for Reusability and Consistency */
:root { 
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --background-color: #f4f4f4;
    --text-color: #333;
    --light-color: #f7f7f7;
    --dark-color: #333;
    --white-color: #fff;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

/* Utility Classes */
.shadow-light {
    box-shadow: var(--shadow-light);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

.btn {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Section */
.header {
    background: var(--white-color);
    box-shadow: var(--shadow-medium);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.header .logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.header .logo img:hover {
    transform: scale(1.1);
}

.header .navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header .navbar-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
}

.header .navbar-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header .cta-button {
    @extend .btn;
}

/* Hero Section */
.hero {
    background: url('../images/hero-image.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 120px 15px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-bottom: 5px solid #e07a75;
}

.hero-content h1 {
    font-size: 48px;
    margin: 0 0 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.hero-content p {
    font-size: 1.25rem;
    margin: 0 0 30px;
}

.hero .cta-button {
    @extend .btn;
    background: var(--white-color);
    color: var(--primary-color);
}

.hero .cta-button:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.05);
}

/* Sections */
.destination-grid,
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.destination-card,
.guide-profile {
    background: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    @extend .shadow-light;
    transition: box-shadow 0.3s, transform 0.3s;
}

.destination-card:hover,
.guide-profile:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.03);
}

.destination-card img,
.guide-profile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-card .card-content,
.guide-profile .profile-content {
    padding: 15px;
}

.learn-more,
.view-profile {
    @extend .btn;
    font-size: 14px;
}

/* Review Slider */
.review-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 30px 0;
}

.review-card {
    background: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    max-width: 350px;
    text-align: center;
    flex: 0 0 auto;
    @extend .shadow-light;
    transition: box-shadow 0.3s, transform 0.3s;
}

/* About Us Section */
.why-visit {
    padding: 30px 0;
}

.why-visit ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-visit li {
    background: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 200px;
    text-align: center;
    @extend .shadow-light;
}

/* Footer */
.footer-container {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 20px 15px;
    text-align: center;
}

.footer-container p {
    margin: 10px 0;
    font-size: 0.9rem;
}

.footer-container a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

.footer-container a:hover {
    text-decoration: underline;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 900;
    }

    .header .navbar-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 100%;
        background: var(--white-color);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        z-index: 1000;
        overflow-y: auto;
        padding-top: 60px;
    }

    .header .navbar-menu.active {
        display: block;
        transform: translateX(0);
    }

    .header .navbar-toggle {
        display: flex;
        flex-direction: column;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1050;
    }

    .header .navbar-toggle-bar {
        background: var(--text-color);
        height: 3px;
        width: 25px;
        margin: 4px 0;
        border-radius: 2px;
        transition: background 0.3s ease;
    }

    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 30px;
        cursor: pointer;
        color: var(--text-color);
        z-index: 1100;
        transition: color 0.3s ease;
    }

    .mobile-menu-close:hover {
        color: var(--primary-color);
    }

    .header .navbar-menu a {
        display: block;
        padding: 15px;
        font-size: 1.125rem;
        text-align: center;
        border-bottom: 1px solid #ddd;
        color: var(--text-color);
        text-decoration: none;
        transition: background-color 0.3s, color 0.3s;
    }

    .header .navbar-menu a:hover,
    .header .navbar-menu a.active {
        background-color: var(--primary-color);
        color: var(--white-color);
    }

    .hero {
        padding: 80px 15px;
    }
}

/* Hide Mobile Menu Close Button on Desktop */
@media (min-width: 769px) {
    .mobile-overlay {
        display: none;
    }

    .mobile-menu-close {
        display: none;
    }

    .header .navbar-menu {
        display: flex;
        flex-direction: row;
    }

    .navbar-toggle {
        display: none; /* Hide on desktop */
    }
} 