/* ===== Root Variables ===== */
:root {
    --primary-color: #d4a574;
    --secondary-color: #8b6f47;
    --dark-color: #2c2c2c;
    --light-color: #f5f5f5;
    --accent-color: #e8a87c;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

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

/* ===== Navbar ===== */
.navbar {
    background-color: #67513A;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2.2rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    z-index: 200;
    padding: 0.75rem 1.5rem;
    position: relative;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../../public/Background_image.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    scroll-margin-top: 0;
}

.hero-content {
    margin-top: -200px;
    padding-bottom: 220px;
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.highlight-only {
    color: #C8B7A7;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease;
    font-family: 'Montserrat', sans-serif;
}

.cta-button {
    background-color: #D4A574;
    text-decoration: none;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
    display: block;
    margin: 0 auto;
    position: relative;
    left: -10px;
    top: 120px;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-arrow {
    position: absolute;
    bottom: 100px;
    left: calc(50% - 10px);
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-arrow:hover {
    opacity: 1;
}

.scroll-arrow span {
    display: inline-block;
    animation: bounce 2s infinite;
}

/* ===== Search Section ===== */
.search-section {
    background-color: var(--light-color);
    padding: 3rem 0;
    border-bottom: 2px solid var(--primary-color);
}

.search-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.search-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-input,
.filter-select {
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

.search-input {
    min-width: 250px;
}

/* ===== Tours Section ===== */
.tours-section {
    padding: 4rem 0;
    scroll-margin-top: 70px;
}

.tours-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #AC7C58;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.tour-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.tour-image {
    width: 100%;
    height: 200px;
    background-color: #D4A574;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tour-image img {
    height: auto;
}

.tour-content {
    padding: 1.5rem;
}

.tour-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #AC7C58;
    font-weight: bold;
}

.tour-destination {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tour-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.tour-detail-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tour-price {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.tour-buttons {
    display: flex;
    gap: 0.5rem;
}

.view-button,
.book-button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    text-align: center;
}

.view-button {
    background-color: var(--light-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.view-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.book-button {
    background-color: var(--primary-color);
    color: white;
}

.book-button:hover {
    background-color: var(--accent-color);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.booking-modal-content {
    max-width: 500px;
}

.close {
    color: var(--secondary-color);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--danger-color);
}

.modal-body h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-body .tour-image {
    width: 100%;
    height: 250px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.modal-body .tour-title {
    margin-bottom: 0.5rem;
}

.modal-body .tour-price {
    margin-bottom: 1.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #666;
}

/* ===== Booking Form ===== */
.booking-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--light-color);
    padding: 4rem 0;
    scroll-margin-top: 70px;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #AC7C58;
}

.about-section h3 {
    text-align: center;
    color: #AC7C58;
    margin-top: -1.5rem;
}

.about-section p {
    text-align: center;
    color: #413D39;
    font-family: 'Poppins', sans-serif;
}

.about-section h4 {
    text-align: center;
    color: #AC7C58;
    margin-top: 2rem;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

.client-logos img {
    max-width: 150px;
    height: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* ===== Reviews Section ===== */
.reviews-section {
    padding: 4rem 0;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-name {
    font-weight: bold;
    color: var(--secondary-color);
}

.review-rating {
    color: #f39c12;
}

.review-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-tour {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ===== Utility Classes ===== */
.success-message {
    background-color: var(--success-color);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

.error-message {
    background-color: var(--danger-color);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}