/* style.css */

/* --- Global Styles & Typography --- */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f1ea; /* Soft Beige */
    color: #333333; /* Charcoal Gray */
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Georgia', serif;
    color: #2c5d63; /* Muted Teal */
    font-weight: normal;
}

a {
    color: #2c5d63;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* --- Header & Navigation --- */
.main-header {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5d63;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    font-weight: bold;
    padding-bottom: 5px;
}

.main-nav a.active {
    border-bottom: 2px solid #2c5d63;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: #e6b8a2; /* Warm Peach */
    color: #333333;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #d9a085;
    text-decoration: none;
}

/* --- Hero Section (Home Page) --- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #e3e8e9; /* A slightly cooler beige for contrast */
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* --- Page Content Styles --- */
.page-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
}

.content-section {
    padding: 40px 0;
}

.two-column-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.two-column-layout .column-text {
    flex: 1;
}

.two-column-layout .column-image {
    flex-basis: 300px;
}

.two-column-layout img {
    max-width: 100%;
    border-radius: 8px;
}

/* --- Specialty Cards (Home Page) --- */
.specialty-cards {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
    margin-top: 50px;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 1;
}

/* --- Footer --- */
.main-footer {
    background: #2c5d63;
    color: #f4f1ea;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
}

.main-footer a {
    color: #f4f1ea;
}

/* --- Additional Styles for Homepage Intro Photo --- */
.intro-photo {
    max-width: 350px; /* Controls the max size of the photo column */
    margin: 0 auto; /* Helps center the photo on smaller screens */
}

.intro-photo img {
    border-radius: 50%; /* Makes the photo circular */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Adds a soft shadow */
}

/* --- Responsive Styles for Mobile & Tablet --- */
@media (max-width: 768px) {

    /* --- General Layout --- */
    .container {
        padding: 15px;
    }

    /* --- Header & Navigation --- */
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap; /* Allows nav items to wrap to a new line */
        gap: 10px;
    }

    .main-nav li {
        margin-left: 15px; /* Adjust spacing for mobile */
    }

    /* --- Hero Section --- */
    .hero h1 {
        font-size: 2.2rem; /* Make heading smaller on mobile */
    }
    
    /* * FIX 1: Stack the two-column layout (photo and text) vertically.
     * This applies to the Home and About pages.
     */
    .two-column-layout {
        flex-direction: column;
        text-align: center;
    }

    .two-column-layout .column-text {
        order: 2; /* Ensures text is below the image */
    }

    .two-column-layout .column-image {
        order: 1; /* Ensures image is on top */
        margin-bottom: 20px;
    }
    
    /* * FIX 2: Stack the three specialty cards vertically.
     */
    .specialty-cards {
        flex-direction: column;
    }
}
