/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #007bff;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: #fff;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header .logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Main Content */
main {
    padding: 20px 0;
    min-height: 70vh; /* Ensure footer is pushed down */
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1100px;
    margin: auto;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #007bff;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

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

.contact-input {
    background: #444;
    color: #fff;
    border: 1px solid #555;
    padding: 10px;
    width: calc(100% - 22px); /* Account for padding and border */
    margin-bottom: 10px;
    border-radius: 5px;
}

.btn {
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 20px;
    font-size: 0.8em;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        padding: 10px 0;
        border-top: 1px solid #ddd;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        margin: 10px 20px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Hero Section (Example for Homepage) */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/placeholder_rio.jpg') no-repeat center center/cover;
    color: #fff;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.search-bar {
    width: 100%;
    max-width: 600px;
    display: flex;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 15px;
    font-size: 1em;
    border: none;
    border-radius: 5px 0 0 5px;
}

.search-bar button {
    padding: 15px 20px;
    font-size: 1em;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Sections */
.section {
    padding: 40px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #333;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 300px; /* Adjust as needed */
    text-align: left;
    transition: transform 0.3s ease;
}

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

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

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.card-text {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
}

.card .btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

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

/* Destination Page Styles */
.destination-intro {
    margin-bottom: 30px;
    text-align: left;
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.2em;
    line-height: 1.6;
}

.booking-cta {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
}

.section-subtitle {
    font-size: 2em;
    margin: 40px 0 20px;
    color: #333;
    text-align: left;
}

.price {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 15px;
}

.packages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.package {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px;
    width: calc(50% - 40px);
    text-align: left;
}

.package h3 {
    color: #333;
    margin-bottom: 15px;
}

.package ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.package ul li {
    margin-bottom: 8px;
    color: #666;
}

.package.highlight {
    border: 2px solid #28a745;
}

.btn-cta {
    background-color: #28a745;
    font-weight: bold;
    padding: 12px 20px;
}

.btn-cta:hover {
    background-color: #218838;
}

.btn-secondary {
    background-color: #6c757d;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.contact-form-section {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-top: 60px;
    text-align: left;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    height: 120px;
}

.form-group:last-child {
    grid-column: span 2;
    text-align: center;
}

.cta-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}

.cta-box.highlight {
    background-color: #e8f4fc;
    border-left: 4px solid #007bff;
}

/* Blog Post Styles */
.blog-post-section {
    text-align: left;
}

.blog-post-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.blog-post-section h2 {
    font-size: 2em;
    margin: 30px 0 20px;
}

.blog-post-section h3 {
    font-size: 1.5em;
    margin: 25px 0 15px;
}

.blog-post-section h4 {
    font-size: 1.3em;
    margin: 20px 0 10px;
}

.blog-post-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.blog-post-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-post-section ul li {
    margin-bottom: 10px;
}

.blog-post-section blockquote {
    border-left: 4px solid #007bff;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.related-posts h3 {
    margin-bottom: 20px;
}

.related-posts ul {
    list-style: disc;
    padding-left: 20px;
}

.related-posts ul li {
    margin-bottom: 10px;
}

.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

