/* ---
Sıfırdan Modern Stil Dosyası
Renk Paleti: Antrasit + Turuncu + Beyaz
--- */

:root {
    --antrasit-dark: #2c3e50;
    --antrasit-light: #34495e;
    --turuncu: #e67e22;
    --turuncu-hover: #d35400;
    --beyaz: #ffffff;
    --gri-bg: #f8f9fa;
    --metin: #333;
    --metin-light: #ecf0f1;
    --border-color: #ecf0f1;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --border-radius: 8px;
}

/* --- Genel Reset ve Ayarlar --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.7;
    background-color: var(--beyaz);
    color: var(--metin);
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--antrasit-dark);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
    color: #555;
}

a {
    color: var(--turuncu);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--turuncu-hover);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section {
    padding: 70px 0;
}

.section-bg {
    background-color: var(--gri-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--turuncu);
    border-radius: 2px;
}

/* --- Buton Stili --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--turuncu);
    color: var(--beyaz);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: var(--turuncu-hover);
    color: var(--beyaz);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-secondary {
    background-color: var(--antrasit-light);
}
.btn-secondary:hover {
    background-color: var(--antrasit-dark);
}

/* --- Header & Navigasyon --- */
header {
    background: var(--beyaz);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.top-bar {
    background-color: var(--antrasit-dark);
    color: var(--metin-light);
    padding: 10px 0;
    font-size: 0.9em;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: var(--beyaz);
    font-weight: 500;
}
.top-bar a:hover {
    color: var(--turuncu);
}
.top-bar span {
    margin-left: 20px;
}

/* Ana Navigasyon */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--antrasit-dark);
}
.logo a:hover {
    color: var(--turuncu);
}

.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links li a {
    font-weight: 700;
    color: var(--antrasit-light);
    padding-bottom: 5px;
    font-size: 1rem;
}
.nav-links li a:hover,
.nav-links li a.active {
    color: var(--turuncu);
    border-bottom: 2px solid var(--turuncu);
}

/* --- Hamburger Mobil Menü (CSS KISMI) --- */
.hamburger-menu {
    display: none; /* Masaüstünde gizli */
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--antrasit-dark);
}

.mobile-nav {
    display: none; /* Başlangıçta gizli (JS bunu değiştirecek) */
    position: fixed;
    top: 0;
    left: -300px; /* Dışarıda başla */
    width: 300px;
    height: 100vh;
    background: var(--antrasit-dark);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    padding: 40px 20px;
    transition: left 0.4s ease-in-out;
    z-index: 1001; /* Header'ın (1000) üstünde olmalı */
}
/* JS bu sınıfı eklediğinde... */
.mobile-nav.active {
    left: 0; /* Aktif olunca sola kay */
}
.mobile-nav ul {
    list-style: none;
    padding-top: 50px;
}
.mobile-nav ul li {
    margin-bottom: 25px;
}
.mobile-nav ul li a {
    color: var(--beyaz);
    font-size: 1.3rem;
    font-weight: 700;
}
.mobile-nav ul li a:hover {
    color: var(--turuncu);
}
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--beyaz);
    cursor: pointer;
}
.mobile-nav-close:hover {
    color: var(--turuncu);
}


/* --- Hero Slider (Ana Sayfa) --- */
.hero-slider {
    width: 100%;
    height: 70vh; /* Yükseklik */
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background-color: var(--antrasit-dark);
}
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.slide::before { /* Görseli karartma */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.slide.active {
    opacity: 1;
}
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--beyaz);
    text-align: center;
    z-index: 2;
    width: 90%;
}
.slide-content h1 {
    font-size: 3.5rem;
    color: var(--beyaz);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.slide-content p {
    font-size: 1.3rem;
    color: var(--metin-light);
    margin-bottom: 30px;
}

/* --- Hizmetler Bölümü (Services) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--beyaz);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.service-card .icon {
    font-size: 3.5rem;
    color: var(--turuncu);
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.service-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Sayaç Bölümü (Stats) --- */
.stats-section {
    background-color: var(--antrasit-light);
    color: var(--beyaz);
    padding: 80px 0;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.stat-item h3 {
    font-size: 3.5rem;
    color: var(--turuncu);
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 1.2rem;
    color: var(--metin-light);
    font-weight: 700;
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(to right, var(--turuncu), var(--turuncu-hover));
    text-align: center;
    padding: 60px 0;
    color: var(--beyaz);
}
.cta-banner h2 {
    font-size: 2.2rem;
    color: var(--beyaz);
    margin-bottom: 15px;
}
.cta-banner p {
    font-size: 1.2rem;
    color: var(--metin-light);
    margin-bottom: 30px;
}
.cta-banner .btn {
    background-color: var(--beyaz);
    color: var(--turuncu);
}
.cta-banner .btn:hover {
    background-color: var(--gri-bg);
    color: var(--turuncu-hover);
}

/* --- Blog Önizleme (Blog Preview) --- */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.blog-post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--beyaz);
}
.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.blog-post-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}
.blog-post-content {
    padding: 25px;
}
.blog-post-content .tarih {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
    display: block;
}
.blog-post-content h3 {
    margin-top: 0;
    font-size: 1.3em;
    line-height: 1.4;
}
.blog-post-content h3 a {
    color: var(--antrasit-dark);
}
.blog-post-content h3 a:hover {
    color: var(--turuncu);
}
.blog-post-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.blog-post-content .btn {
    font-size: 0.8em;
    padding: 8px 15px;
}


