/* General Styling (from previous response - ensure these are present) */
: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; /* Prevent horizontal scroll from transform */
}

.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; /* Slightly darker primary */
}

/* Header (from previous response - ensure these are present) */
.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;
}
/* New: Page Hero Section (for internal pages like About Us) */
.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=About+Us+Background'); /* Placeholder or a subtle pattern */
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1; /* For overlay */
}

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

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

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

/* New: About Us Content Section (main content of the page) */
.about-us-content {
    padding: 80px 0;
}

.about-main-section {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 60px; /* Space between this section and 'Our Story' */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.about-image-main {
    flex: 1;
    min-width: 300px; /* Minimum width for the image */
}

.about-image-main img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 10px
}

.about-text-main {
    flex: 1.5; /* Takes more space than the image */
    min-width: 300px; /* Minimum width for content */
}

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

.about-text-main h3 {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text-main p {
    margin-bottom: 20px;
    color: var(--dark-grey);
}

/* New: Our Story Section */
.our-story-section {
    padding-top: 40px; /* Space from the above section */
    border-top: 1px solid var(--light-grey); /* A subtle separator */
}

.our-story-section h2 {
    color: var(--secondary-color);
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center; /* Center the "Our Story" title */
}

.our-story-section p {
    color: var(--dark-grey);
    text-align: justify; /* Justify text for better readability in long blocks */
}


/* Footer (from previous response - ensure these are present) */
.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;
    }

    .about-main-section {
        flex-direction: column; /* Stack image and text */
        text-align: center;
    }

    .about-image-main,
    .about-text-main {
        min-width: unset;
        width: 100%;
    }

    .about-image-main img {
        margin: 0 auto;
    }
}

/* 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; /* Hide by default */
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%; /* Below the navbar */
        left: 0;
        padding: 20px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

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

    .hamburger {
        display: block; /* Show hamburger icon */
    }

    .navbar .btn-primary {
        display: none; /* Hide "Get Appointment" button on small screens */
    }

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

    .about-text-main h3 {
        font-size: 1.8em;
    }

    .our-story-section h2 {
        font-size: 1.8em;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }

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

    .footer-column p, .footer-column ul li {
        justify-content: center; /* Center text in footer columns */
    }

    .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;
    }

    .about-text-main h3 {
        font-size: 1.5em;
    }

    .our-story-section h2 {
        font-size: 1.5em;
    }
}
