/*
Theme Name: Airlinel Theme
Author: Gemini & User
Description: Airlinel için özel olarak hazırlanmış, lüks transfer hizmetleri teması.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: airlinel-theme
*/

/* =========================================
   1. Temel Değişkenler (:root)
   ========================================= */
:root { 
    --accent-color: #DD808E; 
    --accent2-color: #D56A76; 
    --accent3-color: #E28692; 
    --accent4-color: #EF9DA5; 
    --primary-color: #CC4452; 
    --dark-text-color: #232323; 
    --gray-text-color: #A0A0A0; 
    --button-padding-x: 16px; 
    --button-padding-y: 12px; 
    --font-family-body: 'Noto Sans', sans-serif; 
    --light-text-color: #F9F9F9; 
    --dark-border-color: #4A4A4A; 
    --light-border-color: #DFDFDF; 
    --font-family-heading: 'Barlow', sans-serif; 
    --button-rounded-radius: 24px; 
    --dark-background-color: #343434; 
    --light-background-color: #FEEFEF; 
    --medium-background-color: #FAC9C9; 
    --primary-button-text-color: #FFFFFF; 
    --secondary-button-bg-color: #464646; 
    --secondary-button-text-color: #FFFFFF; 
    --primary-button-hover-bg-color: #D55660; 
    --primary-button-hover-text-color: #FFFFFF; 
    --secondary-button-hover-bg-color: #575757; 
    --secondary-button-hover-text-color: #FFFFFF; 
}

/* =========================================
   2. Editör / Arayüz Yardımcı Sınıfları
   ========================================= */
.hovered-element {
    outline: #3871E0 dashed 2px;
}

.clicked-element {
    outline: #3871E0 solid 2px;
}

.clicked-code-section {
    border: #3B82F6 solid 2px;
}

/* =========================================
   3. Hero Bölümü Animasyonları
   ========================================= */
@keyframes gradient {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.animate-gradient {
    animation: gradient 15s ease-in-out infinite;
}

/* =========================================
   4. CTA (Call to Action) Bölümü Animasyonları
   ========================================= */
@keyframes slowZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* WordPress Admin Bar Düzenlemesi (Giriş yapıldığında navbar'ın altında kalmaması için) */
body.admin-bar header#global-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar header#global-header {
        top: 46px;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Tarih ve Saat inputlarını diğerleriyle aynı boyuta getir */
input[type="date"],
input[type="time"] {
    position: relative;
    -webkit-appearance: none; /* Safari varsayılanını kaldırır */
    appearance: none;
    min-height: 58px; /* Diğer inputların yüksekliğiyle eşitle */
    background-color: #ffffff !important; /* Arkaplanı beyaz yap (Görseldeki gibi) */
    border: 1px solid #e5e7eb !important; /* Kenarlık rengi */
    border-radius: 1rem !important; /* Köşeleri yuvarlat */
    padding: 10px 15px !important;
    font-family: inherit;
    font-size: 1rem;
    color: #374151;
    display: flex;
    align-items: center;
}

/* Sağdaki takvim/saat ikonunu daha temiz göster veya gizle */
input::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* Mobil için özel düzeltme: İçerik ortalama */
@media (max-width: 768px) {
    input[type="date"],
    input[type="time"] {
        width: 100% !important;
        margin-bottom: 10px;
    }
}
/* =========================================
   AIRLINEL FORM ÇEKİRDEK STİLLERİ
   ========================================= */

/* 1. Yapısal Yerleşim ve CF7 Temizliği */
.wpcf7-form p, .wpcf7-form br { display: contents !important; }
.wpcf7-form-control-wrap { display: block !important; width: 100% !important; clear: both; }

.air-form-container { display: flex; flex-direction: column; gap: 1.5rem; }
.air-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.air-full-row { display: block !important; width: 100% !important; clear: both !important; margin-bottom: 1.5rem; }

.section-title {
    display: block;
    font-family: var(--font-family-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--dark-text-color);
}

/* 2. Standart Inputlar */
.wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]) {
    width: 100% !important;
    /*height: 58px !important;*/
    background-color: #ffffff !important;
    border: 1px solid var(--light-border-color) !important;
    border-radius: 1rem !important;
    padding: 10px 15px !important;
    box-sizing: border-box;
}