/* --- Footer Alanı --- */
footer {
    background-color: var(--antrasit-dark);
    color: var(--metin-light);
    padding-top: 60px;
    margin-top: 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-content h3 {
    color: var(--beyaz);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--turuncu);
}
.footer-content p {
    color: var(--metin-light);
    line-height: 1.8;
}
.footer-content a {
    color: var(--metin-light);
}
.footer-content a:hover {
    color: var(--turuncu);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    font-size: 1.05rem;
}
.footer-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.footer-info i {
    color: var(--turuncu);
    margin-right: 10px;
    font-size: 1.2rem;
    width: 20px;
}

/* Footer Alt Kısım */
.footer-bottom {
    background-color: #233140;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    margin-top: 0;
}
.footer-bottom p {
    margin: 0;
    color: #95a5a6;
}
footer .reklime-link {
    color: #f1c40f; /* Sarı */
    font-weight: 700;
}
footer .reklime-link:hover {
    color: #f39c12;
}

/* --- Mobil Uyumluluk --- */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* Masaüstü menüyü gizle */
    }
    .header-cta-btn {
        display: none; /* Butonu da gizle */
    }
    .hamburger-menu {
        display: block; /* Hamburgeri göster (CSS KISMI) */
    }
    .slide-content h1 {
        font-size: 2.5rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
    /* JS'nin 'display: none' yaptığı mobil menüyü 
       burada 'display: block' ile eziyoruz ki JS çalışabilsin.
       JS'deki 'display: none' -> 'display: block' daha iyi olabilirdi
       ama JS'miz 'left' pozisyonunu değiştiriyor, 'display'i değil.
       
       CSS'de .mobile-nav'ın display: none olması gerekiyor.
       (JS'nin .active sınıfı eklemesi için)
    */
    .mobile-nav {
         /* JS'nin .active sınıfı eklemesi için display: block olmalı */
         /* GÜNCELLEME: JS 'left' özelliğini değiştiriyor, 'display'i değil. */
         /* 'display: none' burada doğru olan. */
        display: block; 
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    .top-bar span {
        margin: 5px 0;
    }
    .main-nav {
        padding: 15px;
    }
    section {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .stats-grid,
    .footer-content {
        grid-template-columns: 1fr; /* Her şeyi tek sütun yap */
        text-align: center;
    }
    .footer-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-info p {
        justify-content: center;
    }
}

/* ---
Galeri Sayfası Stilleri
--- */

/* Galeri sayfa başlığı (Genel) */
.page-title-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: var(--beyaz);
    background-size: cover;
    background-position: center;
}
.page-title-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.page-title-section .container {
    position: relative;
    z-index: 2;
}
.page-title-section h1 {
    font-size: 3rem;
    color: var(--beyaz);
    margin: 0;
}
.page-title-section p {
    font-size: 1.2rem;
    color: var(--metin-light);
    margin-bottom: 0;
}

/* Galeri Grid Yapısı */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 280px; /* Bütün kutuların boyunu sabitler */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.4s ease-in-out;
}

.gallery-item a {
    display: block;
    height: 100%;
    position: relative;
}

/* Hover efekti (Zoom ikonu ve karartma) */
.gallery-item .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: var(--beyaz);
    font-size: 3rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}
.gallery-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item:hover a::before,
.gallery-item:hover .zoom-icon {
    opacity: 1;
}
.gallery-item:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}


