/* General Styling (ensure these are present from previous responses) */
:root {
    --primary-color: #e44d26; /* Example: A reddish-orange from the design */
    --secondary-color: #2c3e50; /* Example: A dark blue/grey for text/backgrounds */
    --text-color: #333;
    --light-grey: #f4f4f4;
    --dark-grey: #555;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #c73c1f;
}

.btn-book-request { /* Specific button for this page */
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    margin-top: 20px;
    width: 100%; /* Take full width of its container */
    font-size: 1.1em;
}

.btn-book-request:hover {
    background-color: #c73c1f;
}

/* Header (ensure these are present and updated with the "Booking" link if not already) */
.main-header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--white);
    color: var(--secondary-color);
    padding: 10px 0;
    font-size: 0.9em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.top-bar .contact-info span {
    margin-right: 20px;
    
}

.top-bar .contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.top-bar .social-media a {
    color: var(--white);
    margin-left: 15px;
    transition: color 0.3s ease;
}

.top-bar .social-media a:hover {
    color: var(--primary-color);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
}

.logo .okinawa {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
  
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none; /* Hidden by default for desktop */
    font-size: 1.5em;
    cursor: pointer;
    color: white;
}
/* Page Hero Section (re-used from previous About page) */
.page-hero {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    background-image: url('https://via.placeholder.com/1920x200/2c3e50/ffffff?text=Booking+Background'); /* Placeholder background */
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.page-hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.page-hero .breadcrumb {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

/* New: Booking Section Specific Styles */
.booking-section {
    padding: 80px 0;
}

.booking-content-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
    align-items: flex-start; /* Align content to the top */
    margin-bottom: 50px; /* Space above payment icons */
}

.care-points-payment {
    flex: 2; /* Takes more space */
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.care-points-payment h2 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.care-points-payment h3 {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.care-point, .payment-method {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--light-grey); /* Dashed line separator */
}

.care-point:last-of-type, .payment-method:last-of-type {
    border-bottom: none; /* No border for the last item */
}

.care-point h4, .payment-method h4 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.care-point h4 i, .payment-method h4 i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

.care-point p, .payment-method p {
    color: var(--dark-grey);
    margin-bottom: 5px;
}

.qr-code-section {
    flex: 1; /* Takes less space */
    min-width: 280px; /* Minimum width to prevent squishing */
    background-color: #f7f7f7; /* Light background for the QR section */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    display: flex; /* Use flex for vertical centering of content */
    flex-direction: column;
    justify-content: space-between; /* Push header/footer to ends */
    align-items: center;
}

.qr-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qr-header i {
    font-size: 1.5em;
}

.qr-code-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    padding: 10px; /* Padding around QR code image */
    background-color: var(--white);
}

.qr-code-section .-or-divider {
    margin: 20px 0;
    color: var(--dark-grey);
    font-weight: bold;
    position: relative;
    width: 100%;
}

.qr-code-section .-or-divider::before,
.qr-code-section .-or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%; /* Adjust line length */
    height: 1px;
    background-color: #ddd;
}

.qr-code-section .-or-divider::before {
    left: 0;
}

.qr-code-section .-or-divider::after {
    right: 0;
}


.payment-icons {
    text-align: center;
    background:var(--secondary-color);
    margin: 30px 0px 30px 0px ;
    padding-top: 10px;    
    
    border-top: 1px solid var(--light-grey);
}

.payment-icons img {
    max-width: 100px; /* Adjust size as needed */
    height: auto;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icons img:hover {
    opacity: 1;
}

/* Footer (ensure these are present from previous responses) */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

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

.footer-column h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-column p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
}

.footer-column p i {
    margin-right: 10px;
    color: var(--white);
    font-size: 1.1em;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

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

.back-to-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #c73c1f;
}

/* Responsive Design */

/* Medium devices (tablets, 768px to 1024px) */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .booking-content-wrapper {
        flex-direction: column; /* Stack columns on tablets */
        align-items: center;
    }

    .care-points-payment,
    .qr-code-section {
        min-width: unset; /* Remove min-width */
        width: 100%; /* Take full width */
        max-width: 600px; /* Optional: constrain width for better appearance */
    }

    .qr-code-section {
        margin-top: 40px; /* Space between stacked sections */
    }
}

/* Small devices (phones, up to 767px) */
@media (max-width: 767px) {
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .top-bar .contact-info span {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .top-bar .social-media {
        width: 100%;
        text-align: left;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        z-index: 999;
    }

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

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
        
    }

    .navbar .btn-primary {
        display: none;
    }

    .page-hero h1 {
        font-size: 2.2em;
    }

    .care-points-payment h3 {
        font-size: 1.8em;
    }

    .care-point h4, .payment-method h4 {
        font-size: 1.2em;
        text-align: left; /* Ensure text alignment is good on small screens */
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column p, .footer-column ul li {
        justify-content: center;
    }

    .social-icons {
        text-align: center;
    }

    .social-icons a {
        margin: 0 10px;
    }
}

/* Extra small devices (less than 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-hero {
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 1.8em;
    }

    .care-points-payment h3 {
        font-size: 1.5em;
    }

    .qr-code-section {
        padding: 20px;
    }

    .qr-header {
        font-size: 1em;
        padding: 8px 15px;
    }

    .qr-header i {
        font-size: 1.3em;
    }

    .btn-book-request {
        font-size: 1em;
        padding: 10px 20px;
    }

    .payment-icons img {
        max-width: 80px;
        margin: 0 5px;
    }
}
/* Ensure the logo within top-bar is always visible */
.top-bar .logo .okinawa{
    display: grid; /* Make sure it's not hidden by its parent on small screens */
}

/* Hide other elements within the top-bar on small screens */
@media (max-width: 767px) { /* Adjust breakpoint as needed for "small screens" */
    .top-bar .contact-info,
    .top-bar .social-media, /* If you have a separate social-media div in top-bar */
    .top-bar span:not(:has(.logo)) /* Target span elements that are not wrapping the logo */
     {
        display: none;
    }

    

/* Show top-bar content for screens wider than a certain breakpoint (e.g., 768px for tablets/desktops) */
@media (min-width: 768px) {
    .top-bar {
        display: flex; /* Or 'flex' if it's a flex container */
        background-color: var(--white);
        color: var(--secondary-color);
        padding: 10px 0;
        font-size: 0.9em;
    }

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    /* Ensure all elements are visible on larger screens */
    .top-bar .contact-info,
    .top-bar .social-media,
    .top-bar span {
        display: block; /* Or whatever original display property was */
    }
}
