/*
Theme Name: Avşa Adası Tatil Teması
Theme URI: https://www.avsaadasipansiyon.com.tr
Author: www.avsaadasipansiyon.com.tr
Author URI: https://www.avsaadasipansiyon.com.tr
Description: www.avsaadasipansiyon.com.tr Avşa Adası pansiyonlarını listeleyen güvenilir bir yerel internet sitesidir.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avsaadasi
Tags: avşa adası, pansiyon
*/

/* CSS Variables - Modern ve Temiz Tasarım */
:root {
    --primary-color: #0066CC;
    --secondary-color: #FF6600;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Poppins', 'Poppins Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --border-radius: 12px;
    --max-width: 1200px;
}

/* Font Display Optimization - CLS azaltma */
/* Fallback fontlara size-adjust ekleyerek Inter/Poppins metriklerini eşitle */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    size-adjust: 107%; /* Inter'in x-height'ını Arial ile eşitle */
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Poppins Fallback';
    src: local('Arial');
    size-adjust: 112%; /* Poppins'in x-height'ını Arial ile eşitle */
    ascent-override: 92%;
    descent-override: 28%;
    line-gap-override: 0%;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

/* Single Pansiyon Sayfası - Daha Estetik ve Küçük Başlıklar */
.single-pansiyon .entry-content h1,
.single-pansiyon .main-content h1 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--text-dark);
}

.single-pansiyon .entry-content h2,
.single-pansiyon .main-content h2,
.single-pansiyon .features-section h2,
.single-pansiyon .faq-section h2,
.single-pansiyon .reviews-section h2 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    color: var(--text-dark);
    border-left: 3px solid var(--primary-color);
    padding-left: 0.75rem;
    margin-bottom: 1.25rem;
}

.single-pansiyon .entry-content h3,
.single-pansiyon .main-content h3 {
    font-size: clamp(1rem, 1.75vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.45;
    color: var(--text-dark);
}

.single-pansiyon .entry-content h4,
.single-pansiyon .main-content h4 {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
    color: var(--text-dark);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.site-logo img {
    display: block;
    max-height: 50px;
    width: auto;
    height: auto;
}

.site-logo:hover {
    color: var(--secondary-color);
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-navigation a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.25rem;
    padding: 0.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section - Ana Sayfa */
.hero-section {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: var(--white);
    padding: 2.5rem 0 3.5rem;
    margin-bottom: 0;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Filter Section */
.filter-section {
    background: var(--white);
    padding: 1.75rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: -2rem auto 3rem;
    position: relative;
    z-index: 10;
}

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

.filter-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.filter-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.filter-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Listing Grid */
.listings-section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Listing Card */
.listing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.listing-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
}

.listing-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.1);
}

.listing-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.listing-phone {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    z-index: 2;
    transition: var(--transition);
}

.listing-phone:hover {
    transform: scale(1.1);
    background: #ff5500;
}

.listing-content {
    padding: 1.5rem;
}

.listing-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.meta-icon {
    color: var(--primary-color);
    font-size: 1rem;
}

.listing-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8125rem;
}

.listing-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #FFA500;
    font-size: 1rem;
}

.rating-score {
    font-weight: 600;
    color: var(--text-dark);
}

/* CTA Buttons */
.listing-cta-btn {
    display: block;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    text-decoration: none;
}

.listing-cta-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.sidebar-cta-btn {
    display: block;
    margin-top: 1.25rem;
    padding: 0.875rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.sidebar-cta-btn:hover {
    background: #e55500;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,102,0,0.3);
}

/* Single Page Styles */
.single-header {
    padding: 2rem 0;
    background: var(--bg-light);
}

.single-title {
    margin-bottom: 1rem;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.single-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #4CAF50;
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Gallery Slider */
.gallery-section {
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .gallery-section {
        margin: 1rem 0 0.5rem;
    }
    
    .gallery-section .container {
        padding: 0;
    }
    
    .gallery-slider {
        border-radius: 0;
    }
}

.gallery-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-main {
    position: relative;
    padding-top: 66.67%; /* Varsayılan 3:2 aspect ratio fallback */
    background: #f5f5f5; /* Beyazımsı arka plan */
    min-height: 300px;
}

@media (max-width: 768px) {
    .gallery-main {
        min-height: 250px;
        padding-top: 75%; /* 4:3 aspect ratio mobilde */
    }
}

.gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* cover yerine contain - tüm görsel görünsün */
    transition: opacity 0.2s ease;
    background: #fff; /* Beyaz arka plan */
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    user-select: none;
}

.gallery-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }

@media (max-width: 768px) {
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .gallery-nav.prev { left: 0.5rem; }
    .gallery-nav.next { right: 0.5rem; }
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .gallery-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.375rem;
        margin-top: 0.75rem;
        padding: 0 0.5rem;
    }
}

.thumb-item {
    position: relative;
    padding-top: 75%;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.6;
    transition: var(--transition);
    border: 3px solid transparent;
    user-select: none;
}

.thumb-item:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumb-item.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.thumb-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin: 2rem 0;
}

.main-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Entry content - WordPress editör içeriği */
.entry-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content br {
    display: block;
    content: "";
    margin-bottom: 0.5rem;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.info-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.info-box h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--bg-light);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
    min-width: 24px;
}

.info-label {
    color: var(--text-light);
    min-width: 100px;
}

.info-value {
    font-weight: 500;
    color: var(--text-dark);
}

