/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f0f9f0;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.02);
}

.brand-logo {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.brand-name-logo {
    height: 32px;
    width: auto;
    margin-left: 8px;
}

.nav-brand h2 {
    color: #16a34a;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.brand-link:hover .nav-brand h2 {
    color: #15803d;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #16a34a;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f0f9f0;
    color: #16a34a;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #4b5563;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 525px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.8) 0%, rgba(34, 197, 94, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-container {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: #9ca3af;
    font-size: 1.1rem;
    z-index: 10;
}

.search-input {
    width: 100%;
    border: none;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    outline: none;
    color: #1f2937;
    background: transparent;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-button {
    background: #16a34a;
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-button:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.3);
}

/* Filter Section */
.filters-section {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filters-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #16a34a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.filter-clear {
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-clear:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Courts Section */
.courts-section {
    padding: 4rem 0;
    background: #f0f9f0;
}

.city-section {
    margin-bottom: 2rem;
    text-align: center;
}

.city-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Content with Ads Wrapper */
.content-ads-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Courts Grid */
.courts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Ad Placements */
.ad-placement {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: 600px;
    width: 200px;
    flex-shrink: 0;
}

.ad-content {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-content:hover {
    background: #e9ecef;
    border-color: #16a34a;
}

.ad-header {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.ad-body {
    color: #495057;
    line-height: 1.5;
}

.ad-body p {
    margin: 10px 0;
}

.left-ad {
    order: 1;
}

.content-ads-wrapper .container {
    order: 2;
    flex: 1;
    max-width: 1200px;
}

.right-ad {
    order: 3;
}

/* Court Card */
.court-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
}

.court-card.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.card-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.court-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.court-card:hover .card-overlay {
    opacity: 1;
}

.card-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-btn:hover {
    color: #ef4444;
}

.share-btn:hover {
    color: #16a34a;
}

/* Card Content */
.card-content {
    padding: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin: 0;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    font-size: 0.9rem;
    color: #fbbf24;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-location i {
    color: #16a34a;
}

.card-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-phone i {
    color: #16a34a;
}

.card-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-from {
    font-size: 0.8rem;
    color: #6b7280;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.price-unit {
    font-size: 0.9rem;
    color: #6b7280;
}

.card-button {
    background: #16a34a;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 20px;
}

.load-more-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    margin: 2rem 0;
}

.load-more-btn {
    background: white;
    color: #16a34a;
    border: 2px solid #16a34a;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: #16a34a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9f0 0%, #e6f7e6 100%);
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.google-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.google-map:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.google-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px;
}

.interactive-map {
    position: relative;
    width: 100%;
    height: 400px;
}

.map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    max-height: 350px;
    transition: all 0.3s ease;
    z-index: 10;
}

.map-overlay.collapsed {
    max-width: 50px;
    max-height: 50px;
    overflow: hidden;
}

.map-courts-list {
    padding: 1rem;
}

.map-courts-list h4 {
    color: #16a34a;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.court-markers {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.court-marker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.court-marker:hover {
    background: #e6f7e6;
    transform: translateX(2px);
}

.court-marker .marker-icon {
    color: #16a34a;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.court-marker .marker-info {
    flex: 1;
}

.court-marker .marker-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.court-marker .marker-location {
    color: #6b7280;
    font-size: 0.75rem;
}

.court-marker .marker-rating {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.toggle-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #16a34a;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.toggle-overlay:hover {
    background: #15803d;
    transform: scale(1.05);
}

.map-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.map-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-feature i {
    font-size: 1.5rem;
    color: #16a34a;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.map-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.map-feature p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Court Directory Section */
.court-directory-section {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.court-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.directory-column {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.directory-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.directory-city {
    color: #16a34a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #16a34a;
}

.court-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.court-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.court-item:last-child {
    border-bottom: none;
}

.court-item:hover {
    background: rgba(22, 163, 74, 0.05);
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 6px;
}

.court-name {
    font-weight: 500;
    color: #1f2937;
    flex: 1;
}

.court-rating {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
}

.directory-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.directory-note {
    color: #6b7280;
    font-size: 0.95rem;
}

.directory-note a {
    color: #16a34a;
    text-decoration: none;
    font-weight: 500;
}

.directory-note a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #16a34a;
}

.faq-answer {
    color: #6b7280;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Card Animation Delays */
.court-card:nth-child(1) { animation-delay: 0.1s; }
.court-card:nth-child(2) { animation-delay: 0.2s; }
.court-card:nth-child(3) { animation-delay: 0.3s; }
.court-card:nth-child(4) { animation-delay: 0.4s; }
.court-card:nth-child(5) { animation-delay: 0.5s; }
.court-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1200px) {
    .courts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1400px) {
    .ad-placement {
        width: 180px;
    }
    
    .ad-content {
        min-height: 500px;
        padding: 15px;
    }

    .content-ads-wrapper {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .content-ads-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .ad-placement {
        position: static;
        max-height: none;
        width: 100%;
        max-width: 600px;
    }
    
    .ad-content {
        min-height: 200px;
        margin: 1rem 0;
    }
    
    .left-ad {
        order: 1;
    }
    
    .content-ads-wrapper .container {
        order: 2;
        width: 100%;
    }
    
    .courts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .right-ad {
        order: 3;
    }
    
    .load-more-grid-item {
        grid-column: 1 / -1;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .filters-container {
        justify-content: center;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-info {
        order: -1;
    }
    
    .map-features {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem;
    }
    
    .map-feature {
        min-width: 280px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .content-ads-wrapper {
        padding: 0 10px;
    }
    
    .brand-logo {
        height: 32px;
    }
    
    .brand-name-logo {
        height: 24px;
        margin-left: 6px;
    }
    
    .nav-brand h2 {
        font-size: 1.8rem;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        font-weight: 600;
    }
    
    /* Hide sticky filters on mobile - they become non-sticky and scroll normally */
    .filters-section {
        position: relative;
        top: auto;
        z-index: auto;
        padding: 1rem 0;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .map-feature {
        padding: 1rem;
    }
    
    .google-map iframe {
        height: 300px;
    }
    
    .interactive-map {
        height: 300px;
    }
    
    .map-overlay {
        position: static;
        max-width: 100%;
        max-height: none;
        margin-top: 1rem;
        border-radius: 12px;
    }
    
    .toggle-overlay {
        display: none;
    }
    
    .court-directory-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .directory-column {
        padding: 1rem;
    }
    
    .directory-city {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .search-container {
        flex-direction: column;
        padding: 1rem;
    }

    .search-input {
        padding: 1rem 1rem 1rem 3rem;
        margin-bottom: 0.5rem;
    }

    .search-button {
        padding: 1rem;
        justify-content: center;
    }

    .courts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .load-more-grid-item {
        grid-column: 1;
    }

    .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-group {
        width: 100%;
    }

    .filter-select {
        width: 100%;
        min-width: auto;
    }

    .filter-clear {
        margin-left: 0;
        width: 100%;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero {
        min-height: 450px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .card-content {
        padding: 1rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* About Page Styles */
.about-hero {
    padding: 120px 0 80px;
    background: #f0f9f0;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 500px;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

.about-description p {
    margin-bottom: 1.5rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-description strong {
    color: #16a34a;
    font-weight: 600;
}

.about-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    height: 400px;
}

.about-image-1, .about-image-2 {
    border-radius: 12px;
    overflow: hidden;
}

.about-image-1 {
    grid-row: 1 / 3;
}

.about-image-2 {
    margin-top: 2rem;
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: #f0f9f0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: #16a34a;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social .social-link {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social .social-link:hover {
    background: #16a34a;
    color: white;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.contact-value {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 600;
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-graphic {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #16a34a;
}

/* Area Pages Styles */
.area-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9f0 0%, #dcfce7 100%);
}

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

.area-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.area-description {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.area-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.area-stats .stat-item {
    text-align: center;
}

.area-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.area-stats .stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.area-info-section {
    padding: 80px 0;
    background: white;
}

.area-info-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.info-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
}

.info-description p {
    margin-bottom: 1.5rem;
}

.info-description p:last-child {
    margin-bottom: 0;
}

.info-image {
    border-radius: 12px;
    overflow: hidden;
}

.info-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Responsive Area Pages */
@media (max-width: 1024px) {
    .area-stats {
        gap: 2rem;
    }
    
    .area-info-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .area-title {
        font-size: 2.5rem;
    }
    
    .area-description {
        font-size: 1.1rem;
    }
    
    .area-stats {
        gap: 1.5rem;
    }
    
    .area-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .info-title {
        font-size: 2rem;
    }
}

/* Responsive About Page */
@media (max-width: 1024px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-images {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .about-image-1, .about-image-2 {
        height: 250px;
    }
    
    .about-image-2 {
        margin-top: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-graphic {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }
}

/* Initially hide court cards 13-16 */
.court-card:nth-child(n+13) {
    display: none;
}

.court-card.show-more {
    display: block;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth transitions */
* {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.1)" points="1000,100 1000,0 0,0 0,75"/></svg>') no-repeat center bottom;
    background-size: 100% 100px;
}

.blog-header-content {
    position: relative;
    z-index: 2;
}

.blog-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #a8e6cf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.blog-categories {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.category-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #2c5530;
    border-color: #2c5530;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.blog-posts {
    padding: 4rem 0;
    background: #f8fffe;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 85, 48, 0.1);
}

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

.blog-post.featured {
    grid-column: span 2;
}

.post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-post.featured .post-image {
    height: 300px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(44, 85, 48, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.post-meta i {
    margin-right: 0.5rem;
    color: #2c5530;
}

.post-title-link {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.post-title-link:hover {
    color: #2c5530;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
}

.author-role {
    font-size: 0.85rem;
    color: #666;
}

.blog-load-more {
    text-align: center;
    margin-top: 3rem;
}

.newsletter-signup {
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: white;
    color: #2c5530;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.5rem;
    }
    
    .blog-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-post.featured {
        grid-column: span 1;
    }
    
    .category-filters {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Individual Blog Post Styles */
.blog-post-article {
    margin-top: 80px;
}

.blog-post-header {
    background: linear-gradient(135deg, #f8fffe 0%, #dcfce7 100%);
    padding: 3rem 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2c5530;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

.post-category-badge {
    display: inline-block;
    background: #2c5530;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.post-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-meta {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.author-role {
    color: #666;
    font-size: 0.9rem;
}

.post-details {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.post-details i {
    margin-right: 0.5rem;
    color: #2c5530;
}

.blog-post-image {
    max-height: 400px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 4rem 0;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-main-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.post-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #374151;
    font-weight: 500;
}

.post-main-content h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.post-main-content h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.post-main-content h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.post-main-content p {
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1.5rem;
}

.post-main-content ul,
.post-main-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-main-content li {
    line-height: 1.6;
    color: #374151;
    margin-bottom: 0.5rem;
}

.mistake-box {
    background: #fef3f2;
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.mistake-box h4 {
    color: #ef4444;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mistake-box p {
    margin-bottom: 0;
    color: #7f1d1d;
}

.post-cta {
    background: linear-gradient(135deg, #2c5530 0%, #1a3a1e 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.post-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.post-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-button {
    background: white;
    color: #2c5530;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-posts,
.newsletter-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.related-posts h3,
.newsletter-sidebar h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.related-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.related-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.related-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.related-content h4 a:hover {
    color: #2c5530;
}

.related-date {
    color: #666;
    font-size: 0.8rem;
}

.newsletter-sidebar p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-sidebar .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-sidebar input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-sidebar button {
    background: #2c5530;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-sidebar button:hover {
    background: #1a3a1e;
}

/* Responsive Blog Post */
@media (max-width: 1024px) {
    .post-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-sidebar {
        order: -1;
    }
    
    .related-posts,
    .newsletter-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        align-items: start;
    }
    
    .related-posts h3,
    .newsletter-sidebar h3 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2.2rem;
    }
    
    .post-meta-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .post-main-content {
        padding: 1.5rem;
    }
    
    .post-main-content h2 {
        font-size: 1.6rem;
    }
    
    .related-posts,
    .newsletter-sidebar {
        grid-template-columns: 1fr;
    }
    
    .blog-post-image {
        max-height: 250px;
    }
}

/* Performance and Mobile Optimizations */

/* Lazy loading images - show placeholder while loading */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded {
    opacity: 1;
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Optimize touch targets */
    button, .card-button, .nav-link, .action-btn, .filter-select {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Optimize text rendering */
    body {
        text-rendering: optimizeSpeed;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Reduce blur effects on mobile */
    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }
    
    /* Optimize grid layouts for mobile */
    .courts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-image {
        aspect-ratio: 16/9;
        object-fit: cover;
        max-height: 200px;
    }
    
    /* Improve mobile navigation */
    .nav-menu.active {
        transform: translateX(0);
        will-change: transform;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print optimizations */
@media print {
    .navbar, .footer, .card-actions, .filter-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card-image {
        print-color-adjust: economy;
    }
}