/*
=====================================================================
CSS Reset and Base Styles (Mobile-First)
=====================================================================
*/
* {
    /* Use border-box for easier layout calculation */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4; /* Light gray background for contrast */
}

/* Use a centralized wrapper that is narrower on mobile and wider on desktop */
#wrapper {
    width: 95%; /* Default for mobile screens */
    max-width: 1000px; 
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/*
=====================================================================
Header and Navigation
=====================================================================
*/
#header {
    padding: 20px;
    text-align: center;
    background-color: #004d99; /* Deep blue for professional look */
    color: white;
    /* FIX FOR MOBILE OVERFLOW: Hides any content that tries to spill out */
    overflow: hidden; 
}

#header .logo {
    /* Ensure logo takes full available width on mobile */
    width: 100%; 
    max-width: 100%; 
    height: auto;
    margin-bottom: 10px;
    display: block; 
}

#header h1 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

#header .slogan {
    font-size: 1.1em;
    font-weight: 300;
}

/* Navigation */
#navigation {
    background-color: #007bff; /* Brighter blue for navigation bar */
}

.nav {
    list-style: none;
    display: flex; /* Use flexbox to manage links */
    flex-direction: column; /* Stacked links on mobile */
    padding: 0;
}

.nav li {
    flex-grow: 1;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav li:last-child {
    border-bottom: none;
}

.nav a {
    display: block;
    padding: 15px 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav a:hover {
    background-color: #0056b3;
}

/*
=====================================================================
Main Content
=====================================================================
*/

/* Content Area now takes full width */
#content {
    padding: 20px;
}

#content p, #content h2 {
    margin-bottom: 15px;
}

#content h2 {
    color: #004d99;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

/*
=====================================================================
Image and Utility Classes 
=====================================================================
*/
.right {
    /* Ensure no floating on small screens */
    float: none;
    display: block; 
    /* Make the image full width but restrict its max size */
    max-width: 100%; 
    height: auto;
    /* Center the block image and add vertical spacing */
    margin: 15px auto; 
}

/* Payment Icons Fix */
.payment-icons {
    display: flex;
    justify-content: center; /* Center the icons horizontally */
    flex-wrap: wrap; /* Allows icons to wrap to the next line if too wide */
    margin: 15px 0; 
    padding: 0; /* Remove padding here, rely on margins below */
}

.payment-img {
    max-width: 90%; /* Prevent image from ever reaching 100% edge */
    width: auto;
    height: auto;
    display: block; 
    margin: 5px; /* Adds buffer/gap around each image */
}


/*
=====================================================================
Price List Styles (Specific for Prices.html)
=====================================================================
*/
.price-list {
    list-style-type: none; 
    padding-left: 0; 
    margin: 10px 0;
}

.price-list li {
    /* Indent the entire list item from the left edge (Mobile default) */
    margin-left: 20px; 
    padding: 8px 0; 
    border-bottom: 1px dashed #ddd; 
    display: flex;
    /* On Mobile (default): pushes price to the far right */
    justify-content: space-between; 
    align-items: center;
    font-size: 1.1em;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list .price {
    font-weight: bold;
    color: #ff6600; /* Highlight the actual price */
    flex-shrink: 0; 
    padding-left: 10px; 
}

/*
=====================================================================
Call-to-Action (CTA) Section
=====================================================================
*/
.cta-section {
    padding: 20px 0; /* Ensures no horizontal padding on mobile */
    text-align: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.cta-button {
    display: block; /* Stacked buttons on mobile */
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.1s;
}

/* Primary CTA: WhatsApp */
.primary-cta {
    background-color: #25D366; 
    color: white;
    border: none;
}

/* Secondary CTA: Text Message */
.secondary-cta {
    background-color: #5bc0de; 
    color: white;
    border: none;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.contact-note, .hours-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
    padding: 0 10px;
}

.price-link-area {
    text-align: center;
    margin: 20px 0;
}

.price-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600; /* Orange highlight */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.usp-live-location {
    background-color: #e6f7ff; 
    border-left: 5px solid #007bff;
    padding: 10px;
    margin: 15px 0;
}

/* Specific styles for the Contact page details section */
.contact-details {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.contact-details h2 {
    color: #004d99; 
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.contact-details p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.contact-details .highlight {
    font-weight: bold;
    color: #ff6600; 
}

/*
=====================================================================
Footer
=====================================================================
*/
#footer {
    clear: both; /* Ensures the footer clears any floats */
    padding: 15px;
    background-color: #333;
    color: #ccc;
    text-align: center;
    font-size: 0.9em;
}


/*
=====================================================================
Media Queries (Tablet and Desktop Layout)
=====================================================================
*/

@media screen and (min-width: 768px) {
    /* Navigation: Horizontal links for wider screens */
    .nav {
        flex-direction: row; 
    }
    .nav li {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    .nav li:last-child {
        border-right: none;
    }
    
    /* Content: Now takes up the full width */
    #content {
        padding: 40px; 
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    /* CTA Buttons: Display side-by-side instead of stacked */
    .cta-button {
        display: inline-block;
        width: 48%; 
        margin: 10px 1%;
    }
    
    /* Header Font Size */
    #header h1 {
        font-size: 2.2em;
    }

    /* Image: Apply float for desktop layout */
    .right {
        float: right;
        margin-left: 20px; 
        max-width: 40%;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    /* Prices List: Desktop Spacing Fix */
    .price-list li {
        /* Override mobile space-between to reduce the gap */
        justify-content: flex-start; 
        margin-left: 10px;
    }
    
    /* Add space between destination and price on desktop */
    .price-list .destination {
        margin-right: 50px; 
    }
}