/* Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

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

/* Header - Logo ortada, menü sağda */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
}

.header-empty { width: 40px; } /* Denge için */
.main-logo { height: 120px; width: auto; }

/* Hamburger Menü Butonu (izler sayfasına özel hizalama) */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Footer Alanı */
.main-footer {
    margin-top: 100px;
    padding: 40px 5%;
    text-align: center;
}

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

.footer-text { font-size: 0.9rem; font-weight: 600; }
.social-icons { display: flex; gap: 15px; }

.copyright-line {
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 1px;
}
.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;
}
@media (max-width: 768px) {
    .footer-row { flex-direction: column; gap: 15px; }
}
/* Geçiş Perdesi Stili */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Sayfa yüklendiğinde perdenin yukarı gitmesi için sınıf */
.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); }
}

/* --- İzler Sayfası Grid Tasarımı --- */
.works-container {
    width: 100%;
    padding-top: 20px; /* Header ile mesafe */
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Yan yana 2 adet */
    gap: 0px; /* Görseller arası çok ince estetik bir çizgi (isteğe bağlı 0 yapabilirsin) */
}

.work-item {
    width: 100%;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.work-image-wrapper {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    overflow: hidden;
}

.work-item img {
    display: block;
    width: 310px;
    height: 310px;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover efekti contain varken de çalışır */
.work-item:hover img {
    transform: scale(1.1);
}

.work-title {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 20px 0 40px 0; /* Yazı aralıkları */
    text-transform: uppercase;
    color: #333;
}

/* Mobil Uyumluluk: Telefondan bakınca tekli sıra olur */
@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
    .work-image-wrapper {
        height: 300px; /* Mobilde daha küçük kutular */
        padding: 40px;
    }
}
/* --- Footer (iPhone Safe Area Fix) --- */
.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;
}

.social-icons a { color: #000; font-size: 1.2rem; }

/* --- Responsive Düzenlemeler --- */
@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr; /* Mobilde tekli sıra */
    }

    .main-logo { height: 60px; }

    .work-image-wrapper {
        height: 250px;
    }

    .footer-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Loader */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}
.page-transition.loaded { transform: translateY(-100%); }
/* === 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; 
}
}
/* 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;
}