/* ---
Basit Lightbox Stilleri
--- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none; /* JS ile açılacak */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--beyaz);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    font-weight: 700;
}
.lightbox-close:hover {
    color: var(--turuncu);
}

/* ---
Lightbox İleri/Geri Buton Stilleri
--- */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--beyaz);
    font-size: 3.5rem; /* İkon boyutu */
    font-weight: 700;
    cursor: pointer;
    z-index: 2002; /* Resmin üstünde olmalı */
    padding: 10px 20px;
    user-select: none; /* Yanlışlıkla seçilmesin */
    transition: color 0.2s ease;
    line-height: 1;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--turuncu);
}


/* ---
Hakkımızda Sayfası Stilleri
--- */
.about-section {
    padding: 70px 0;
}
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h3 {
    font-size: 1.8rem;
    color: var(--antrasit-light);
    margin-top: 30px;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
/* Hakkımızda mobil uyumluluk */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1; /* Resmi üste al */
        margin-bottom: 30px;
    }
    .about-text .section-title {
        text-align: center;
    }
}


/* ---
İletişim Sayfası Stilleri
--- */
.contact-section {
    padding: 70px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.contact-info-wrapper {
    background-color: var(--antrasit-light);
    color: var(--beyaz);
    padding: 30px;
    border-radius: var(--border-radius);
}
.contact-info-wrapper h3 {
    color: var(--beyaz);
    border-bottom: 2px solid var(--turuncu);
    padding-bottom: 10px;
}
.contact-info-wrapper p {
    color: var(--metin-light);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-info-item .icon {
    font-size: 1.8rem;
    color: var(--turuncu);
    margin-right: 20px;
    line-height: 1;
}
.contact-info-item .info-text {
    flex: 1;
}
.contact-info-item h4 {
    color: var(--beyaz);
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.contact-info-item p,
.contact-info-item a {
    margin: 0;
    color: var(--metin-light);
    font-size: 1rem;
}
.contact-info-item a:hover {
    color: var(--turuncu);
}

/* İletişim Formu Stilleri */
.contact-form-wrapper h3 {
    font-size: 1.8rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group-row {
    display: flex;
    gap: 20px;
}
.form-group-row .form-group {
    flex: 1;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--turuncu);
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.5);
}
.form-group textarea {
    resize: vertical;
}

/* Form Gönderim Mesaj Stilleri */
#form-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: none; /* JS ile gösterilecek */
}
.form-message-loading {
    background-color: #eaf6ff;
    border: 1px solid #b3d9ff;
    color: #0056b3;
}
.form-message-success {
    background-color: #e6f7ec;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.form-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.map-section {
    padding: 0;
    margin: 0;
    line-height: 0; /* Alttaki boşluğu alır */
}

/* İletişim mobil uyumluluk */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-wrapper {
        margin-top: 40px;
    }
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
}


/* ---
Blog Detay Sayfası Stilleri
--- */
.blog-detail-section {
    padding: 70px 0;
}
.blog-detail-content {
    max-width: 800px; /* Okunabilirlik için içeriği daralt */
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.blog-detail-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}
.blog-post-body {
    line-height: 1.8;
    font-size: 1.1rem;
}
.blog-post-body p {
    margin-bottom: 20px;
}
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
    color: var(--antrasit-light);
    margin-top: 30px;
    margin-bottom: 15px;
}
.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}
.blog-post-body li {
    margin-bottom: 10px;
}

/* ---
Galeri Filtreleme Sekmeleri Stilleri
--- */
.gallery-filter {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.gallery-filter .filter-item {
    padding: 10px 25px;
    font-weight: 700;
    color: var(--antrasit-light);
    background-color: var(--beyaz);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter .filter-item:hover {
    background-color: var(--gri-bg);
    border-color: var(--turuncu);
}

.gallery-filter .filter-item.active {
    background-color: var(--turuncu);
    border-color: var(--turuncu);
    color: var(--beyaz);
}

/* ---
Galeri Video Stilleri
--- */
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    border-radius: 0;
    background-color: #000;
}

/* ---
YENİ: Ana Site Logo Görseli Stili
--- */
.main-nav .logo-image {
    max-height: 50px; /* main-nav padding'i ile (15+15) toplam ~80px'lik bir alana sığar */
    width: auto;
    vertical-align: middle;
    border-radius: 0;
}