/* styles.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    background: #008080;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
}

.btn:hover {
    background: #006666;
}

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

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #008080;
}

section {
    padding: 80px 0; /* Increased padding for breathing space */
}

/* Header Styles */
.header {
    background: #333;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 80px;
}

.nav-toggle {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none;
    color: white;
    margin-left: auto; /* Push to right corner */
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: white;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #008080;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    min-width: 180px;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 5px 0;
}

.dropdown-menu a {
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider {
    height: 100%;
}

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

.slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.pagination span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.pagination span.active {
    background: white;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    color: #008080;
    margin-bottom: 20px;
}

/* Destinations Section */
.destinations {
    background: #f9f9f9;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.destination-tile {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.destination-tile:hover {
    transform: translateY(-5px);
}

.destination-tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-tile h3 {
    padding: 20px;
    color: #008080;
    margin-bottom: 10px;
}

.learn-more {
    display: block;
    padding: 10px 20px;
    background: #e0f2f7;
    color: #008080;
    text-align: center;
    transition: background 0.3s;
}

.learn-more:hover {
    background: #b3e5fc;
}

/* Packages Section */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-5px);
}

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

.package-content {
    padding: 20px;
}

.package-name {
    color: #008080;
    margin-bottom: 10px;
}

.package-duration,
.package-cost {
    margin-bottom: 10px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Footer Styles */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
}

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

.footer-section h4 {
    margin-bottom: 15px;
    color: #008080;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: white;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #008080;
}

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

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-links i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: #008080;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#whatsapp-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#whatsapp-form input,
#whatsapp-form select,
#whatsapp-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#whatsapp-form textarea {
    resize: vertical;
}

#whatsapp-form button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#whatsapp-form button:hover {
    background-color: #006666;
}

/* WhatsApp Chat Button (Sticky) */
.whatsapp-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 1000;
    cursor: pointer; /* Add cursor pointer for better UX */
    transition: background 0.3s;
}

.whatsapp-chat-button:hover {
    background: #128C7E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .about-grid,
    .destination-grid,
    .package-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

.destination-main .featured-packages .container {
    max-width: 900px; /* Reduced container width */
    margin: 0 auto;
}

.destination-main .featured-packages .package-grid {
    gap: 20px; /* Reduced gap between packages */
}

/* Keep your existing .featured-packages CSS for general styling */
.featured-packages {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.featured-packages h2 {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    color: #008080;
}

.featured-packages .package-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-packages .package-card:hover {
    transform: translateY(-5px);
}

.featured-packages .package-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.featured-packages .package-content {
    padding: 20px;
}

.featured-packages .package-name {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.featured-packages .package-duration {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
}

.featured-packages .package-cost {
    font-size: 1.1em;
    font-weight: bold;
    color: #008080;
    margin-bottom: 20px;
}

.featured-packages .whatsapp-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.featured-packages .whatsapp-btn:hover {
    background-color: #128C7E;
}

.featured-packages .whatsapp-btn i {
    margin-right: 5px;
}

.show-more-packages {
    display: inline-block;
    padding: 10px 20px;
    background-color: #008080;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.show-more-packages:hover {
    background-color: #006666;
}

/* Services Page Styling */
.services-section {
    padding: 50px 0;
    background-color: #f7f7f7;
}

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

.services-section h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Grid Layout for Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-content {
    padding: 20px;
}

.service-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    border-radius: 8px;
    background: #008080;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
}

.service-content .btn:hover {
    background-color: #0056b3;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 150px;
    }

    .service-content {
        padding: 15px;
    }

    .service-content h2 {
        font-size: 1.2rem;
    }
}

/* --- Services Section (index.html) - Improved Button Placement --- */
.services-section .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text content */
    padding: 30px;
}

.services-section .grid-item p {
    flex-grow: 1; /* Allow paragraph to take up available space */
    margin-bottom: 20px; /* Add some space between paragraph and button */
}

.services-section .grid-item .btn {
    margin-top: 20px; /* Add consistent space above buttons */
}