/* 3. Checkbox Kart ve Grid (Kayma Engelleyici) */
.air-checkbox-card {
    display: flow-root !important; /* İçerik yüksekliğini tam hesaplar, taşmayı önler */
    background: var(--light-background-color) !important;
    border: 1px solid var(--light-border-color) !important;
    padding: 20px !important;
    border-radius: 1rem !important;
    clear: both;
}

.wpcf7-checkbox {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
}

/* 4. Özel Checkbox Görünümü */
.wpcf7-list-item { display: flex !important; margin: 0 !important; align-items: center; }
.wpcf7-list-item input[type="checkbox"] { display: none !important; }

.wpcf7-list-item-label {
    position: relative !important;
    padding-left: 32px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
}

.wpcf7-list-item-label::before {
    content: '' !important;
    position: absolute !important;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    border: 2px solid #D1D5DB;
    background: #fff;
    border-radius: 5px;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.wpcf7-list-item-label::after {
    content: '' !important;
    position: absolute !important;
    left: 7px; top: 50%;
    transform: translateY(-65%) rotate(45deg);
    width: 5px; height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label::after { opacity: 1; }

/* 5. Buton */
.air-submit-area { display: block; width: 100%; margin-top: 1rem; clear: both; }
.wpcf7-submit {
    width: 100% !important;
    height: 60px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    cursor: pointer;
    border: none !important;
}

/* 6. Mobil Uyumluluk */
@media (max-width: 768px) {
    .air-row { grid-template-columns: 1fr; }
    .wpcf7-checkbox { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 480px) {
    .wpcf7-checkbox { grid-template-columns: 1fr !important; }
}

/* =========================================
   AIRLINEL MAKALE İÇERİK STİLLERİ
   ========================================= */

/* Sadece .prose sınıfı içindeki elemanları hedef alır */
.prose.prose-lg {
    color: var(--dark-text-color) !important;
    max-width: none !important;
}

/* Ana Başlık (H1) */
.prose.prose-lg h1.wp-block-heading {
    font-family: var(--font-family-heading) !important;
    font-weight: 800 !important;
    color: var(--dark-text-color) !important;
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

/* Alt Başlıklar (H2, H3) */
.prose.prose-lg h2.wp-block-heading {
    font-family: var(--font-family-heading) !important;
    font-weight: 700 !important;
    color: var(--dark-text-color) !important;
    font-size: 1.85rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color); /* Kurumsal kırmızı vurgu */
}

.prose.prose-lg h3.wp-block-heading {
    font-family: var(--font-family-heading) !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important; /* H3'leri marka rengi yapar */
    font-size: 1.4rem !important;
    margin-top: 1.8rem !important;
}

/* Paragraflar ve Kalın Yazılar */
.prose.prose-lg p {
    font-family: var(--font-family-body) !important;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1.2rem !important;
    color: #4a4a4a !important;
}

.prose.prose-lg strong, 
.prose.prose-lg b {
    font-weight: 700 !important;
    color: var(--dark-text-color) !important;
}

/* Linkler */
.prose.prose-lg a {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.prose.prose-lg a:hover {
    border-bottom: 1px solid var(--primary-color);
}

/* Listeler (UL ve OL) */
.prose.prose-lg ul.wp-block-list, 
.prose.prose-lg ol.wp-block-list {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    padding-left: 1.2rem !important;
}

/* Madde İşaretli Listeler (Check İkonu Ekler) */
.prose.prose-lg ul.wp-block-list li {
    position: relative !important;
    list-style: none !important;
    margin-bottom: 0.8rem !important;
    padding-left: 28px !important;
}

.prose.prose-lg ul.wp-block-list li::before {
    content: "\f058" !important; /* FontAwesome Check Circle */
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--primary-color) !important;
    font-size: 18px !important;
}

/* Numaralı Listeler (Sayıları Renklendirir) */
.prose.prose-lg ol.wp-block-list {
    counter-reset: my-counter;
    list-style: none !important;
}

.prose.prose-lg ol.wp-block-list li {
    counter-increment: my-counter;
    position: relative !important;
    margin-bottom: 1rem !important;
    padding-left: 35px !important;
}

.prose.prose-lg ol.wp-block-list li::before {
    content: counter(my-counter) "." !important;
    position: absolute !important;
    left: 0 !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    font-family: var(--font-family-heading) !important;
}

/* Sitenin geri kalanına sıçramayı önlemek için son dokunuş */
.prose.prose-lg *:last-child {
    margin-bottom: 0 !important;
}

/* =========================================
   PROSE (MAKALE) İÇERİK ÖZELLEŞTİRME
   ========================================= */

/* Kapsayıcı: Diğer öğeleri etkilememesi için .prose ile sınırlandırıldı */
.prose.prose-lg {
    max-width: 900px !important; /* Okunabilirlik için ideal satır genişliği */
    margin-left: auto;
    margin-right: auto;
    color: #374151 !important;
}

/* Ana Başlık (H1) */
.prose.prose-lg h1 {
    font-family: var(--font-family-heading) !important;
    font-weight: 800 !important;
    font-size: 2.8rem !important;
    color: var(--dark-text-color) !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    border-bottom: 2px solid var(--light-border-color);
    padding-bottom: 1rem;
}

/* Alt Başlıklar (H2) */
.prose.prose-lg h2 {
    font-family: var(--font-family-heading) !important;
    font-weight: 700 !important;
    color: var(--dark-text-color) !important;
    font-size: 1.8rem !important;
    margin-top: 3rem !important;
    margin-bottom: 1.2rem !important;
    display: flex;
    align-items: center;
}

/* H2 Başlıklarına Marka Renginde Çizgi Ekler */
.prose.prose-lg h2::before {
    content: "";
    width: 6px;
    height: 1.8rem;
    background-color: var(--primary-color);
    margin-right: 15px;
    display: inline-block;
    border-radius: 2px;
}

/* Küçük Başlıklar (H3) */
.prose.prose-lg h3 {
    font-family: var(--font-family-heading) !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    font-size: 1.4rem !important;
    margin-top: 2rem !important;
}

/* Paragraf ve Metin Düzeni */
.prose.prose-lg p {
    font-family: var(--font-family-body) !important;
    line-height: 1.85 !important;
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
}

/* Önemli Terimler (Bold) */
.prose.prose-lg b, 
.prose.prose-lg strong {
    color: #111 !important;
    font-weight: 700 !important;
}

/* Linkler (Kurumsal Kırmızı) */
.prose.prose-lg a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.prose.prose-lg a:hover {
    border-bottom-color: var(--primary-color);
    opacity: 0.8;
}

/* Liste Tasarımı (Antalya Transfer Seçenekleri vb.) */
.prose.prose-lg ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.5rem 0 !important;
}

.prose.prose-lg ul li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 12px !important;
    line-height: 1.6 !important;
}

/* Liste Başına İkon (FontAwesome kullanıyorsanız) */
.prose.prose-lg ul li::before {
    content: "\f138"; /* Ok İkonu */
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--primary-color) !important;
    font-size: 16px !important;
}

