/* ========================================================= */
/* 0. GENEL AYARLAR, DEĞİŞKENLER VE SIFIRLAMA */
/* ========================================================= */
:root {
    /* Kurumsal Renk Paleti */
    --primary-color: #ff8c00;      /* Canlı Turuncu (CTA Butonları, Vurgular) */
    --secondary-color: #f8b300;    /* Altın Sarısı (Başlık Çizgisi, Hover) */
    --dark-color: #2c3e50;         /* Koyu Antrasit / Lacivert (Header, Fontlar) */
    --light-bg: #fdfdfd;           /* Ana Arka Plan (Hafif Krem) */
    --section-bg: #f4f4f4;         /* Bölüm Arka Planı (Hafif Gri) */
    --text-color: #555;            /* Ana Metin Rengi */
    --white-color: #ffffff;        /* Beyaz */
    
    /* Fontlar */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden; 
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tüm bölümlerin padding'i */
.section { padding: 80px 20px; }


/* Bölüm Başlıkları Stili */
h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}
/* Başlık altına altın sarısı çizgi */
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 5px;
}

/* CTA Butonları */
.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.center-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}

/* ========================================================= */
/* 1. HEADER (YAPIŞKAN NAVİGASYON) */
/* ========================================================= */
header {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Büyüklüğü Güncellendi */
header nav .logo img {
    height: 90px; 
    transition: height 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

/* Hamburger Menü İkonu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ========================================================= */
/* 2. HERO BÖLÜMÜ (ANA EKRAN) */
/* ========================================================= */
.hero {
    background: var(--dark-color); 
    color: var(--white-color);
    padding: 150px 20px 100px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* ========================================================= */
/* 3. VİDEO GALERİ BÖLÜMÜ */
/* ========================================================= */
.video-gallery {
    padding: 80px 20px;
    background-color: var(--dark-color); /* Koyu arkaplan */
    color: var(--white-color);
}

.video-gallery h2 {
    color: var(--white-color);
}

.video-gallery h2::after {
    background-color: var(--primary-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.video-item {
    background: #4a596b; /* Kart arka planı */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

.video-item h3 {
    font-size: 1.2rem;
    padding: 15px;
    color: var(--white-color);
    text-align: center;
    font-family: var(--font-body);
}

/* ========================================================= */
/* 4. HAKKIMIZDA BÖLÜMÜ */
/* ========================================================= */
#about {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

/* ========================================================= */
/* 5. FOTOĞRAF GALERİSİ / SLIDER */
/* ========================================================= */
.photo-gallery {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 50px auto;
    overflow: hidden; 
    position: relative;
    padding: 0 10px;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out; 
}

.carousel-item {
    min-width: 300px; 
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* ========================================================= */
/* 6. HİZMETLER BÖLÜMÜ (SERVICE CARDS) - DETAYLANDIRILDI */
/* ========================================================= */
.services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 80px 20px;
    background-color: var(--section-bg); 
}

.service-item-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; 
    margin-top: 30px;
}

.service-item {
    background-color: var(--white-color);
    padding: 30px;
    width: calc(33.33% - 40px); 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    border-top: 5px solid var(--secondary-color); 
}

.service-item:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Hizmet İkon Stili */
.service-item i {
    font-size: 3rem; 
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-item:hover i {
    color: var(--white-color);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: var(--white-color); 
}

.service-item p {
    font-size: 1rem;
    line-height: 1.5;
}


/* ========================================================= */
/* 7. PROJELER VE REFERANSLAR (KARTLAR) */
/* ========================================================= */
.projects {
    padding: 80px 20px;
    background-color: var(--light-bg);
    text-align: center;
}

.project-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    width: calc(33.33% - 30px); 
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: left;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 15px 15px 5px 15px;
}

.project-tag {
    display: inline-block;
    background: #e0e0e0;
    color: var(--dark-color);
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px 15px 15px;
    font-weight: 600;
}

/* ========================================================= */
/* 8. SIKÇA SORULAN SORULAR (FAQ) BÖLÜMÜ STİLİ - DÜZELTİLDİ */
/* ========================================================= */
.faq {
    padding: 80px 20px;
    background-color: var(--section-bg);
}

.accordion-container {
    max-width: 900px;
    margin: 30px auto;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white-color);
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background-color: var(--white-color);
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SSS Header Hover Stili - Kurumsal Turuncu/Beyaz */
.accordion-header:hover, .accordion-header.active {
    background-color: var(--primary-color); 
    color: var(--white-color); 
}

/* Açılır ikon */
.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-header.active::after {
    content: '−';
}

.accordion-content {
    padding: 0 20px;
    background-color: var(--light-bg);
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 15px 0 20px;
    font-size: 1rem;
    color: #666;
}

/* ========================================================= */
/* 9. TÜM REFERANSLAR LİSTESİ BÖLÜMÜ */
/* ========================================================= */
.full-reference-list {
    padding: 80px 20px;
    background-color: var(--light-bg); 
}

.reference-list {
    max-width: 1000px;
    margin: 30px auto;
    text-align: left; 
    column-count: 3; 
    column-gap: 30px;
}

.reference-list p {
    margin-bottom: 8px; 
    font-size: 1rem; 
    line-height: 1.6; 
    color: var(--dark-color);
}

/* ========================================================= */
/* 10. İLETİŞİM VE HARİTA BÖLÜMÜ */
/* ========================================================= */
.contact-map {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--dark-color); 
    color: var(--white-color);
}

.contact-map h2 {
    color: var(--white-color);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info li {
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: left;
}

.contact-info li strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info li a {
    color: var(--white-color);
    font-weight: 500;
}

.contact-info li a:hover {
    color: var(--secondary-color);
}

#map-container iframe {
    width: 100%;
    height: 400px;
    margin: 30px auto 0 auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* ========================================================= */
/* 11. FOOTER */
/* ========================================================= */
footer {
    background-color: #1a252f; 
    color: var(--white-color);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .social-links a {
    color: var(--white-color);
    margin: 0 15px;
    font-size: 1.5rem;
}

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


/* ========================================================= */
/* 12. RESPONSIVE TASARIM (MOBİL UYUMLULUK) */
/* ========================================================= */
@media screen and (max-width: 992px) {
    /* Logo küçültme */
    header nav .logo img {
        height: 70px; 
    }
    
    /* Genel */
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    
    /* Hizmetler & Projeler 2 Sütun */
    .service-item, .project-card {
        width: calc(50% - 20px); 
        margin: 10px;
    }
    
    /* Video Galeri */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Referans Listesi 2 Sütun */
    .reference-list {
        column-count: 2; 
    }
}

@media screen and (max-width: 768px) {
    /* Header/Navigasyon */
    .nav-links { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100px; 
        left: 0; 
        width: 100%; 
        background: var(--dark-color); 
        padding: 10px 0; 
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3); 
    }
    .nav-links li { margin: 10px 0; }
    .nav-links.active { display: flex; }
    .burger { display: block; }
    
    /* Hero */
    .hero { padding: 80px 20px 60px; }
    .hero h1 { font-size: 2.2rem; }
    
    /* Hizmetler ve Projeler Tek Sütun */
    .service-item, .project-card {
        width: 100%; 
        margin: 15px 0;
    }
    
    /* Video Galeri Tek Sütun */
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    /* Referans Listesi Tek Sütun */
    .reference-list {
        column-count: 1; 
        text-align: center;
    }
}