/* Page-specific background */
body.philippines {
    background-color: #f4f4f4;
}

/* Header styles */
.destination-header {
    background-size: cover;
    background-position: center;
    height: 80vh;
    position: relative;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.destination-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.destination-header p {
    font-size: 1.5rem;
    margin: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Content sections */
.intro-content, .itineraries-content {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

/* Section headings */
section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

section h3 {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
}

/* Itineraries section */
.itineraries-content {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
    position: relative; /* Establish positioning context */
}

.map-container {
    width: 700px;
    float: left; /* Allow content to wrap around */
    margin: 0 2rem 2rem 0; /* Right and bottom margin for spacing */
}

.map-container .map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.itinerary-descriptions {
    /* Remove specific layout properties to allow natural flow */
    margin-left: 0; /* Let content flow naturally */
}

.itinerary {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Add these styles to your existing CSS */
.day-by-day .map-container {
    width: 100%;  /* Take full width of the container */
    float: none;  /* Remove float since we're not wrapping */
    margin: 2rem 0;  /* Add some vertical spacing */
    padding: 1rem;  /* Optional: adds some padding */
    background-color: #f8f9fa;  /* Optional: matches day background */
    border-radius: 8px;  /* Optional: matches day styling */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);  /* Optional: matches day styling */
}

.day-by-day .map-container .map-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Clear the float after the content */
.itineraries-content::after {
    content: '';
    display: table;
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .map-container {
        width: 600px;
    }
}

@media (max-width: 992px) {
    .map-container {
        float: none;
        width: 100%;
        max-width: 700px;
        margin: 0 auto 2rem auto;
    }
    
    .itinerary-descriptions {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .itineraries-content {
        padding: 0 1rem;
    }
}
/* Responsive adjustments */
@media (max-width: 1100px) {
    .map-container {
        flex: 0 0 600px; /* Slightly smaller on medium screens */
    }
}

@media (max-width: 992px) {
    .map-container {
        flex: 0 0 100%; /* Full width on smaller screens */
        max-width: 700px; /* Maximum width */
        margin: 0 auto;
    }
    
    .itinerary-descriptions {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .map-container {
        padding: 0 1rem;
    }
    
    .itinerary-descriptions {
        padding: 0 1rem;
    }
}
/* Note styling */
.note {
    background-color: #fff3cd;
    border-left: 4px solid #ffeeba;
    padding: 1rem;
    margin: 1rem 0;
}

/* Yacht overview section */
.yacht-overview {
    background-color: #f5f5f5;
    padding: 3rem 0;
    margin: 2rem 0;
}

.deck-plan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.deck-plan-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}
/* Yacht description section */
.yacht-description {
    max-width: 1200px;  /* Matches other sections */
    margin: 0 auto;      /* Centers the section */
    padding: 20px;       /* Adds spacing */
}

.yacht-description .content {
    max-width: 800px;   /* Ensures text isn't too wide */
    margin: 0 auto;     /* Centers the text block */
    text-align: justify; /* Makes text more readable */
}

/* Accommodation section */
.accommodation {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.accommodation-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.accommodation-option {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.accommodation-option img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.accommodation-option h3 {
    padding: 1rem;
    margin: 0;
}

.accommodation-option p {
    padding: 0 1rem 1rem;
    margin: 0;
}
/* Yacht showcase section */
.yacht-showcase {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.yacht-showcase img {
    width: 75%; /* As requested, 75% of container width */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.yacht-showcase h3 {
    margin-top: 1.5rem;
    font-size: 1.8rem;
}

.yacht-showcase p {
    margin: 1rem auto;
    max-width: 800px;
}

/* Dining section */
.dining {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.image-container {
    flex: 1;
    position: relative;
}

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

.on-board-dining {
    flex: 1;
}

.on-board-dining h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.on-board-dining ul {
    margin-left: 20px;
    margin-top: 1rem;
}

/* Testimonials and Booking sections */
.testimonials, .booking {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.testimonials blockquote {
    background: white;
    border-left: 4px solid #007BFF;
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonials blockquote p {
    font-style: italic;
    margin: 0;
}

.booking {
    text-align: center;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

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

/* Image credits */
.credit {
    font-size: 0.8rem;
    color: #666;
    text-align: right;
    margin-top: 5px;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 992px) {
    .itineraries-content {
        flex-direction: column;
    }
    
    .accommodation-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .destination-header h1 {
        font-size: 2.5rem;
    }
    
    .accommodation-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .map-container {
        width: 100%;
        min-width: 100%;
        padding: 0 1rem;
    }
    
    .itinerary-descriptions {
        padding: 0 1rem;
    }
}
.pricing {
    max-width: 800px; /* Limit width to match table */
    margin: 0 auto; /* Center section */
    text-align: center; /* Center all text inside */
}

.pricing label {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.pricing select {
    font-size: 1.2rem;
    padding: 8px;
    margin: 10px 0; /* Add space around dropdowns */
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Center the note below the pricing table */
.pricing-note {
    font-size: 1rem;
    font-style: italic;
    margin-top: 10px;
    color: #555;
    text-align: center;
}
/* used for the yacht selector */
.yacht-selector {
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
}

.dropdown-container {
    margin-top: 1rem;
}

.dropdown-container label {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    font-weight: bold;
}

.dropdown-container select {
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

