/* 1. SIFIRLAMA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

/* 2. HEADER */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 140px;
    display: flex;
    align-items: center;
}

.header-container {
    position: relative; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

/* LOGO MERKEZLEME */
.logo-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.main-logo-img {
    height: 85px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.logo-text {
    font-family: 'Dancing Script', cursive;
    font-size: 26px;
    color: #000;
    margin-top: 5px;
    display: block;
    white-space: nowrap;
}

/* MENÜLER */
.nav-left, .nav-right {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    min-width: 400px; /* Logo için boşluk bırakır */
}

.nav-left { justify-content: flex-start; gap: 40px; }
.nav-right { justify-content: flex-end; gap: 40px; }

.nav-left a, .nav-right a, .dropbtn {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

/* DİL KUTUSU */
.lang-box {
    border: 2px solid #333;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    margin-left: 10px;
    transition: 0.3s;
}

.lang-box:hover { background: #333; color: #fff; }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 12px 20px; color: #333; border: none; }

/* 3. MOBİL MENÜ & HAMBURGER */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    padding: 100px 30px;
    transition: 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-nav-panel.active { right: 0; }
.mobile-nav-panel a { display: block; padding: 15px 0; font-size: 18px; color: #333; border-bottom: 1px solid #eee; }

/* Hamburger X Animasyonu */
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }

/* ==========================================================================
   MİMARİ SAYFASI - İÇERİK VE PROJE KUTULARI
   ========================================================================== */

/* 1. YAKLAŞIM VE HİZMETLER ALANI */
.arch-intro-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.arch-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.arch-approach-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px auto;
}

.arch-sub-title {
    color: #d4a373;
    font-size: 13px;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.arch-slogan {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 35px;
    line-height: 1.3;
}

.arch-description p {
    font-size: 17px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 20px;
}

/* 2. HİZMET KARTLARI (GRID) */
.arch-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.arch-service-card {
    background: #fcfcfc;
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.arch-service-card:hover {
    background: #ffffff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #d4a373;
}

.arch-service-card i {
    font-size: 45px;
    color: #d4a373;
    margin-bottom: 25px;
}

.arch-service-card h3 {
    font-size: 19px;
    margin-bottom: 15px;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.arch-service-card p {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
}

/* 3. PROJE KUTULARI (PORTFÖY GRID) */
.projects-wrapper {
    padding-bottom: 100px;
}

.group-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 5px solid #d4a373;
    padding-left: 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
}

/* KART TASARIMI */
.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s ease;
    border: 1px solid #f3f3f3;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.img-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover img {
    transform: scale(1.15);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent; /* Gold/Altın şeffaf overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.5s;
}

.card-overlay span {
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
    border: 2px solid #fff;
    padding: 10px 25px;
}

.project-card:hover .card-overlay {
    opacity: 1;
}

/* KART ALT BİLGİ */
.project-info-bottom {
    padding: 25px;
}

.p-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.p-status {
    font-size: 14px;
    color: #d4a373;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. RESPONSIVE DÜZENLEMELER */
@media (max-width: 1100px) {
    .arch-container { padding: 0 25px; }
    .arch-slogan { font-size: 28px; }
    .projects-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    .arch-intro-section { padding: 60px 0; }
    .arch-service-card { padding: 35px 20px; }
    .img-container { height: 250px; }
}

/* ==========================================================================
   MODAL & SLAYT SİSTEMİ (ORTALANMIŞ & MODERN)
   ========================================================================== */
.modal {
    display: none; /* JS ile açılacak */
    position: fixed; 
    z-index: 3000; 
    left: 0; top: 0;
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.9); 
    backdrop-filter: blur(10px);
    align-items: center;    
    justify-content: center;
}

/* Modal kutusu açıldığında bu sınıfı JS tetikler */
.modal.active {
    display: flex !important;
}

.modal-content {
    background: #fff; 
    width: 90%; 
    max-width: 1200px; 
    border-radius: 0; /* Modern mimari için keskin hatlar */
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-body { 
    display: flex; 
    width: 100%; 
    min-height: 600px; 
}

/* SOL TARAF: SLAYT KISMI */
.modal-slider { 
    width: 65%; 
    position: relative; 
    background: #111; 
    overflow: hidden;
    display: flex;
    align-items: center;
}

#slider-container {
    width: 100%;
    height: 100%;
}

#slider-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: none; 
}

#slider-container img.active { 
    display: block; 
    animation: fade 0.6s ease; 
}

/* SLAYT OKLARI */
.slider-nav {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1); 
    color: #fff; 
    border: none; 
    padding: 25px 15px;
    cursor: pointer; 
    font-size: 20px; 
    transition: 0.3s;
    z-index: 10;
}

.slider-nav:hover { background: #d4a373; }
.prev { left: 0; border-radius: 0 5px 5px 0; } 
.next { right: 0; border-radius: 5px 0 0 5px; }

/* SAĞ TARAF: BİLGİ KISMI */
.modal-info { 
    width: 35%; 
    padding: 50px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    background: #fff;
}

.modal-info h2 { 
    font-size: 28px;
    font-weight: 700; 
    margin-bottom: 20px; 
    color: #1a1a1a;
    border-bottom: 2px solid #d4a373;
    padding-bottom: 10px;
    display: inline-block;
}

.modal-info p { 
    color: #555; 
    line-height: 1.8; 
    font-size: 15px;
}

/* KAPATMA BUTONU (X) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 3100;
    transition: 0.3s;
}

.close-btn:hover { color: #d4a373; transform: rotate(90deg); }
/* Fotoğrafları siyah-beyaz yap */
.project-card img{
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

/* Mouse üzerine gelince renkler geri gelsin */
.project-card:hover img{
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* MOBİL MODAL AYARI */
@media (max-width: 992px) {
    .modal-body { flex-direction: column; }
    .modal-slider { width: 100%; height: 350px; }
    .modal-info { width: 100%; padding: 30px; }
    .modal-content { width: 95%; margin-top: 50px; }
}

@keyframes fade { 
    from { opacity: 0; transform: scale(1.05); } 
    to { opacity: 1; transform: scale(1); } 
}

.main-footer {
    background-color: #1a1a1a; /* Koyu, şık bir zemin */
    color: #fff;
    padding: 80px 60px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: #d4a373; /* Logodaki vurgu rengi */
    margin-bottom: 25px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column a { color: #ccc; transition: 0.3s; font-size: 15px; }
.footer-column a:hover { color: #fff; }

.footer-contact p { margin-bottom: 12px; color: #ccc; font-size: 15px; }

.social-icons { display: flex; gap: 20px; }
.social-icons a { 
    background: #333; 
    padding: 8px 15px; 
    border-radius: 4px; 
    font-size: 14px;
}
.social-icons a:hover { background: #d4a373; }

.footer-bottom {
    margin-top: 60px;
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Mobilde her şey alt alta */
        text-align: center;
    }
    .footer-nav { display: none; } /* Senin istediğin gibi mobil için menüyü gizledik */
    .social-icons { justify-content: center; }
    .main-footer { padding: 50px 20px 20px; }
}


/* --- Slayt Geçiş Sistemi --- */
#slider-container img {
    display: none; /* Varsayılan olarak tüm resimleri gizle */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#slider-container img.active {
    display: block; /* Sadece 'active' sınıfına sahip olanı göster */
    animation: fadeEffect 0.6s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: scale(1.02); }
    to { opacity: 1; transform: scale(1); }
}


/* --- TEZEL İNŞAAT MODAL SLIDER FIX --- */

/* Resimlerin içinde durduğu kutu */
#slider-container {
    width: 100% !important;
    height: 500px !important; /* Kutu yüksekliğini buradan sabitledik */
    background-color: #1a1a1a !important; /* Boşluk kalırsa koyu şık bir zemin */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border-radius: 4px;
}

/* Resmin kendisini kutuya uyduran sihirli kısım */
.active-slide {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Hafif kırpar ama boşluk bırakmaz, tam doldurur */
    object-position: center !important; /* Kırpma yaparken merkeze odaklanır */
    display: block !important;
    transition: opacity 0.3s ease; /* Resimler arası geçişte hafif yumuşama */
}

/* Mobil ekranlar için kutu boyunu biraz küçültelim ki ekran taşmasın */
@media (max-width: 768px) {
    #slider-container {
        height: 350px !important;
    }
}
/* --- MOBİL GÖRÜNÜMÜ TAMİR ET --- */
@media (max-width: 1100px) {
    /* 1. Masaüstü linklerini gizle */
    .nav-left, .nav-right {
        display: none !important;
    }

    /* 2. Header'ı mobil için düzenle */
    .header-container {
        justify-content: space-between; /* Logo sola, buton sağa */
        padding: 0 20px;
    }

    /* 3. Logoyu ortadan sola çek (opsiyonel ama butonla çakışmaz) */
    .logo-area {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        z-index: 10;
    }

    .main-logo-img {
        height: 60px; /* Mobilde biraz küçülttük */
    }

    .logo-text {
        font-size: 18px;
    }

    /* 4. Hamburger butonunu zorla görünür yap */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        z-index: 2001; /* Her şeyin üstünde olsun */
    }

    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background-color: #333; /* Çizgi rengi koyu olsun */
        margin: 4px 0;
        display: block;
    }

    /* 5. Panel ayarı */
    .mobile-nav-panel {
        display: block !important;
        background: #ffffff;
    }
}

/* ==========================================
   MOBİL DİL SEÇİCİ EK CSS
   ========================================== */
.mobile-nav-panel .lang-box {
    display: inline-block;
    margin-top: 25px;
    border: 2px solid #333;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    text-align: center;
    transition: 0.3s;
}

.mobile-nav-panel .lang-box:hover {
    background: #333;
    color: #fff;
}

/* Mobil paneli dikeyde güzel ortalamak için */
.mobile-nav-panel nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* İstersen butonların merkeze gelmesi için center yapabilirsin */
}