/* Features Grid */
.features-section {
    margin: 2rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Reviews Section */
.reviews-section {
    margin: 3rem 0;
}

.review-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.review-rating {
    color: #FFA500;
    margin-bottom: 0.75rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Share Buttons */
.share-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.email { background: #EA4335; }

/* Fixed Phone Button */
.fixed-phone {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.fixed-phone:hover {
    background: #ff5500;
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    min-width: 32px;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section img {
    display: block;
    max-height: 60px;
    width: auto;
    height: auto;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.8);
}

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

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

.footer-contact li {
    margin-bottom: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.footer-contact .contact-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .listings-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .fixed-phone {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Listing Alt Açıklama Metni (TinyMCE İçeriği) */
.listing-bottom-description {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    grid-column: 1 / -1;
}

.listing-bottom-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

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

.listing-bottom-description h2,
.listing-bottom-description h3,
.listing-bottom-description h4 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.listing-bottom-description h2 {
    font-size: 1.25rem;
}

.listing-bottom-description h3 {
    font-size: 1.125rem;
}

.listing-bottom-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.listing-bottom-description a:hover {
    color: var(--secondary-color);
}

.listing-bottom-description ul,
.listing-bottom-description ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.listing-bottom-description li {
    margin-bottom: 0.375rem;
    line-height: 1.7;
}

/* Listing Bottom HTML */
.listing-bottom-html {
    margin: 2rem 0 0;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.listing-bottom-html iframe {
    max-width: 100%;
    border-radius: 8px;
}

.listing-bottom-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.listing-bottom-html th,
.listing-bottom-html td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.listing-bottom-html th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.listing-bottom-html tbody tr:hover {
    background: var(--bg-light);
}

@media (max-width: 768px) {
    .listing-bottom-html {
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }
    
    .listing-bottom-html table {
        font-size: 0.875rem;
    }
    
    .listing-bottom-html th,
    .listing-bottom-html td {
        padding: 0.5rem;
    }
}

/* ═══════════════════════════════════════════════════════
   Gelişmiş Filtreleme Barı
═══════════════════════════════════════════════════════ */
.advanced-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    gap: 0.75rem;
    flex: 1;
}

.filter-right {
    display: flex;
    gap: 0.625rem;
}

.filter-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-trigger:hover {
    background: var(--white);
    border-color: var(--primary-color);
}

.dropdown-icon {
    font-size: 1.125rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.dropdown-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 100;
    padding: 0.5rem 0;
}

.dropdown-item {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--text-dark);
    font-size: 0.9375rem;
    transition: background 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--bg-light);
}

.dropdown-item.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.sort-btn:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.sort-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .advanced-filter-bar {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .filter-left,
    .filter-right {
        flex: 1;
    }
    
    .filter-left {
        min-width: 0;
    }
    
    .filter-right {
        min-width: 0;
    }
    
    .sort-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .dropdown-trigger {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
}

/* ═══════════════════════════════════════════════════════
   Audience Cards Section — Çiftler / Aileler / Gruplar
═══════════════════════════════════════════════════════ */
.audience-cards-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.audience-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Kart — beyaz, hafif kenarlık, yuvarlak köşe */
.audience-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}

/* İkon + başlık satırı — açık renkli arka plan şerit */
.audience-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1.125rem;
    background: var(--card-bg, #fafafa);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* İkon — ince kenarlıklı kare kutu */
.audience-card-icon {
    font-size: 1.375rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 9px;
    flex-shrink: 0;
}

.audience-card-title {
    font-size: 1.1875rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

/* Kart gövdesi */
.audience-card-body {
    padding: 1.375rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.audience-card-why-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}

.audience-card-why-text {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0 0 1.25rem;
    flex: 1;
}

.audience-card-tags {
    margin-top: auto;
}

.audience-tags-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
}

.audience-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Etiket — pill şekli, ince kenarlık */
.audience-tag {
    display: inline-block;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.13);
    color: var(--text-dark);
    font-size: 0.8125rem;
    padding: 0.3rem 0.875rem;
    border-radius: 999px;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.audience-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .audience-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .audience-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .audience-cards-grid {
        grid-template-columns: 1fr;
    }
    .audience-card:last-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
}

/* ═══════════════════════════════════════════════════════
   Ana Sayfa FAQ Accordion — single pansiyon ile aynı stil
═══════════════════════════════════════════════════════ */
.home-faq-section {
    padding: 3rem 0 4rem;
    background: var(--white);
}

.home-faq-section .section-title {
    text-align: left;
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 700;
    border-left: 4px solid var(--primary-color);
    padding-left: 0.875rem;
    margin-bottom: 1.75rem;
}

.home-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Kart görünümü — tek kenarlı, yuvarlak köşe */
.home-faq-item {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-faq-item.is-open {
    box-shadow: 0 4px 18px rgba(0, 102, 204, 0.10);
    border-color: rgba(0, 102, 204, 0.22);
}

/* Soru butonu */
.home-faq-question {
    width: 100%;
    text-align: left;
    padding: 1.125rem 1.375rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-dark);
    font-family: var(--font-primary);
    transition: background 0.2s ease;
    line-height: 1.4;
}

.home-faq-question:hover {
    background: var(--bg-light);
}

.home-faq-q-text {
    flex: 1;
}

/* +/− toggle badge */
.home-faq-toggle {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    user-select: none;
}

.home-faq-item.is-open .home-faq-toggle {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f6ff;
}

/* Cevap alanı */
.home-faq-answer {
    padding: 0 1.375rem 1.25rem;
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.9375rem;
}

.home-faq-answer[hidden] {
    display: none;
}

.home-faq-answer p {
    margin: 0;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .filter-section,
    .share-section,
    .fixed-phone,
    .mobile-menu-toggle {
        display: none;
    }
}
