/* Aytekin Klima - Profesyonel Kurumsal CSS */
:root {
    --primary-color: #1A374D; /* Koyu Lacivert - Kurumsal */
    --secondary-color: #406882; /* Canlı Mavi */
    --accent-color: #F39189; /* Sıcak Mercan - Sadece aksiyon butonları */
    --accent-orange: #f38a6a; /* Vitrin CTA butonları - ana turuncu (Detaylar / Bizimle Tanışın) */
    --accent-orange-hover: #e06b50; /* Turuncu hover - bir ton koyu */
    --light-bg: #F8F9FA;
    --dark-text: #2C3E50;
    --light-text: #6C757D;
    --white-text: #FFFFFF; /* Footer linkleri için */
}

/* Genel Ayarlar */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400; /* Regular gövde metinleri */
    scroll-behavior: smooth;
    padding-top: 0;
    background-color: var(--light-bg);
    color: var(--dark-text);
}

/* Başlıkları Semi-Bold yap */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600; /* Semi-Bold */
}

.display-5 {
    color: var(--primary-color);
    font-weight: 600; /* Semi-Bold */
}

/* Navbar - kurumsal, sade ve modern görünüm */
.navbar {
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 20px rgba(26, 55, 77, 0.15);
    z-index: 1040;
}

.navbar.scrolled {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 4px 30px rgba(26, 55, 77, 0.25);
    backdrop-filter: blur(25px);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600; /* Semi-Bold */
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--accent-color) !important;
}

/* Menü elemanlarını logoyla dikey ortalama */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-family: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    margin: 0 0.3rem;
    border-radius: 0;
    transition: color 0.25s ease;
    text-decoration: none !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background: transparent;
}

/* Scroll / route ile .active kalırsa yalnızca renk (alt çizgi yok) */
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    background: transparent;
}

