/* ==========================================================================
   1. RESET VE TEMEL AYARLAR
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f11; /* Tüm sitede pürüzsüz koyu modern arka plan */
    color: #f1f1f1;
    line-height: 1.6;
    overflow-x: hidden; /* Yatay kaydırmayı kesin olarak yasaklar */
}

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

/* ==========================================================================
   2. HEADER & LOGO ALANI (SABİT)
   ========================================================================== */
header {
    background-color: #16161a;
    padding: 15px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #c5a059;
}

/* ==========================================================================
   3. HERO (KAPAK SEKSİYONU) - PC VE MOBİL İÇİN ORTAK
   ========================================================================== */
.hero {
    height: 100vh; /* Ekranı tam kaplasın */
    /* Resmin üstüne hafif karartma atıyoruz ki yazılar mermi gibi okunsun */
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('resimler/pendik2.jpg'); 
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Helis tarzı paralaks etkisi */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: 0; /* Header üstüne binmeyi position: fixed ile çözüyor */
}

.hero-icerik {
    max-width: 800px;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1.5rem;
    color: #c5a059 !important; /* Telefon/PC fark etmeksizin her yerde GOLD */
    font-weight: 800;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.6);
    border: none;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    color: #ffffff !important; /* Her yerde net BEYAZ, mavi sıfırlandı */
    margin-bottom: 2rem;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.5);
}

.buton-gold {
    background: #c5a059;
    color: #000000 !important;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    font-size: 16px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.buton-gold:hover {
    transform: translateY(-3px);
    background: #e5be73;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

/* ==========================================================================
   4. KURUMSAL İÇERİK SEKSİYONLARI (Hakkımızda, Hizmetlerimiz vb.)
   ========================================================================== */
.hizmetler-bolumu, #projeler, .detay-icerik, .referans-konteyner {
    padding: 140px 20px 80px 20px; /* Üst logonun altına girmemesi için 140px padding verdik */
    max-width: 1200px;
    margin: 0 auto;
}

h2, .sayfa-basligi {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #c5a059;
    font-weight: 700;
}

.hizmetler-container {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.hizmet-kart {
    background: #16161a;
    padding: 40px 30px;
    border-radius: 10px;
    flex: 1;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid #222;
    transition: transform 0.3s, border-color 0.3s;
}

.hizmet-kart:hover {
    transform: translateY(-5px);
    border-color: #c5a059;
}

.hizmet-kart h3 {
    color: #c5a059;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.hizmet-kart p {
    color: #ccc;
}

.proje-ayirici {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #c5a059, transparent);
    margin: 40px 0;
}

/* ==========================================================================
   5. HAMBURGER BUTONU & 3 KATLI YAN MENÜ (SIDEBAR)
   ========================================================================== */
.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    cursor: pointer;
    background: #c5a059;
    padding: 12px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.2s;
}

.menu-btn:hover {
    transform: scale(1.05);
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #111;
    margin: 5px 0;
    border-radius: 2px;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    background-color: #0b0b0d;
    overflow-x: hidden;
    transition: 0.4s ease;
    padding-top: 80px;
    box-shadow: 5px 0 30px rgba(0,0,0,0.5);
    border-right: 1px solid #1c1c22;
}

.sidebar a, .dropdown-btn {
    padding: 12px 30px;
    text-decoration: none;
    font-size: 16px;
    color: #b3b3b3;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.sidebar a:hover, .dropdown-btn:hover {
    color: #ffffff;
    background-color: #16161a;
}

.sidebar .closebtn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    color: #c5a059;
}

.dropdown-container, .sub-dropdown-container {
    display: none;
    background-color: #131317;
    padding-left: 10px;
}

.sub-dropdown-btn {
    padding: 10px 40px !important;
    font-size: 15px !important;
    background: none;
    border: none;
    color: #999;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: block;
}

.sub-dropdown-btn:hover {
    color: #fff;
}

.proje-cubuk {
    padding: 8px 15px !important;
    margin: 5px 40px !important;
    font-size: 14px !important;
    background-color: #1c1c22 !important;
    color: #fff !important;
    border-radius: 4px;
    border-left: 3px solid #c5a059;
    display: block;
    text-decoration: none;
}

.proje-cubuk:hover { 
    background-color: #c5a059 !important; 
    color: #000000 !important; 
}

/* ==========================================================================
   6. SAHİBİNDEN TARZI GALERİ & LIGHTBOX
   ========================================================================== */
.sahibinden-galeri {
    position: relative;
    max-width: 800px;
    margin: 30px auto;
    background: #000000;
    border: 1px solid #c5a059;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.ana-resim-kutusu {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.ana-resim-kutusu img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.galeri-ok {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    opacity: 0.6;
    z-index: 10;
}

.galeri-ok:hover {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    color: #c5a059;
}

.ok-sol { left: 0; }
.ok-sag { right: 0; }

.resim-sayac {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: #c5a059;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    z-index: 11;
    border: 1px solid #333;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.lightbox-icerik {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    cursor: zoom-out;
    border: 1px solid #222;
}

.lightbox-kapat {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #c5a059;
    font-size: 50px;
    cursor: pointer;
    transition: transform 0.2s;
}

.lightbox-kapat:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   7. FORM & İLETİŞİM TASARIMI
   ========================================================================== */
.teklif-formu {
    background-color: #16161a;
    padding: 50px;
    margin: 80px auto;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid #222;
}

.teklif-formu h2 {
    color: #c5a059;
    margin-bottom: 10px;
}

.teklif-formu p {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
}

.form-grubu { margin-bottom: 20px; }

.form-grubu label {
    color: #c5a059;
    font-weight: 600;
    font-size: 14px;
}

input, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #2c2c35;
    background-color: #0f0f11;
    color: white;
    border-radius: 6px;
    margin-top: 8px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #c5a059;
}

.gonder-btn {
    background-color: #c5a059;
    color: black;
    padding: 15px;
    border: none;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.gonder-btn:hover { 
    background-color: #e5be73;
    transform: translateY(-2px);
}

/* ==========================================================================
   8. WHATSAPP & FOOTER & DİĞER
   ========================================================================== */
.wp-butonu {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.3s, background-color 0.3s;
}

.wp-butonu:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

footer {
    text-align: center;
    padding: 50px 20px;
    background: #0b0b0d;
    color: #666;
    border-top: 1px solid #16161a;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* ==========================================================================
   9. MOBIL RESPONSIVE DÜZENLEMELER (MEDIA QUERY)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* Mobilde içeriklerin sabit logo altında kalmasını kökten çözen ayar */
    .hizmetler-bolumu, #projeler, .detay-icerik, .referans-konteyner {
        padding-top: 130px !important; 
    }

    .hizmetler-container { 
        flex-direction: column; 
        gap: 20px;
    }

    header { 
        padding: 15px 20px; 
    }
    
    nav { 
        display: none; /* Mobilde üstteki düz liste gizlensin, zaten sol barımız var */
    }

    .hero {
        background-attachment: scroll !important; /* Mobilde kasma yapmaması için scroll yapıldı */
        height: 75vh;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        padding: 0;
    }

    .hero p {
        font-size: 1.1rem !important;
    }

    .ana-resim-kutusu {
        height: 320px; /* Mobilde galeri kutusu boyutu ekran dışına taşmasın */
    }

    .teklif-formu {
        padding: 30px 20px;
        width: 92%;
    }
}
a {
    text-decoration: none;
}