/* --- 1. GLOBAL AYARLAR & RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

:root {
    --hamburger-color: #000;
}

/* SEO İçin Kritik: Görünmez Başlık Yazısı Fix */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- 2. HEADER & LOGO --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    background: #fff;
    width: 100%;
}

.header-empty { width: 40px; } 
.main-logo { 
    height: 100px; 
    width: auto; 
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .main-logo { height: 70px; }
    .main-header { padding: 20px 5%; }
}

/* --- 3. HAMBURGER (temas sayfasına özel hizalama) --- */
.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* --- 5. İZLER SAYFASI GRID (RESPONSIVE) --- */
.works-container { width: 100%; }

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Desktop: 2'li */
}

.work-item {
    padding: 60px 20px;
    border: 0.5px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.3s ease;
}

.work-image-wrapper {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.work-item img {
    max-width: 80%;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.work-item:hover img { transform: scale(1.1); }

.work-title {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 25px;
    color: #555;
    font-weight: 400;
}

@media (max-width: 768px) {
    .works-grid { grid-template-columns: 1fr; } /* Mobil: Tekli */
    .work-image-wrapper { height: 220px; }
    .work-item { padding: 40px 15px; }
}

/* --- 6. TEMAS SAYFASI FORM (RESPONSIVE) --- */
.content-wrapper {
    width: 700px;        
    margin: 60px auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.page-title {
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 400;
}

.input-group { margin-bottom: 25px; }
.input-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: #f8f8f8;
    font-family: inherit;
    font-size: 16px; /* Mobil zoom engelleme */
    outline: none;
    transition: background 0.3s;
}
input,
textarea {
  min-height: 52px;
}

textarea {
  min-height: 120px;
}
.input-group input:focus, .input-group textarea:focus { background: #f0f0f0; }

@media (max-width: 740px) {
    .content-wrapper {
        width: 100%;     /* küçük ekranda tam genişlik */
    }
}
@media (max-width: 480px) {
    .page-title { font-size: 1.5rem; text-align: center; }
}

/* --- 7. FOOTER (IPHONE SAFE AREA) --- */
.main-footer {
    padding: 60px 5% calc(40px + env(safe-area-inset-bottom));
    text-align: center;
}

.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-text { font-size: 0.85rem; font-weight: 600; text-transform: uppercase;letter-spacing: 1px; }
.social-icons { display: flex; gap: 20px; align-items: center;}
.social-icons a:hover { transform: translateY(-3px); opacity: 0.7; }

.copyright-line { font-size: 0.65rem; color: #aaa; letter-spacing: 1px; }

/* --- 8. LOADER (GEÇİŞ PERDESİ) --- */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    will-change: transform;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.page-transition.loaded { transform: translateY(-100%); }

.loader-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(0.95); }
}
/* Mesaj kutusu ayarları */
textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: #f8f8f8;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    resize: none; /* Kullanıcının köşeden çekip büyütmesini engeller */
    display: block;
    min-height: 100px; /* Başlangıç yüksekliği */
    transition: background 0.3s;
}

/* Butonu sağa yaslayan alan */
.form-footer {
    display: flex;
    width: 100%;
    margin-top: 24px;
}



/* Mobil için buton genişliği (Opsiyonel: Mobilde tam genişlik istersen kalsın, istemezsen sil) */
@media (max-width: 480px) {
    .form-footer {
        justify-content: center; /* Mobilde ortalanmış veya sağda kalabilir */
    }
}
/* Mobilde metinlerin taşmasını ve resme binmesini engeller */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 20px;
        overflow-wrap: break-word; /* Uzun kelimeleri böler */
    }
    
    .page-title {
        font-size: 1.8rem; /* Mobilde başlığı biraz küçült */
        white-space: normal; /* Metnin aşağı kaymasına izin ver */
    }
}
/* Inline style yerine buraya taşındı */
#message {
    resize: none;
    overflow: hidden; /* JavaScript ile büyüyeceği için scroll gizli kalmalı */
    min-height: 100px;
}


/* SEO için kullanılan ama gizlenen başlık */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
/* === FOOTER ICON STYLE (FILLED, BOLD) === */

.social-icons a {
        color: #000;
        display: flex;
        transition: 0.3s ease;
    }
    
.social-icons svg {
    width: 22px;
    height: 22px;
    fill: #000;
    display: inline-block;
    vertical-align: middle;
    shape-rendering: crispEdges;
    }
.social-icons a[aria-label="LinkedIn"] svg {
    transform: scale(1.05); /* LinkedIn'i çok hafif büyüterek diğerleriyle eşitledik */
}

.social-icons a:hover svg {
    opacity: 0.6;
}@media (max-width: 768px) {
    .footer-row { 
        flex-direction: column; 
        gap: 15px; 
    }
}
/* --- BAŞARI MESAJI KATMANI --- */
.form-success-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9); 
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999; 
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease;
}

/* Başarı Mesajı İçerik Hizalama */
.success-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Tüm içeriği yatayda ortalar */
    justify-content: center;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

/* Onay İkonu Dairesi - Tam Ortalama */
.success-circle {
    width: 80px;
    height: 80px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px; /* Üst/Alt 0, Yanlar otomatik (ortalama), Alt boşluk 25px */
}

.success-icon {
    width: 40px;
    height: 40px;
    fill: #fff;
    display: block;
}
.success-content h3 {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin-bottom: 15px;
    font-weight: 400;
}

.success-content p {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.close-success {
    background: #fff;
    color: #000;
    border: none;
    padding: 15px 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s ease;
    text-transform: uppercase;
}

.close-success:hover {
    background: #000;
    color: #fff;
    outline: 1px solid #fff;
}

/* Linklere tıklandığında veya odaklandığında çıkan çerçeveyi kaldırır */
a, button {
    outline: none !important;
    -webkit-tap-highlight-color: transparent; /* Mobil dokunma rengini kaldırır */
}

/* Chrome ve Safari için özel temizlik */
a:focus, button:focus {
    outline: none !important;
    box-shadow: none !important;
}
.contact-inline-info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 60px;
    margin-top: 22px;
    flex-wrap: nowrap; /* ← wrap'i kaldırın */
}

.contact-inline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 0; /* ← bunu değiştirin */
    padding: 8px 0;
    min-width: 0;
}

.contact-inline-text {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px; /* Başlık yazısıyla ikon hizası */
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: #000;
}

.contact-inline-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #000;
    letter-spacing: 0.3px;
}

.contact-inline-text p,
.contact-inline-text a {
    margin: 0;
    font-size: 13px;    
    line-height: 1.5;
    color: #666;
    text-decoration: none;
}

.contact-inline-text a:hover {
    color: #000;
}


@media (max-width: 480px) {
    .contact-inline-info {
        flex-direction: column;
        gap: 24px;
    }

    .contact-inline-item {
        min-width: 100%;
    }
}
.send-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 100%;
    min-height: 48px;
    padding: 14px 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 0.74rem;
}
.send-btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    letter-spacing: 2.5px;
}
.honeypot-field {
    display: none;
}