/* CSS file (css/style.css) */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #008080; /* Teal */
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.hero, .explore-hero, .plan-hero, .flights-hero, .cruises-hero, .hotels-hero, .faq-hero, .contact-hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero img, .explore-hero img, .plan-hero img, .flights-hero img, .cruises-hero img, .hotels-hero img, .faq-hero img, .contact-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* To cover the area, may crop */
    max-height: 400px; /* Example max height for hero images */
}


.hero h2, .explore-hero h2, .plan-hero h2, .flights-hero h2, .cruises-hero h2, .hotels-hero h2, .faq-hero h2, .contact-hero h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Example background for text */
    padding: 10px 20px;
    border-radius: 5px;
}

.hero p, .explore-hero p, .plan-hero p, .flights-hero p, .cruises-hero p, .hotels-hero p, .faq-hero p, .contact-hero p {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}


.featured-activities, .explore-sections, .plan-steps, .booking-form, .faq-content, .contact-info, .travel-tips {
    padding: 20px;
}

.featured-activities h2, .explore-sections h2, .plan-steps h2, .booking-form h2, .faq-content h2, .contact-info h2, .travel-tips h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #008080;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.activity, .explore-section, .step {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.activity img, .explore-section img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.activity h3, .explore-section h3, .step h3 {
    padding: 15px;
    margin: 0;
    text-align: center;
    color: #008080;
}

.activity p, .explore-section p, .step p {
    padding: 0 15px 15px 15px;
    margin: 0;
}

.explore-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.plan-steps .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step h3 {
    margin-top: 0;
}

.button, .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #008080;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.booking-form form, .contact-form-section form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* to include padding and border in element's total width and height */
}

.form-group textarea {
    resize: vertical;
}

.booking-form button[type="submit"], .contact-form-section button[type="submit"] {
    padding: 10px 20px;
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.booking-form button[type="submit"]:hover, .contact-form-section button[type="submit"]:hover {
    background-color: #005555;
}

.faq-content .faq-question {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.faq-content .faq-question h3 {
    color: #008080;
    margin-top: 0;
}

.contact-info p {
    line-height: 1.6;
}

.contact-info a {
    color: #008080;
    text-decoration: none;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative; /* To contain absolute positioned elements if needed */
    bottom: 0;
    width: 100%;
}

footer nav ul li a {
    color: white;
}

footer p {
    margin-top: 10px;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    header h1 {
        font-size: 1.8em;
    }
    nav ul li {
        margin: 0 10px;
        display: block; /* Stack navigation links on smaller screens */
        margin-bottom: 10px;
    }
    nav ul {
        text-align: center; /* Center align nav links */
    }
    .hero h2, .explore-hero h2, .plan-hero h2, .flights-hero h2, .cruises-hero h2, .hotels-hero h2, .faq-hero h2, .contact-hero h2 {
        font-size: 1.8em;
    }
    .hero p, .explore-hero p, .plan-hero p, .flights-hero p, .cruises-hero p, .hotels-hero p, .faq-hero p, .contact-hero p {
        font-size: 0.9em;
    }
    .activities-grid, .explore-sections, .plan-steps .steps-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    /* style.css */

/* Basic styling for the header */
header {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center horizontally */
    padding: 10px;
}

header h1 {
    margin-bottom: 10px;
}

nav {
    display: flex; /* Use flexbox for the nav */
    justify-content: center; /* Center the nav items */
    width: 100%; /* Make nav take full width */
    margin-bottom: 10px; /* Space between nav and search */
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 20px;
}

#search-container {
    display: flex;
    margin-left: auto; /* Push search to the right */
}

#search-box {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#search-button {
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
}

footer nav ul {
    justify-content: center;
}
}