@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&display=swap');

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #3d2b1f;
    background-color: #f5f0e8;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d6a9f 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

header p {
    opacity: 0.9;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
}


/* Main Content */
main {
    padding: 2rem 0;
    min-height: 60vh;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.hero h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a3a5c;
    letter-spacing: 0.5px;
}

.search-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

.search-box input,
.search-box select {
    padding: 12px 16px;
    border: 2px solid #c4b8a8;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 200px;
    background: #fffdf9;
}

.search-box input:focus,
.search-box select:focus {
    outline: none;
    border-color: #e8621a;
}

.search-box button {
    padding: 12px 30px;
    background: #e8621a;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #c4511a;
}

/* City Grid */
.cities {
    margin: 3rem 0;
}

.cities h3,
.featured h3,
.listings h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a3a5c;
    text-align: center;
    letter-spacing: 0.5px;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.city-card {
    background: #fffdf9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-top: 4px solid #e8621a;
    transition: transform 0.3s, box-shadow 0.3s;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.city-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.city-card p {
    color: #5a4a40;
    font-size: 0.9rem;
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    background: #fffdf9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #e8621a;
    transition: transform 0.3s, box-shadow 0.3s;
}

.listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.listing-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.listing-card .address {
    color: #5a4a40;
    margin-bottom: 0.5rem;
}

.listing-card .phone {
    color: #e8621a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.listing-card .services {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.service-tag {
    background: #d4e8d4;
    color: #2d6b3c;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.rating {
    color: #e8621a;
    margin-bottom: 0.5rem;
}

/* Directions Button */
.btn-directions {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 7px 16px;
    background: #1a3a5c;
    color: white;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-directions:hover {
    background: #2d6a9f;
}

/* Content Pages */
.content {
    background: #fffdf9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.content h2 {
    font-family: 'Oswald', sans-serif;
    color: #1a3a5c;
    margin-bottom: 1rem;
}

.content h3 {
    font-family: 'Oswald', sans-serif;
    color: #1a3a5c;
    margin: 1.5rem 0 0.5rem;
}

.content p {
    margin-bottom: 1rem;
}

.content a {
    color: #2d6a9f;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #c4b8a8;
    border-radius: 6px;
    font-size: 1rem;
    background: #fffdf9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e8621a;
}

.btn-primary {
    padding: 12px 30px;
    background: #e8621a;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #c4511a;
}

.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f5f0e8;
    border-radius: 8px;
}

/* Ad Sections */
.ads-top,
.ads-bottom {
    margin: 2rem 0;
    text-align: center;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ads-top {
    background: #e8e2d8;
    border-radius: 8px;
}

.ad-inline {
    grid-column: 1 / -1;
    margin: 0.5rem 0;
    min-height: 90px;
    text-align: center;
}

/* City Info & About Directory */
.city-info,
.about-directory {
    background: #fffdf9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 2rem 0;
}

.city-info h3,
.about-directory h3 {
    font-family: 'Oswald', sans-serif;
    color: #1a3a5c;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.city-info p,
.about-directory p {
    margin-bottom: 0.75rem;
    color: #3d2b1f;
}

/* FAQ Section */
.faq {
    margin: 2rem 0;
}

.faq h3 {
    font-family: 'Oswald', sans-serif;
    color: #1a3a5c;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-item {
    background: #fffdf9;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-left: 3px solid #e8621a;
}

.faq-item h4 {
    font-family: 'Oswald', sans-serif;
    color: #1a3a5c;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #3d2b1f;
    margin: 0;
}

/* Clickable phone links */
.listing-card .phone a {
    color: #e8621a;
    text-decoration: none;
}

.listing-card .phone a:hover {
    text-decoration: underline;
}

/* Map page */
#map {
    height: calc(100vh - 180px);
    min-height: 500px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.map-filter-btn {
    padding: 8px 18px;
    border: 2px solid #1a3a5c;
    border-radius: 20px;
    background: white;
    color: #1a3a5c;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.map-filter-btn.active,
.map-filter-btn:hover {
    background: #1a3a5c;
    color: white;
}

/* Footer */
footer {
    background: #1a3a5c;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

footer .tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.blog-card {
    background: #fffdf9;
    padding: 1.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-top: 4px solid #e8621a;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-card h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

.blog-card p {
    color: #5a4a40;
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card .read-more {
    color: #e8621a;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-post {
    background: #fffdf9;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    max-width: 820px;
    margin: 0 auto;
}

.post-header {
    background: #1a3a5c;
    border-radius: 8px;
    padding: 2rem 2.5rem;
    margin: -2.5rem -2.5rem 2rem -2.5rem;
    border-radius: 10px 10px 0 0;
}

.post-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.post-header time {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post h3 {
    font-family: 'Oswald', sans-serif;
    color: #1a3a5c;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1.75rem 0 0.75rem;
}

.blog-post p {
    margin-bottom: 1rem;
    color: #3d2b1f;
    line-height: 1.8;
}

.blog-post ul,
.blog-post ol {
    margin-left: 1.75rem;
    margin-bottom: 1rem;
    color: #3d2b1f;
    line-height: 1.8;
}

.blog-post li {
    margin-bottom: 0.4rem;
}

.blog-post table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-post table th {
    background: #1a3a5c;
    color: white;
    padding: 10px 14px;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}

.blog-post table td {
    padding: 9px 14px;
    border-bottom: 1px solid #e8e2d8;
    color: #3d2b1f;
}

.blog-post table tr:nth-child(even) td {
    background: #f5f0e8;
}

.blog-post a {
    color: #2d6a9f;
}

.blog h3 {
    font-family: 'Oswald', sans-serif;
    color: #1a3a5c;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.4rem;
    }

    .search-box input,
    .search-box select {
        width: 100%;
    }

    .city-grid,
    .listings-grid {
        grid-template-columns: 1fr;
    }

    #map {
        height: 60vh;
    }
}
