/*
Theme Name: MosqueLog
Description: A beautiful and modern WordPress theme for showcasing historic mosques and Islamic architecture around the world. Features AdSense-ready layout, SEO optimization, and responsive design.
Version: 1.0
Author: MosqueLog Team
Text Domain: mosquelog
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin-top: 0;
    padding-top: 80px; /* Fixed header için boşluk */
}

body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 0.5rem;
    color: #d4af37;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #d4af37;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('https://cdnuploads.aa.com.tr/uploads/Contents/2024/01/12/thumbs_b_c_f94f0d897b4a4e2c4c91fce03c8bdcc9.jpg?v=153230');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    color: #1e3c72;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Mosques Section */
.featured-section {
    padding: 5rem 0;
    background: white;
}

.mosque-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mosque-card {
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
}

.mosque-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mosque-image {
    height: 250px;
    background: linear-gradient(45deg, #ddd, #eee);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #999;
    overflow: hidden;
}

/* Enhanced image styling for both static and AJAX content */
.mosque-image img,
.mosque-card .mosque-image img,
#mosquesGrid .mosque-card .mosque-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border: none !important;
    outline: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
}

/* Ensure images in AJAX content render properly */
.mosque-image * {
    max-width: 100%;
    height: auto;
}

.mosque-image .wp-post-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

/* Icon fallback styling */
.mosque-image i.fas {
    font-size: 3rem;
    color: #999;
    z-index: 1;
    position: relative;
}

/* Force override for any conflicting styles */
.mosque-card .mosque-image > img[src] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
}

.mosque-content {
    padding: 1.5rem;
}

.mosque-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.mosque-location {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.mosque-location i {
    margin-right: 0.5rem;
}

.mosque-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more:hover {
    color: #d4af37;
}

.read-more i {
    margin-left: 0.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('https://cdnuploads.aa.com.tr/uploads/Contents/2024/01/12/thumbs_b_c_f94f0d897b4a4e2c4c91fce03c8bdcc9.jpg?v=153230');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Latest Articles Section - Removed */
/* .latest-articles-section styles removed as requested */

/* Mosques Page Styles */
.mosques-page {
    padding: 8rem 0 5rem 0;
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('https://cdnuploads.aa.com.tr/uploads/Contents/2024/01/12/thumbs_b_c_f94f0d897b4a4e2c4c91fce03c8bdcc9.jpg?v=153230');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
}

.page-header {
    text-align: center;
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}

.page-header h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.search-filter-section {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95), rgba(42, 82, 152, 0.95));
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-container {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 1rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-box:hover,
.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-box i {
    color: #1e3c72;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 0;
    font-size: 1rem;
    background: transparent;
    color: #333;
}

.search-box input::placeholder {
    color: #999;
    transition: color 0.2s ease;
}

.search-box input:focus::placeholder {
    color: #ccc;
}

.clear-search {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.clear-search:hover {
    background: #f5f5f5;
    color: #1e3c72;
}

.filter-options {
    display: flex;
    align-items: center;
}

.filter-options select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: #333;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-options select:hover,
.filter-options select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    outline: none;
}

.search-actions {
    display: flex;
    gap: 0.5rem;
}

.search-btn,
.reset-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.search-btn {
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    color: #1e3c72;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.reset-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Search Results Info */
.search-results-info {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
    grid-column: 1 / -1;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.2);
}

/* Enhanced No Results Message */
.no-results-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    background: linear-gradient(135deg, #f9f9f9, #f0f0f0);
    border-radius: 15px;
    margin: 2rem 0;
    grid-column: 1 / -1;
    border: 2px dashed #ddd;
}

.no-results-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
    display: block;
}

.no-results-message h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.5rem;
}

.no-results-message p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Enhanced Error Message */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #d32f2f;
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border-radius: 15px;
    border: 2px solid #ffaaa5;
    margin: 2rem 0;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Loading Spinner */
#mosque-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 15px;
}

.results-info {
    text-align: center;
    color: #666;
    font-weight: 500;
}

.results-info span {
    color: #1e3c72;
    font-weight: 600;
}

/* Enhanced Pagination */
.pagination-section {
    margin-top: 3rem;
    text-align: center;
}

