/* General Styles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
}

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

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2 {
    color: #1a2b48; /* Dark blue */
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #1a2b48;
}

.logo:hover {
    text-decoration: none;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
}

nav ul li a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Main Content Area */
main {
    padding: 20px 0;
}

/* Hero Section */
.hero {
    background-color: #e7f3ff; /* Light blue background */
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #d0e0f0;
}

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

.hero p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #555;
}

/* Search Form */
.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.search-form input[type="text"] {
    padding: 12px 15px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    width: 400px; /* Adjust as needed */
    max-width: 70%;
}

.search-form button {
    padding: 12px 25px;
    font-size: 1em;
    background-color: #007bff; /* Blue button */
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #0056b3;
}

.lead-magnet-link {
    font-size: 0.9em;
    color: #555;
}

/* Section Styling */
section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

/* Placeholder Cards/Lists */
.dentist-list, .article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 25px; /* Increased gap */
    margin-bottom: 30px;
}

.dentist-card, .article-summary {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 5px;
    background-color: #ffffff; /* White background for cards */
    text-align: left; /* Align text left */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack items vertically */
    /* Remove placeholder minimum height and alignment */
    /* min-height: 100px; */
    /* align-items: center; */
    /* justify-content: center; */
    /* font-style: italic; */
    color: #333; /* Reset color */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.dentist-card:hover, .article-summary:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Dentist Card Specific Styles */
.dentist-card .dentist-photo {
    max-width: 100px; /* Limit photo size */
    height: 100px;
    border-radius: 50%; /* Make it circular */
    margin: 0 auto 15px auto; /* Center photo */
    display: block;
    object-fit: cover; /* Crop image nicely */
    background-color: #eee; /* Placeholder bg */
}

.dentist-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #1a2b48;
    text-align: center;
}

.dentist-card .specialty {
    font-size: 0.9em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
    text-align: center;
}

.dentist-card .description {
    font-size: 0.95em;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow description to fill space */
}

.dentist-card .profile-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #e7f3ff;
    color: #0056b3;
    border: 1px solid #b8daff;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: auto; /* Push link to bottom */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dentist-card .profile-link:hover {
    background-color: #cfe8ff;
    border-color: #a1cfff;
    text-decoration: none;
}

/* Article Summary Specific Styles */
.article-summary .article-thumb {
    width: 100%;
    height: 150px; /* Fixed height for thumbs */
    object-fit: cover;
    border-radius: 4px 4px 0 0; /* Round top corners */
    margin-bottom: 15px;
    background-color: #eee; /* Placeholder bg */
}

.article-summary h4 {
    font-size: 1.15em;
    margin-bottom: 8px;
    color: #1a2b48;
}

.article-summary p {
    font-size: 0.95em;
    margin-bottom: 15px;
    flex-grow: 1; /* Allow description to fill space */
}

.article-summary .read-more {
    display: inline-block;
    font-weight: bold;
    color: #007bff;
    margin-top: auto; /* Push link to bottom */
    align-self: flex-start; /* Align to left */
}

.article-summary .read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Call to Action Buttons */
.cta-button {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto; /* Center button */
    padding: 10px 20px;
    background-color: #28a745; /* Green button */
    color: white;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

/* Lead Magnet Form Section */
.lead-magnet-form {
    background-color: #f0f8ff; /* Lighter blue */
}

.lead-magnet-form form {
    max-width: 500px;
    margin: 20px auto 0 auto;
}

.lead-magnet-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.lead-magnet-form input[type="text"],
.lead-magnet-form input[type="email"],
.lead-magnet-form input[type="tel"] {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.lead-magnet-form button {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1.1em;
    background-color: #ff7f50; /* Coral/Orange button */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lead-magnet-form button:hover {
    background-color: #e66a40;
}

/* Footer */
footer {
    background-color: #343a40; /* Dark background */
    color: #f8f9fa; /* Light text */
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
}

footer p {
    margin: 0;
}

footer a {
    color: #adb5bd; /* Lighter gray for links */
}

footer a:hover {
    color: #ffffff;
}

/* Responsive Adjustments (Basic Example) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 5px;
    }

    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form input[type="text"] {
        width: auto;
        max-width: none;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .search-form button {
         border-radius: 4px;
    }

    .hero h1 {
        font-size: 2em;
    }

    section h2 {
        font-size: 1.6em;
    }
}

/* Promo Banner */
.promo-banner {
    background-color: #e8f4ff;
    background-image: linear-gradient(135deg, #e8f4ff 0%, #d0e6ff 100%);
    padding: 30px 0;
    border-top: 1px solid #c0d8f0;
    border-bottom: 1px solid #c0d8f0;
    margin-bottom: 20px;
}

.promo-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.promo-content h2 {
    color: #1a2b48;
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #444;
}

.promo-content .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #28a745;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.promo-content .cta-button:hover {
    background-color: #218838;
    text-decoration: none;
}

@media (max-width: 768px) {
    .promo-content h2 {
        font-size: 1.5em;
    }
    
    .promo-content p {
        font-size: 1em;
    }
} 