/* Sayfa Sonu Boşluğu */
.prose.prose-lg.mb-20 {
    margin-bottom: 5rem !important;
}

/* =========================================
   AIRLINEL YOAST FAQ (SSS) TASARIMI
   ========================================= */

/* Ana Konteyner */
.schema-faq.wp-block-yoast-faq-block {
    max-width: 900px;
    margin: 2rem auto;
    font-family: var(--font-family-body);
}

/* Her Bir Soru-Cevap Bölümü */
.schema-faq-section {
    background: #ffffff;
    border: 1px solid var(--light-border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Mouse ile üzerine gelindiğinde hafif vurgu */
.schema-faq-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(204, 68, 82, 0.1);
    transform: translateY(-2px);
}

/* Soru Başlığı (Strong Etiketi) */
.schema-faq-question {
    display: block;
    font-family: var(--font-family-heading);
    font-size: 1.25rem;
    color: var(--dark-text-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    padding-left: 35px;
    position: relative;
    cursor: default;
}

/* Sorunun yanına ikon ekleme (Soru işareti veya ok) */
.schema-faq-question::before {
    content: "\f059"; /* FontAwesome Question Circle */
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", sans-serif;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Cevap Alanı */
.schema-faq-answer {
    margin: 0 !important;
    padding-left: 35px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    border-left: 2px solid var(--light-border-color);
    margin-top: 10px !important;
}

/* Cevap içindeki satır sonlarını (br) daha düzenli hale getir */
.schema-faq-answer br {
    content: "";
    display: block;
    margin-bottom: 8px;
}

/* Cevap içinde kalın yazı varsa (Örn: Standard/Luxury ayrımı) */
.schema-faq-answer strong {
    color: var(--dark-text-color);
    display: block;
    margin-top: 10px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .schema-faq-question {
        font-size: 1.1rem;
    }
    .schema-faq-section {
        padding: 1rem;
    }
}

/* =========================================
   AIRLINEL DETAILS & SUMMARY FAQ TASARIMI
   ========================================= */

/* Section Genel Ayarları */
.faq-section {
    background-color: #ffffff;
    font-family: var(--font-family-body);
}

.faq-section h1 {
    font-family: var(--font-family-heading);
    color: var(--dark-text-color);
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
}

/* Details Kapsayıcı Kartı */
.faq-section details {
    background: #f9f9f9;
    border: 1px solid var(--light-border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 0;
    transition: all 0.3s ease-in-out;
    overflow: hidden; /* Taşmaları önler */
}

/* Açık olan (open) kutunun stili */
.faq-section details[open] {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Summary (Soru Kısmı) */
.faq-section summary {
    list-style: none; /* Varsayılan oku kaldırır */
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark-text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    transition: color 0.3s ease;
}

/* Varsayılan oku Safari için de kaldır */
.faq-section summary::-webkit-details-marker {
    display: none;
}

/* Soruya gelince renk değişimi */
.faq-section summary:hover {
    color: var(--primary-color);
}

/* Sağ tarafa + İkonu ekleme */
.faq-section summary::after {
    content: "\f067"; /* FontAwesome Plus (+) */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* Açıldığında ikonu - (Eksi) yap ve döndür */
.faq-section details[open] summary::after {
    content: "\f068"; /* FontAwesome Minus (-) */
    transform: rotate(180deg);
}

/* Cevap Alanı (P Etiketi) */
.faq-section details p {
    padding: 0 25px 25px 25px;
    margin: 0;
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    animation: slideDown 0.4s ease-out; /* Açılış efekti */
}

/* Cevap İçindeki Kalın Yazılar */
.faq-section details p strong {
    color: var(--dark-text-color);
}

/* Yumuşak Açılma Animasyonu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil Düzenlemeler */
@media (max-width: 768px) {
    .faq-section h1 {
        font-size: 1.8rem;
    }
    .faq-section summary {
        font-size: 1.05rem;
        padding: 15px 20px;
    }
}
/* =========================================
   AIRLINEL FOTOĞRAF GALERİSİ TASARIMI
   ========================================= */

/* Galeri Ana Konteyner */
.wp-block-gallery, 
.blocks-gallery-grid, 
.gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin: 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Her Bir Galeri Ögesi */
.wp-block-image, 
.gallery-item, 
.blocks-gallery-item {
    margin: 0 !important;
    overflow: hidden;
    border-radius: 15px; /* Köşeleri yumuşat */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    background-color: #000; /* Zoom sırasında arkada boşluk kalmaması için */
}

/* Görselin Kendisi */
.wp-block-image img, 
.gallery-item img, 
.blocks-gallery-item img {
    width: 100% !important;
    height: 300px !important; /* Standart yükseklik */
    object-fit: cover !important; /* Fotoğrafları kesmeden doldur */
    display: block;
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

/* Hover Efekti: Üzerine gelince görsel canlansın */
.wp-block-image:hover, 
.gallery-item:hover, 
.blocks-gallery-item:hover {
    transform: translateY(-8px); /* Hafif yukarı kalkma */
    box-shadow: 0 12px 25px rgba(204, 68, 82, 0.2); /* Marka renginde hafif gölge */
}

.wp-block-image:hover img, 
.gallery-item:hover img, 
.blocks-gallery-item:hover img {
    transform: scale(1.1); /* Hafif zoom */
    filter: brightness(1.1); /* Renkleri canlandır */
}

/* Görsel Altyazıları (Caption) */
.wp-block-image figcaption, 
.gallery-item .wp-caption-text, 
.blocks-gallery-item__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff !important;
    padding: 20px 15px 10px !important;
    font-size: 0.9rem !important;
    font-family: var(--font-family-body);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.wp-block-image:hover figcaption, 
.gallery-item:hover .wp-caption-text, 
.blocks-gallery-item:hover figcaption {
    opacity: 1;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .wp-block-gallery, 
    .blocks-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)) !important;
        gap: 15px !important;
    }

    .wp-block-image img, 
    .gallery-item img {
        height: 250px !important;
    }
}