/* Hemen Ara Butonu - Sadece aksiyon butonları için mercan renk */
.navbar .btn-warning {
    background: linear-gradient(135deg, var(--accent-color) 0%, #E67E60 100%) !important;
    border: none;
    border-radius: 25px;
    font-weight: 600; /* Semi-Bold */
    padding: 0.6rem 1.8rem;
    box-shadow: 0 4px 15px rgba(243, 145, 137, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: white !important;
}

/* Navbar içi hizalama: logo solda, menü ortada, aksiyon butonu sağda */
.main-navbar {
    z-index: 1040;
}

.navbar-call {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navbar-call .btn {
    white-space: nowrap;
}

.navbar .btn-warning:hover {
    background: linear-gradient(135deg, #E67E60 0%, #D35400 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(243, 145, 137, 0.4);
    color: white !important;
}

.navbar .btn-warning:active {
    transform: translateY(-1px);
}

/* Modern Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 50%, #F8F9FA 100%);
    position: relative;
    overflow: hidden;
    padding: 44px 0 60px 0;
}

/* Çok açık mavi-gri gradyan arka plan */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 104, 130, 0.02) 0%, rgba(26, 55, 77, 0.03) 100%);
    z-index: 1;
}

/* Geometrik desen arka plan */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(26, 55, 77, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(243, 145, 137, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(64, 104, 130, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 2rem; /* Daha düzenli dikey hiyerarşi */
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem; /* Eşit margin */
    animation: fadeInUp 1s ease;
}

/* Butonlar ve hover animasyonları */
.hero-buttons {
    animation: fadeInUp 1.2s ease;
    margin-bottom: 2rem; /* Düzenli spacing */
}

.hero-buttons .btn {
    transform: translateY(0);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: white;
}

/* Turuncu buton hover - vitrin standart turuncu ile uyumlu */
.hero-buttons .btn:first-child:hover {
    background: linear-gradient(135deg, var(--accent-orange-hover) 0%, #d35400 100%) !important;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 35px rgba(243, 138, 106, 0.4);
}

/* Beyaz buton hover efektini güncelle */
.hero-buttons .btn:last-child:hover {
    background: #1A374D !important;
    color: white !important;
    border-color: #1A374D !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 55, 77, 0.3);
}

/* Özellikler - Rozet iyileştirmeleri */
.hero-features {
    animation: fadeInUp 1.4s ease;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rozet arasındaki boşluğu artır ve ikonları turuncu yap */
.hero-features .d-flex {
    padding: 8px 0; /* Aralık artırıldı */
}

.hero-features .d-flex .feature-icon i {
    color: #F39189 !important; /* Turuncu ikonlar */
    font-size: 1.3rem; /* Biraz daha büyük */
}

.hero-features .d-flex span {
    font-size: 1.05rem; /* Daha okunaklı */
    margin-left: 12px; /* Aralık artırıldı */
}

/* Görsel - Glassmorphism efekti */
.hero-image {
    animation: fadeInRight 1s ease;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 20px; /* Köşe yuvarlaklığı azaltıldı */
    box-shadow: 
        0 20px 40px rgba(26, 55, 77, 0.15), /* Çok hafif yayılma gölgesi */
        0 8px 16px rgba(26, 55, 77, 0.1); /* Ana gölge */
}

.image-wrapper:hover img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 55, 77, 0.05) 0%, rgba(243, 145, 137, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 52px 0 80px 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .image-wrapper img {
        max-height: 400px;
    }
}

/* Hero mobil düzen - görsel üstte, metin altta ve boşluk optimize */
@media (max-width: 767.98px) {
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        min-height: auto;
    }

    .hero-visual {
        order: 1;
        text-align: center;
    }

    .hero-content {
        order: 2;
        padding: 0 1.25rem;
        text-align: center;
        margin-bottom: 1.25rem;
    }

    .hero-image,
    .hero-carousel-image {
        width: 100%;
        max-height: 250px;
        height: auto !important;
        object-fit: cover;
    }

    .hero-carousel-item {
        height: auto !important;
    }

    .hero-section {
        padding-bottom: 0.5rem;
    }

    #hizmetlerimiz {
        padding-top: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 44px 0 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .image-wrapper img {
        max-height: 300px;
    }
}

/* Section Spacing - %40 azaltma */
section {
    padding: 60px 0; /* 80px'dan 60px'a düşürüldü */
}

section.bg-light {
    background-color: var(--light-bg) !important;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
}

/* Service Cards - Geliştirilmiş */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 20px rgba(26, 55, 77, 0.1);
}

.service-card:hover {
    transform: translateY(-8px); /* -10px'dan -8px'e */
    box-shadow: 0 12px 35px rgba(26, 55, 77, 0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 55, 77, 0.2);
}

.service-card:hover .service-icon {
    transform: scale(1.08); /* 1.1'den 1.08'e */
    box-shadow: 0 8px 25px rgba(26, 55, 77, 0.3);
}

.service-icon i {
    color: white;
    font-size: 2rem;
}

/* Blog Section - Premium */
.blog-section-title {
    color: #1A374D !important;
    font-weight: 700;
}

.blog-section-lead {
    color: #6c757d !important;
    font-weight: 400;
}

/* Blog Cards - Premium (rounded-4, hafif gölge, hover zoom) */
.blog-card-modern {
    border: none;
    border-radius: 1rem; /* rounded-4 */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card-modern:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f1f3f5;
}

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

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

/* Footer başlık ve liste aralıkları */
footer h5.fw-bold {
    margin-bottom: 1.25rem;
}

footer ul.list-unstyled li {
    line-height: 1.7;
}

/* Footer sosyal ikonlar */
.footer-brand .social-links a {
    font-size: 1.4rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-brand .social-links a:hover {
    color: #F39189 !important;
    transform: translateY(-2px);
}

/* Footer admin link */
.footer-admin-link i {
    font-size: 0.9rem;
}

.footer-admin-link:hover {
    color: #F39189 !important;
}

.blog-card-image-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #adb5bd;
}

.blog-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    color: #1A374D !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.blog-card-excerpt {
    color: #6c757d !important;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-row {
    --blog-card-gap: 0.75rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Sol alt: takvim ikonu + tarih (Hakkımızda kartları dilinde) */
.blog-card-date-block {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #868e96;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card-date-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A374D, #406882);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.blog-card-date {
    color: #868e96 !important;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card-read-more {
    color: #1A374D;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card-read-more::before {
    content: '';
    width: 24px;
    height: 1px;
    background: currentColor;
    margin-right: 0.25rem;
    opacity: 0.5;
}

.blog-card-modern:hover .blog-card-read-more {
    color: var(--accent-color);
    gap: 0.5rem;
}

/* Blog Detay Sayfası */
.blog-detail {
    padding-bottom: 4rem;
}

.blog-detail-header {
    position: relative;
    margin-bottom: 2rem;
}

.blog-detail-cover-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    height: 320px;
    overflow: hidden;
    background: #e9ecef;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #adb5bd;
}

@media (min-width: 992px) {
    .blog-detail-cover-wrap {
        height: auto;
        max-height: 500px;
    }

    .blog-detail-cover {
        height: 100%;
        max-height: 500px;
        object-fit: cover;
        object-position: center;
    }
}

.blog-detail-heading {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.blog-detail-title {
    background: #fff;
    color: #1A374D !important;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    padding: 1.5rem 1.5rem 0.75rem;
    margin: 0;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    line-height: 1.3;
}

.blog-detail-meta {
    background: #fff;
    padding: 0 1.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-radius: 0 0 1rem 1rem;
}

.blog-detail-date-block {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #868e96;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-detail-date-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A374D, #406882);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.blog-detail-container {
    max-width: 720px;
    margin: 0 auto;
}

.blog-detail-content {
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-detail-content h1 {
    margin-bottom: 20px;
}

.blog-detail-content p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-detail-content h2,
.blog-detail-content h3 {
    color: #1A374D;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.blog-detail-cta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-detail-cta-link {
    color: #1A374D;
    font-weight: 600;
    text-decoration: none;
}

.blog-detail-cta-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.blog-detail-back {
    color: #1A374D;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.blog-detail-back:hover {
    color: var(--accent-color);
}

.blog-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-detail-home {
    color: #1A374D;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.blog-detail-home:hover {
    color: var(--accent-color);
}

.blog-detail-divider {
    width: 1px;
    height: 22px;
    background: rgba(26, 55, 77, 0.2);
}

/* Eski blog-card sınıfı (geri uyumluluk) */
.blog-card {
    transition: transform 0.3s ease;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.blog-card .card-title {
    color: #1A374D !important;
    font-weight: 600;
}

/* ========== Hakkımızda Bölümü - Responsive ========== */
.hakkimizda-section .main-title {
    color: #1A374D !important;
    font-weight: 800;
    line-height: 1.2;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.hakkimizda-section .about-lead {
    color: #6c757d !important;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-section-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-cta-btn {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e60 100%) !important;
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.about-cta-btn:hover {
    background: linear-gradient(135deg, var(--accent-orange-hover) 0%, #d35400 100%) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(243, 138, 106, 0.4);
}

@media (max-width: 767px) {
    .hakkimizda-row {
        gap: 0;
    }

    /* Mobilde görsel üstte (order-1), metin altta (order-2) – Bootstrap sınıfları ile uyumlu */
    .hakkimizda-col-image {
        order: 1;
    }

    .hakkimizda-col-text {
        order: 2;
    }

    .hakkimizda-section .about-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding: 0 1rem !important;
    }

    /* Mobil: görsel tam genişlik, kesilmesin (object-fit: contain) */
    .hakkimizda-section .about-section-img,
    .hakkimizda-section .about-image-container img {
        width: 100% !important;
        max-height: 280px !important;
        height: auto !important;
        object-fit: contain;
        object-position: center;
    }

    .hakkimizda-section .about-image-container {
        margin: 0;
        padding: 0;
        border-radius: 0 0 1rem 1rem;
    }

    /* Başlık mobilde bir tık küçük */
    .hakkimizda-section .main-title {
        font-size: 1.35rem !important;
        line-height: 1.25;
    }

    .hakkimizda-section .about-lead {
        font-size: 0.95rem !important;
    }

    /* Vizyon/Misyon kartları mobilde kesinlikle alt alta (flex-column) */
    .vision-mission-cards .row,
    .vision-mission-cards .vision-mission-row {
        flex-direction: column !important;
        display: flex !important;
    }

    .vision-mission-cards .col,
    .vision-mission-cards .col-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .about-cta-wrap {
        text-align: center;
        width: 100%;
    }

    .about-cta-btn {
        width: 100% !important;
        max-width: 100%;
        justify-content: center;
        display: flex !important;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .hakkimizda-section .about-content.ps-md-5 {
        padding-left: 3rem !important;
    }
}

/* ========== İletişim Bölümü - Modern (Form sol, Harita sağ) ========== */
.contact-section-modern {
    background-color: #F8F9FA;
}

.contact-form-modern {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-message-column {
    height: 100%;
}

.contact-message-wrapper textarea {
    min-height: 100%;
}

.contact-form-modern .contact-form-title {
    color: #1A374D;
}

.form-control-modern,
.form-select.form-control-modern {
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.form-control-modern:hover,
.form-select.form-control-modern:hover {
    border-color: #1A374D;
}

.form-control-modern:focus,
.form-select.form-control-modern:focus {
    border-color: #1A374D;
    box-shadow: 0 0 0 0.25rem rgba(26, 55, 77, 0.2);
    outline: 0;
}

.btn-contact-submit {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e60 100%) !important;
    border: 1px solid #E67E60;
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem; /* ~8px 20px */
    border-radius: 0.5rem; /* hafif yuvarlatılmış dikdörtgen */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, var(--accent-orange-hover) 0%, #d35400 100%) !important;
    color: white;
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 4px 15px rgba(243, 138, 106, 0.4);
}

/* İletişim başlığı alt çizgi */
.contact-title-underline {
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    width: 80px;
    height: 3px;
    background-color: #1A374D;
    border-radius: 999px;
    transform: translateX(-50%);
}

.contact-map-wrapper {
    position: relative;
    min-height: 320px;
}

.min-h-map {
    min-height: 320px;
}

.contact-map-inner {
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.contact-map-inner iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 320px !important;
    border: 0;
    display: block;
}

.contact-map-grayscale .contact-map-inner iframe {
    filter: grayscale(0.3);
}

.contact-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    font-size: 2.5rem;
    color: #F39189;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    pointer-events: none;
}

.contact-map-placeholder {
    min-height: 320px;
    background: radial-gradient(circle at top left, rgba(243,145,137,0.35), transparent 60%),
                radial-gradient(circle at bottom right, rgba(26,55,77,0.5), transparent 55%),
                #1A374D;
}

/* Hizmetlerimiz flip card arka yüzü için açık tema override */
.services-flip-grid .flip-card-back {
    background-color: #ffffff !important;
    color: #1A374D !important;
    border: 1px solid rgba(26, 55, 77, 0.06);
    box-shadow: 0 6px 22px rgba(26, 55, 77, 0.06);
}

.services-flip-grid .flip-card-back .flip-title-premium,
.services-flip-grid .flip-card-back .flip-description {
    color: #1A374D !important;
}

/* Hizmet karti buton hizalama (mobil UX fix) */
.services-flip-grid .flip-card .flip-card-content {
    align-items: center;
    text-align: center;
}

.services-flip-grid .flip-contact-container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.services-flip-grid .flip-contact-btn-premium {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Hizmetlerimiz - Yerel SEO okunabilirlik iyilestirmesi */
.hizmet-local-intro {
    font-size: 1.44rem; /* ~20% buyutme */
}

.hizmet-local-highlight {
    font-size: 1.2rem; /* ~20% buyutme */
    line-height: 1.6;
}

.hizmet-local-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 0.75rem;
    justify-items: center;
}

.hizmet-local-badge {
    font-size: 1.08rem; /* ~20% buyutme */
    padding: 0.7rem 1rem;
    white-space: nowrap;
}

.hizmet-local-other {
    font-size: 1.08rem; /* ~20% buyutme */
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 991.98px) {
    .hizmet-local-intro {
        font-size: 1.3rem;
    }

    .hizmet-local-highlight,
    .hizmet-local-other {
        font-size: 1.15rem;
    }

    .hizmet-local-badges {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
        gap: 0.65rem;
    }

    .hizmet-local-badge {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hizmet-local-intro {
        font-size: 1.2rem;
    }

    .hizmet-local-highlight,
    .hizmet-local-other {
        font-size: 1.05rem;
    }

    .hizmet-local-badges {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
        gap: 0.55rem;
    }

    .hizmet-local-badge {
        font-size: 0.96rem;
        white-space: normal;
    }

    .services-flip-grid .flip-card {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .services-flip-grid .flip-card .flip-card-inner,
    .services-flip-grid .flip-card .flip-card-front,
    .services-flip-grid .flip-card .flip-card-back {
        width: 100%;
    }

    /* Mobile visual polish: spacing + typography + touch-friendly actions */
    .services-flip-grid .flip-card .flip-card-content {
        justify-content: center;
        gap: 0.95rem; /* ~15px */
        padding: 0.85rem 0.9rem 0.95rem;
    }

    .services-flip-grid .flip-icon-premium {
        margin-bottom: 0.2rem;
    }

    .services-flip-grid .flip-title-premium {
        font-size: 1.12rem;
        line-height: 1.35;
        margin-bottom: 0.15rem;
    }

    .services-flip-grid .flip-contact-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
        gap: 0.6rem !important;
    }

    .services-flip-grid .flip-description {
        margin-bottom: 0.75rem;
        max-height: 4.2rem;
    }

    .services-flip-grid .flip-contact-btn-premium {
        width: 92%;
        max-width: 260px;
        min-height: 46px; /* touch-friendly */
        padding: 0.75rem 1rem;
        font-size: 0.92rem;
        border-radius: 12px;
    }

    .blog-detail-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-detail-divider {
        display: none;
    }

    .blog-detail-back,
    .blog-detail-home {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .blog-detail-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.65rem;
    }

    .blog-detail-back,
    .blog-detail-home {
        flex: 1 1 0;
    }

    .blog-detail-back {
        justify-content: flex-start;
    }

    .blog-detail-home {
        justify-content: flex-end;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .services-flip-grid .flip-card .flip-card-content {
        justify-content: center;
        gap: 1rem; /* ~16px */
        padding-top: 0.95rem;
        padding-bottom: 1rem;
    }

    .services-flip-grid .flip-title-premium {
        font-size: 1.2rem;
        line-height: 1.35;
    }

    .services-flip-grid .flip-contact-btn-premium {
        min-height: 45px; /* touch-friendly */
    }

    .services-flip-grid .flip-contact-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 991px) {
    .contact-row-modern .order-1 { order: 1 !important; }
    .contact-row-modern .order-2 { order: 2 !important; }
    .contact-map-wrapper,
    .min-h-map { min-height: 280px; }
    .contact-map-inner iframe { min-height: 280px !important; }
}

/* Eski iletişim (geri uyumluluk) */
.contact-form {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(26, 55, 77, 0.1);
}

.contact-form h4 {
    font-weight: 600;
    color: var(--primary-color);
}

.form-label {
    font-weight: 500;
    color: var(--dark-text);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 55, 77, 0.25);
}

/* İletişim Bilgileri - Büyük ikonlarla şık liste */
.contact-info h4 {
    font-weight: 600; /* Semi-Bold */
    color: var(--primary-color);
}

.contact-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(26, 55, 77, 0.1);
}

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

.contact-item h5 {
    font-weight: 600; /* Semi-Bold */
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--dark-text);
    margin-bottom: 2px;
}

.contact-item small {
    color: var(--light-text);
}

.icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper i {
    color: white;
    font-size: 1.2rem;
}

/* Footer - 4 sütunlu kurumsal yapı */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    margin-top: 0;
}

footer h5 {
    font-weight: 600; /* Semi-Bold */
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.8); /* Daha belirgin */
}

/* Footer linklerini tam beyaz yap */
footer a {
    color: var(--white-text) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .text-white-50:hover {
    color: var(--accent-color) !important;
}

/* Footer "Hemen Ara" butonu: yazı her zaman beyaz, hover koyu turuncu, yumuşak geçiş */
footer .footer-cta-btn {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e60 100%) !important;
    border: none;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .footer-cta-btn:hover {
    background: linear-gradient(135deg, var(--accent-orange-hover) 0%, #d35400 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

footer .footer-cta-btn i {
    color: inherit;
}

/* Copyright - padding ekle */
footer .border-top {
    border-color: rgba(255, 255, 255, 0.2);
    padding-top: 20px !important;
    margin-top: 20px !important;
}

/* Butonlar - Vitrin CTA turuncu standart (Detaylar, Blog/Hizmet butonları) */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e67e60 100%) !important;
    border: none;
    border-radius: 25px;
    font-weight: 600; /* Semi-Bold */
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-orange-hover) 0%, #d35400 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(243, 138, 106, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 25px;
    font-weight: 600; /* Semi-Bold */
}

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* WhatsApp Floating Button - En üste al */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #13B46C);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    color: white;
    text-decoration: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

/* Floating phone button just above WhatsApp */
.phone-float {
    position: fixed;
    bottom: 100px;
    right: 34px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FF7A5C, #E56747);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
}

.phone-float:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
    color: white;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Carousel Controls (hero dışındaki carousel’ler için; hero okları hero.css’te) */
.carousel:not(.hero-carousel) .carousel-control-prev-icon,
.carousel:not(.hero-carousel) .carousel-control-next-icon {
    background-color: rgba(26, 55, 77, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.carousel:not(.hero-carousel) .carousel-control-prev-icon:hover,
.carousel:not(.hero-carousel) .carousel-control-next-icon:hover {
    background-color: var(--accent-color);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(26, 55, 77, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1.5rem;
        box-shadow: 0 8px 32px rgba(26, 55, 77, 0.2);
    }
    
    .navbar-nav .nav-link {
        margin: 0.3rem 0;
        text-align: center;
    }
    
    .navbar .btn-warning {
        margin-top: 1rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 0;
        padding-top: 40px;
    }
    
    .banner-slide {
        height: 500px;
    }
    
    section {
        padding: 48px 0; /* 60px'dan 48px'e düşürüldü */
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
        z-index: 9999; /* Mobilde de en üstte */
    }

    .phone-float {
        bottom: 85px; /* 20px + 50px + 15px boşluk */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 22px;
        z-index: 9999;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem !important;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
        z-index: 9999; /* Küçük ekranda da en üstte */
    }

    .phone-float {
        bottom: 75px; /* 15px + 45px + 15px boşluk */
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
        z-index: 9999;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Button Animations */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* SweetAlert2 - İletişim formu için kurumsal tasarım */
.swal2-contact-popup {
    border-radius: 1rem !important;
    padding: 1.75rem 1.75rem 1.5rem !important;
}

.swal2-contact-popup .swal2-title {
    color: #1A374D !important; /* Koyu lacivert başlık */
    font-weight: 700;
}

.swal2-contact-popup .swal2-html-container {
    color: #6C757D !important; /* Orta gri alt metin */
    font-size: 0.95rem;
}

.swal2-contact-confirm {
    background: linear-gradient(135deg, #1A374D 0%, #406882 100%) !important; /* Navbar ile aynı mavi tonları */
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important; /* Hafif oval / kapsül buton */
    padding: 0.5rem 1.75rem !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(26, 55, 77, 0.35);
}

.swal2-contact-confirm:focus {
    box-shadow: 0 0 0 0.2rem rgba(26, 55, 77, 0.35) !important;
}

.swal2-contact-confirm:hover {
    background: linear-gradient(135deg, #406882 0%, #1A374D 100%) !important;
    box-shadow: 0 6px 18px rgba(26, 55, 77, 0.45);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 404 Not Found */
.not-found-page {
    min-height: 62vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef3f6 100%);
}

.not-found-card {
    max-width: 760px;
    background: #ffffff;
    border: 1px solid rgba(26, 55, 77, 0.08);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 3rem);
    box-shadow: 0 16px 42px rgba(26, 55, 77, 0.1);
}

.not-found-code {
    font-size: clamp(3.2rem, 10vw, 6rem);
    line-height: 1;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.08em;
}

.not-found-actions .btn {
    min-width: 220px;
}

.not-found-help-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.not-found-help-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .not-found-card {
        border-radius: 16px;
        padding: 1.25rem;
    }

    .not-found-actions .btn {
        width: 100%;
    }
}