.pagination-section .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-section button.page-numbers,
.pagination-section .page-numbers {
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.pagination-section button.page-numbers:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.pagination-section .page-numbers.current {
    background: #1e3c72;
    color: white;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.pagination-section .page-numbers.dots {
    display: none !important;
}

/* Hide all types of pagination dots from WordPress */
.pagination-section .dots,
.pagination-section span.dots,
.pagination-section .page-numbers:contains('…'),
.pagination-section .page-numbers:contains('...') {
    display: none !important;
}

/* Ensure WordPress pagination links are styled properly */
.pagination-section a,
.pagination-section span:not(.dots) {
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
}

.pagination-section a:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

.pagination-section .current {
    background: #1e3c72 !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.newsletter-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.newsletter-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.newsletter-form .form-group {
    display: flex;
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

.newsletter-form input[type="email"] {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.newsletter-form input[type="email"]:focus {
    border-color: #1e3c72;
}

.newsletter-form button {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    min-width: 150px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.3);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .newsletter-form .form-group {
        min-width: auto;
        width: 100%;
    }
    
    .newsletter-form input[type="email"] {
        max-width: 100%;
        margin: 0;
    }
    
    .newsletter-form button {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-content p {
        font-size: 1.1rem;
    }
}

/* Quotes Section */
.quotes-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quotes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0.3;
}

.quotes-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-item {
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.quotes-section blockquote {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.quotes-section blockquote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.quotes-section cite {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
    font-style: normal;
    display: block;
    margin-top: 1rem;
}

.quotes-section cite::before {
    content: '— ';
}

@media (max-width: 768px) {
    .quotes-section {
        padding: 3rem 0;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
    
    .quotes-section blockquote p {
        font-size: 1.4rem;
    }
    
    .quotes-section cite {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    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-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #d4af37;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #d4af37;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #d4af37;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

.footer-bottom a {
    color: #d4af37;
    text-decoration: none;
}

/* Islamic Patterns */
.islamic-pattern {
    position: relative;
    overflow: hidden;
}

/* Single Post Styles */
.article-hero {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)), url('https://cdnuploads.aa.com.tr/uploads/Contents/2024/01/12/thumbs_b_c_f94f0d897b4a4e2c4c91fce03c8bdcc9.jpg?v=153230');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.article-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.article-meta .location {
    display: flex;
    align-items: center;
    color: #d4af37;
}

.article-meta .location i {
    margin-right: 0.5rem;
}

.article-meta .date {
    display: flex;
    align-items: center;
    opacity: 0.9;
}

.article-meta .date i {
    margin-right: 0.5rem;
}

.breadcrumb {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb a {
    color: #1e3c72;
    text-decoration: none;
    margin-right: 0.5rem;
}

.breadcrumb a:hover {
    color: #d4af37;
}

.breadcrumb span {
    color: #666;
    margin: 0 0.5rem;
}

/* Article Layout */
.article-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

.article-content {
    background: white;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border-radius: 15px;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1e3c72;
    margin: 2rem 0 1rem 0;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1e3c72;
    margin: 1.5rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.sidebar {
    background: white;
    padding: 2rem;
    height: fit-content;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 120px;
}

.sidebar h3 {
    font-family: 'Playfair Display', serif;
    color: #1e3c72;
    margin-bottom: 1rem;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.5rem;
}

/* AdSense Styles */
.ad-space {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    color: #999;
    font-style: italic;
}

.adsense-container {
    margin: 2rem 0;
    text-align: center;
}

/* Widget Styles */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-family: 'Playfair Display', serif;
    color: #1e3c72;
    margin-bottom: 1rem;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 0.5rem;
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.widget a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s;
}

.widget a:hover {
    color: #d4af37;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-article {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mosques-content {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-header {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.article-header:first-child {
    margin-top: 0;
}

.article-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    margin: 0 auto;
    border-radius: 2px;
}

.article-text {
    margin-bottom: 2rem;
}

.article-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-indent: 2rem;
}

.quote-section {
    margin: 3rem 0;
    text-align: center;
}

.quote-section blockquote {
    background: linear-gradient(135deg, #4a90e2, #7bb3f0);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.quote-section blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.quote-section blockquote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    margin: 0;
    text-indent: 0;
}

.quote-section cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
}

.author-name {
    margin-top: 30px;
    text-align: center !important;
    font-size: 1.1rem;
    color: #2c3e50;
    display: block;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-article {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .article-header h2 {
        font-size: 1.8rem;
    }

    .article-text p {
        font-size: 1rem;
        text-indent: 1rem;
    }

    .quote-section blockquote {
        padding: 1.5rem;
    }

    .quote-section blockquote p {
        font-size: 1.1rem;
    }

    .article-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .article-content {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .sidebar {
        order: -1;
        position: static;
        padding: 1.5rem 1rem;
    }

    .article-content p {
        line-height: 1.5;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(30, 60, 114, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        text-align: center;
        transition: background 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.1);
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active i {
        transform: rotate(90deg);
        transition: transform 0.3s ease;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .mosque-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        width: 200px;
        justify-content: center;
    }

    .desktop-only {
        display: none !important;
    }
    
    /* Mosques Page Mobile Styles */
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Mobil için container ve search section optimizasyonu */
    .mosques-page .container {
        padding: 0 1rem;
    }
    
    .search-filter-section {
        margin: 0 -1rem 2rem -1rem;
        padding: 1.5rem 1rem;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .mosques-content {
        padding: 0;
        overflow: hidden;
    }
    
    /* Enhanced Search Responsive */
    .search-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .search-box {
        min-width: auto;
        width: 100%;
        margin-bottom: 0;
    }
    
    .search-box input {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
    
    .filter-options {
        display: block;
        width: 100%;
    }
    
    .filter-options select {
        min-width: auto;
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .search-actions {
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .search-btn,
    .reset-btn {
        flex: 1;
        min-width: 120px;
        max-width: 180px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .search-filter-section {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .pagination-section .page-numbers {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .pagination-section button.page-numbers,
    .pagination-section .page-numbers {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        margin: 0 0.1rem;
    }
}

/* WordPress specific styles */
.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

/* Highlight Box */
.highlight-box {
    background: #f8f9fa;
    border-left: 4px solid #d4af37;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.highlight-box h4 {
    font-family: 'Playfair Display', serif;
    color: #1e3c72;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.highlight-box h4 i {
    color: #d4af37;
    font-size: 1.4rem;
}

.highlight-box p {
    margin-bottom: 0;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

/* Share Section */
.share-section {
    background: #f8f9fa;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    border-radius: 8px;
}

.share-section h3 {
    font-family: 'Playfair Display', serif;
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn i {
    font-size: 1.1rem;
}

/* Related Articles */
.related-articles {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.related-articles li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-articles a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.3rem;
}

.related-articles a:hover {
    color: #d4af37;
}

.related-articles small {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Comments */
.comments-area {
    background: white;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.comment-meta {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.comment-content p {
    margin-bottom: 1rem;
}

.comment-form {
    margin-top: 2rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.comment-form button {
    background: #1e3c72;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form button:hover {
    background: #2a5298;
}

/* Additional Small Screen Responsive Styles */
@media (max-width: 480px) {
    .search-filter-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .search-container {
        gap: 0.75rem;
        margin: 0;
        padding: 0;
    }
    
    .search-box {
        padding: 0 0.75rem;
    }
    
    .search-box input {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
    
    .search-box i {
        font-size: 1rem;
    }
    
    .filter-options select {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
    }
    
    .search-actions {
        gap: 0.5rem;
        margin-top: 0.25rem;
    }
    
    .search-btn,
    .reset-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
        min-width: 100px;
        max-width: 140px;
    }
    
    .mosque-card {
        margin-bottom: 1.5rem;
    }
    
    .search-results-info {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .no-results-message,
    .error-message {
        padding: 2rem 1rem;
    }
    
    .no-results-message h3 {
        font-size: 1.2rem;
    }
    
    .no-results-message p {
        font-size: 1rem;
    }
    
    /* Container için ekstra margin/padding düzenlemesi */
    .container {
        padding: 0 0.75rem;
    }
    
    .mosques-content {
        padding: 0;
    }
    
    /* Çok küçük ekranlar için search section */
    .mosques-page .container {
        padding: 0 0.5rem;
    }
    
    .search-filter-section {
        margin: 0 -0.5rem 1.5rem -0.5rem;
        padding: 1rem 0.75rem;
        border-radius: 8px;
    }
}