/* ==========================================================================
   NÜKLEER İMLEÇ VE METİN KİLİDİ (TAM APP HİSSİYATI)
   ========================================================================== */
html, body, div, main, section, article, h1, h2, h3, h4, h5, h6, span, li, ul {
    cursor: default !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
/* ==========================================================================
   ÖZEL KAYDIRMA ÇUBUĞU (CUSTOM SCROLLBAR)
   ========================================================================== */
/* Tüm tarayıcılar için çubuğun genel genişliği */
::-webkit-scrollbar {
    width: 6px; /* İpince, minimalist bir çizgi */
    background-color: #F0F0F0; /* Arka planı hafif gri */
}

/* Kaydırılabilir alanın (havuzun) rengi */
::-webkit-scrollbar-track {
    background-color: transparent; /* Transparan yaparak site zeminiyle bütünleştir */
}

/* Kaydırıcı (tutan) çubuğun stili */
::-webkit-scrollbar-thumb {
    background-color: #111; /* Siyah/füme, minimalist bir çizgi */
    border-radius: 50px; /* Kenarları yuvarlak, kapsül gibi */
    transition: background-color 0.3s ease;
}

/* Fare üzerine gelince çubuğun hafifçe parlaması */
::-webkit-scrollbar-thumb:hover {
    background-color: #333; /* Hafif açılır */
}

http://googleusercontent.com/immersive_entry_chip/0
a, a *, button, label, .project-card, .project-card *, .nav-arrow, .scroll-up-arrow, .scroll-down-arrow, .menu-button, .menu-button * {
    cursor: pointer !important;
}

p, .contact-mail, .description-column p, .text-col p, .detail-block, .detail-block * {
    cursor: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* ==========================================================================
   TEMEL AYARLAR VE PROJE SAYFALARI (PANASONIC & OMEGA)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease;
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
    color: inherit;
}

/* --- HEADER --- */
.top-header {
    background-color: #E6E6E6; 
    text-align: center;
    padding: 40px 0;
    margin-bottom: 0; 
}

.designer-name {
    font-family: 'Sansation Light', sans-serif;
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #444;
}

/* --- BAŞLIKLAR VE METİNLER (INTER) --- */
.project-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #111;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.project-subtitle {
    font-size: 18px;
    color: #666;
}

/* Tüm içeriği ortalayan ve genişliği sınırlayan ana kutu */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%; 
}

/* --- ANA GÖRSEL VE SİNEMATİK BOŞLUK (SENİN ORİJİNAL TASARIMIN) --- */
.hero-image-section {
    position: relative;
    min-height: 100vh !important; 
    margin-bottom: 40px;
    display: block;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0 !important;
}

.scroll-down-arrow {
    position: absolute;
    bottom: 140px; 
    left: 50%;
    transform: translateX(-50%);
    opacity: 0; 
    transition: all 0.4s ease; 
    z-index: 10;
    filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.4)); 
}

.hero-image-section:hover .scroll-down-arrow { opacity: 0.7; }
.scroll-down-arrow:hover { opacity: 1; transform: translateX(-50%) translateY(5px); cursor: pointer; }

/* --- İÇERİK BÖLÜMÜ --- */
.project-content { padding-bottom: 80px; }
.title-area { margin-bottom: 20px; }

/* --- OKLAR VE AYIRICI ÇİZGİ --- */
.divider-area { display: flex; align-items: center; margin-bottom: 40px; }
.divider-line { flex-grow: 1; border: none; border-top: 1px solid #ddd; margin: 0 20px; }
.nav-arrow { background-color: #E6E6E6; border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 20px; color: #fff; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: background-color 0.3s ease; text-decoration: none; z-index: 100; }
.nav-arrow:hover { background-color: #ccc; }

/* --- İKİLİ IZGARA (AÇIKLAMA VE DETAYLAR) --- */
.content-grid { display: flex; gap: 80px; margin-top: 80px; margin-bottom: 30vh; }
.description-column { flex: 6.5; font-size: 15px; color: #444; line-height: 1.8; }
.description-column p { margin-bottom: 24px; text-align: justify; }
.details-column { flex: 3.5; font-size: 14px; color: #555; line-height: 1.7; }
.detail-block { margin-bottom: 24px; }
.detail-block strong { color: #222; font-weight: 600; }
.year strong { font-size: 16px; letter-spacing: 1px; font-weight: 800; }

/* --- 01 PROCESS BÖLÜMÜ --- */
.process-section { padding-top: 60px; }
.process-header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #E6E6E6; padding-bottom: 10px; margin-bottom: 60px; }
.section-title { font-size: 54px; font-weight: 900; letter-spacing: -1px; color: #111; }
.section-title .thin { font-weight: 300; margin-right: 10px; }

.btn-goto { background-color: #EAEAEA; color: #333333; text-decoration: none; padding: 10px 28px; border-radius: 50px; font-size: 16px; font-weight: 300; transition: all 0.4s ease; display: inline-block; }
.btn-goto:hover { background-color: #757575; color: #FFFFFF; }
.btn-goto:active { background-color: #262626; color: #FFFFFF; transition: all 0.1s ease; }

/* --- SATIR (GRID) DÜZENİ --- */
.content-row { display: flex; flex-wrap: nowrap; width: 100%; gap: 40px; margin-bottom: 50px; align-items: center; }
.reverse-row { flex-direction: row-reverse; }
#result .content-row { gap: 20px; margin-bottom: 20px; }
.text-col { flex: 1; }
.media-col { flex: 1.2; }
.align-center { display: flex; flex-direction: column; justify-content: center; }

.media-col img, .media-col video { width: 100%; height: auto; display: block; object-fit: cover; }
.text-col h3 { font-size: 28px; font-weight: 800; margin-bottom: 15px; color: #111; }
.text-col p { font-size: 15px; color: #555; margin-bottom: 30px; }
.flaw-item h4, .strategy-item h4 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 5px; }
.flaw-item p, .strategy-item p { margin-bottom: 20px; }

/* HMW Banner */
.hmw-banner { background-color: #F2F2F2; padding: 30px 0; margin: 40px 0 80px 0; width: 100%; }
.hmw-banner p { font-size: 16px; font-weight: 500; color: #333; text-align: left; line-height: 1.8; margin: 0; }

/* --- PANASONIC ÖZEL IZGARALARI --- */
.flaws-wrapper { display: flex; gap: 15px; width: 100%; align-items: stretch; }
.flaws-left-col { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.flaws-right-col { flex: 1; }
.flaws-wrapper img { width: 100%; display: block; object-fit: cover; }
.flaws-left-col img { height: calc(50% - 7.5px); }
.flaws-right-col img { height: 100%; }

/* --- OMEGA ÖZEL IZGARALARI --- */
.strategy-vertical-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; width: 100%; }
.strategy-vertical-grid img { width: 100%; height: auto; object-fit: contain; display: block; }
.three-col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; width: 100%; }
.three-col-grid img { width: 100%; height: auto; display: block; object-fit: cover; margin-bottom: 15px; }
.grid-item h4 { font-size: 16px; font-weight: 700; color: #111; margin-bottom: 10px; }
.grid-item p { font-size: 14px; color: #555; line-height: 1.6; }
.app-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 20px; margin-bottom: 80px; }
.app-features-grid .grid-item h4 { margin-bottom: 5px; }
.content-row.image-gallery { align-items: stretch !important; }
.content-row.image-gallery .media-col img { height: 100%; object-fit: cover; }
.three-col-grid.image-gallery { align-items: stretch; }
.three-col-grid.image-gallery .grid-item { display: flex; }
.three-col-grid.image-gallery img { height: 100%; margin-bottom: 0; object-fit: cover; }
.content-row.ratio-wide-left .media-col:first-child { flex: 1.8; }
.content-row.ratio-wide-left .media-col:last-child { flex: 1; }

/* ==========================================================================
   ANA SAYFA (HOME PAGE) ÖZEL STİLLERİ
   ========================================================================== */
:root {
  --home-bg: #ffffff;
  --home-surface: #e6e6e6;
  --home-text: #333333;
  --home-text-muted: rgba(51, 51, 51, 0.55);
  --home-card-radius: 2px;
  --home-container-max: 1280px;
  --home-space-1: 0.5rem;
  --home-space-2: 1rem;
  --home-space-3: 1.5rem;
  --home-space-4: 2rem;
  --home-space-5: 3rem;
}

.home-page { background: var(--home-bg); color: var(--home-text); margin: 0; padding: 0; font-family: "Inter", Arial, sans-serif; line-height: 1.45; }
.home-page img { display: block; max-width: 100%; }
.home-page a { color: inherit; text-decoration: none; }
.home-container { width: min(100% - 2rem, var(--home-container-max)); margin-inline: auto; }
.home-section { padding-block: var(--home-space-5); }
.site-header { background: var(--home-surface); border-bottom: 1px solid rgba(0, 0, 0, 0.04); }
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: flex-start; gap: var(--home-space-3); position: relative; }

.brand { font-family: 'Sansation Light', 'Sansation', sans-serif; font-size: 26px; font-weight: 300; letter-spacing: 2px; color: #444 !important; white-space: nowrap; z-index: 3; }

.menu-toggle { position: absolute; inset: auto; opacity: 0; pointer-events: none; }
.menu-button { display: none; width: 2.5rem; height: 2.5rem; position: relative; margin-left: auto; cursor: pointer; z-index: 3; }
.menu-button span { position: absolute; left: 50%; width: 1.5rem; height: 2px; background: var(--home-text); transform: translateX(-50%); transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; }
.menu-button span:nth-child(1) { top: 0.78rem; }
.menu-button span:nth-child(2) { top: 1.19rem; }
.menu-button span:nth-child(3) { top: 1.6rem; }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3.25rem); }

/* Menü Linkleri */
.nav-link { color: rgba(51, 51, 51, 0.55) !important; transition: color 0.3s ease !important; position: relative; font-size: clamp(1.125rem, 2.1vw, 2rem); font-weight: 300; }
.nav-link:hover { color: #111111 !important; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -0.3rem; width: 0; height: 2px; background: #111111 !important; transition: width 0.3s ease-out; }
.nav-link:not(.is-active):hover::after { width: 100%; }
.nav-link.is-active { color: #111111 !important; }
.nav-link.is-active::after { width: 100%; }

.intro { padding-top: clamp(4rem, 11vw, 10rem); padding-bottom: clamp(2rem, 6vw, 4rem); }
.intro-inner { max-width: 580px; margin-inline: auto; text-align: center; }
.intro h1 { margin: 0 0 var(--home-space-2); font-size: clamp(30px); font-weight: 600; font-style: italic; line-height: 1.15; }
.intro p { margin: 0; font-size: clamp(30px); font-weight: 300; font-style: italic; }

.projects { padding-top: var(--home-space-3); padding-bottom: clamp(2rem, 4vw, 3rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.1vw, 1.8rem); }
.project-card { position: relative; border-radius: var(--home-card-radius); overflow: hidden; background: #fff; aspect-ratio: 378 / 260; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.project-card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); opacity: 0; transition: opacity 0.4s ease; z-index: 1; pointer-events: none; }

.project-card .home-project-content, .project-card .project-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; color: #fff; z-index: 2; opacity: 0; transform: translateY(20px); transition: all 0.4s ease; box-sizing: border-box; }
.project-card .home-project-content h2, .project-card .project-content h2 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: #fff !important; }
.project-card .home-project-content p, .project-card .project-content p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

.project-card:hover img { transform: scale(1.08); }
.project-card:hover::after { opacity: 1; }
.project-card:hover .home-project-content, .project-card:hover .project-content { opacity: 1; transform: translateY(0); }

/* --- SAYFA KESİLME KİLİDİNİ ÇÖZEN GÜVENLİ KOD --- */
html, body, .page-transition-wrapper { min-height: 100vh; overflow-x: hidden; display: block; }

/* ==========================================================================
   ABOUT (HAKKIMDA) SAYFASI ÖZEL STİLLERİ
   ========================================================================== */
.about-page { padding-top: 60px; padding-bottom: 100px; }
.about-hero-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; margin-bottom: 80px; }
.about-photo img {
    max-width: 100%; /* Görselin sütundan taşmasını engeller */
    width: auto;     /* Görseli zorla büyütmez, kendi orijinal genişliğinde bırakır */
    height: auto;    /* Orijinal en-boy oranını kusursuz korur */
    display: block;
    object-fit: contain; /* Görselin hiçbir yerinin kırpılmamasını garanti eder */
}
.about-intro h1 { font-size: 32px; font-weight: 800; margin-bottom: 5px; color: #111; }
.about-intro h2 { font-size: 28px; font-weight: 700; margin-bottom: 25px; color: #111; }
.about-intro p { font-size: 15px; line-height: 1.7; color: #444; margin-bottom: 20px; }

.about-layout { display: flex; gap: 80px; align-items: flex-start; }
.about-left { flex: 6.5; }
.about-right { flex: 3.5; }

.about-block { margin-bottom: 50px; }
.about-block h3 { font-size: 32px; font-weight: 800; margin-bottom: 30px; color: #111; }
.timeline-item { display: flex; gap: 30px; margin-bottom: 30px; }
.timeline-year { font-size: 13px; font-weight: 800; min-width: 130px; color: #111; }
.timeline-item h4 { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 5px; }
.timeline-item p { font-size: 15px; color: #666; margin-bottom: 3px; }
.timeline-item ul { margin-top: 10px; padding-left: 20px; font-size: 15px; color: #555; line-height: 1.6; }

.skill-list article { margin-bottom: 25px; }
.skill-list h4 { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 6px; }
.skill-list p { font-size: 15px; color: #555; line-height: 1.6; }
.software-list { list-style: none; padding: 0; }
.software-list li { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 10px; }
.contact-mail { font-size: 15px; color: #555; margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; }
.social-links svg { width: 28px; height: 28px; fill: #111; transition: fill 0.3s ease; }
.social-links svg:hover { fill: #666; }

/* ==========================================================================
   EKSTRALAR (GEÇİŞLER, YUKARI OK, HAMBURGER)
   ========================================================================== */
.page-transition-wrapper { animation: pageEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; opacity: 0; transform: translateY(15px); }
@keyframes pageEnter { to { opacity: 1; transform: translateY(0); } }
.page-exit { animation: pageLeave 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards !important; }
@keyframes pageLeave { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-15px); } }

.back-to-top-wrapper { text-align: center; padding: 60px 0 20px 0; margin-top: 20px; }
.scroll-up-arrow { display: inline-flex; justify-content: center; align-items: center; width: 54px; height: 54px; border-radius: 50%; background-color: #E6E6E6; color: #333; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); cursor: pointer; text-decoration: none; }
.scroll-up-arrow svg { width: 24px; height: 24px; transition: transform 0.3s ease; }
.scroll-up-arrow:hover { background-color: #111; color: #fff; transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }

.menu-toggle:checked + .menu-button span:nth-child(1) { top: 1.19rem; transform: translateX(-50%) rotate(45deg); }
.menu-toggle:checked + .menu-button span:nth-child(2) { opacity: 0; transform: translateX(-50%) scale(0); }
.menu-toggle:checked + .menu-button span:nth-child(3) { top: 1.19rem; transform: translateX(-50%) rotate(-45deg); }

/* ==========================================================================
   MEDYA SORGULARI (MOBİL VE TABLET UYUMU)
   ========================================================================== */
@media (max-width: 1024px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { aspect-ratio: auto; overflow: visible; }
  .project-card img { aspect-ratio: 378 / 260; height: auto; }
  .home-project-content { position: static; padding: 0.8rem 0.35rem 0.1rem; color: var(--home-text); opacity: 1; transform: none; transition: none; }
  .project-card::after { display: none; }
  .project-card:hover { transform: none; box-shadow: none; }
  .project-card:hover img { transform: none; filter: none; }
}

@media (max-width: 900px) {
    .content-grid { flex-direction: column; gap: 40px; }
    .about-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-layout { flex-direction: column; gap: 40px; }
    .timeline-item { flex-direction: column; gap: 5px; }
    .timeline-year { min-width: auto; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 96px; justify-content: flex-start; padding-block: 1rem; }
  .menu-button { display: block; }
  .nav { position: absolute; left: auto; right: 0; top: calc(100% - 0.15rem); transform: none; min-width: 180px; padding: 0.75rem 0.9rem; border-radius: 10px; background: rgba(230, 230, 230, 0.98); box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12); flex-direction: column; align-items: flex-start; gap: 0.65rem; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; z-index: 2; }
  .menu-toggle:checked ~ .nav { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .project-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .intro { padding-top: 3.5rem; }
  .home-project-content h2 { font-size: 0.96rem; line-height: 1.18; }
  .home-project-content p { margin-top: 0.22rem; font-size: 0.86rem; line-height: 1.25; }
}

/* ==========================================================================
   MOBİL PROJE SAYFASI DÜZENLEMELERİ (DEV GÖRSELLERİ VE BOŞLUKLARI EZER)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Yan boşlukları mobilde daraltırız */
    .container { padding: 0 20px !important; }

    /* 2. Masaüstündeki dev uçurumu sadece mobilde sıfırlarız */
    .hero-image-section { min-height: 0 !important; height: auto !important; margin-bottom: 25px !important; padding-bottom: 0 !important; }

    /* 3. Devasa dikey boşluğu mobilde ezerek yazıları alt alta alırız */
    .content-grid { flex-direction: column !important; gap: 30px !important; margin-top: 40px !important; margin-bottom: 50px !important; }
    .content-row, .reverse-row { flex-direction: column !important; gap: 30px !important; margin-bottom: 40px !important; }
    
    .process-header { flex-direction: column !important; align-items: flex-start !important; gap: 15px !important; margin-bottom: 30px !important; }
    .media-col, .text-col, .description-column, .details-column { width: 100%; flex: none; }
    
    /* 4. Butonlar ve Ayırıcılar */
    .btn-goto { width: auto; padding: 8px 20px !important; font-size: 14px !important; }
    .divider-area { gap: 10px; margin-bottom: 30px; }

    /* 5. Özel Izgaralar (Grid) tek sütun olur */
    .three-col-grid, .strategy-vertical-grid, .app-features-grid, .flaws-wrapper {
        grid-template-columns: 1fr !important; flex-direction: column !important; gap: 20px !important;
    }

    /* 6. MOBİLDE GÖRSEL BOYUTLARI (Dev gibi kalmasını engeller) */
    .media-col img, .media-col video, .three-col-grid img, .strategy-vertical-grid img, .flaws-wrapper img, .about-photo img {
        max-height: 45vh !important; width: 100% !important; object-fit: contain !important; margin: 0 auto !important;
    }
    .hero-img { max-height: 55vh !important; width: 100% !important; object-fit: cover !important; }

    /* 7. MOBİLDE TİPOGRAFİ (Yazıları küçültüp sola yaslar) */
    .designer-name { font-size: 20px !important; }
    .project-title { font-size: 26px !important; line-height: 1.2 !important; letter-spacing: -0.5px !important; margin-bottom: 8px !important; }
    .project-subtitle { font-size: 15px !important; }
    .section-title { font-size: 30px !important; }
    .text-col h3, .about-intro h1, .about-intro h2, .about-block h3 { font-size: 22px !important; margin-bottom: 10px !important; }
    .flaw-item h4, .strategy-item h4, .grid-item h4, .timeline-item h4, .skill-list h4 { font-size: 15px !important; }
    
    p, .description-column p, .details-column, .text-col p, .grid-item p, .timeline-item p, .timeline-item ul, .skill-list p, .contact-mail { 
        font-size: 14px !important; line-height: 1.6 !important; text-align: left !important; 
    }
    .hmw-banner { margin: 40px 0; padding: 25px 0; }
    .hmw-banner p { font-size: 14px !important; line-height: 1.6 !important; }
}
/* ==========================================================================
   MOBİLDE ÜÇLÜ GÖRSELLERİ YAN YANA TUTMA
   ========================================================================== */
@media (max-width: 768px) {
    /* Görselleri tek sütun yerine tekrar 3 sütun (yan yana) yapar */
    .strategy-vertical-grid, 
    .three-col-grid.image-gallery {
        grid-template-columns: repeat(3, 1fr) !important;
        flex-direction: row !important;
        gap: 10px !important; /* Yan yana sıkışmasınlar diye aralığı tatlı bir boyuta çektik */
    }

    /* Görsellerin ekranı patlatmadan kendi kutularına sığmasını sağlar */
    .strategy-vertical-grid img, 
    .three-col-grid.image-gallery img {
        max-height: 15vh !important; /* Mobilde çok uzamasınlar */
        object-fit: contain !important;
        width: 100% !important;
    }
}
/* ==========================================================================
   MOBİLDE PANASONIC 3'LÜ ÜTÜ SORUNLARI GÖRSELLERİNİ YAN YANA DİZME
   ========================================================================== */
@media (max-width: 768px) {
    /* Ana kutuyu 3 eşit sütunlu bir ızgaraya çeviriyoruz */
    .flaws-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        flex-direction: row !important;
    }
    
    /* İçerdeki sol ve sağ gruplama kutularını mobilde 'hayalet' yapıyoruz */
    .flaws-left-col, 
    .flaws-right-col {
        display: contents !important; 
    }
    
    /* 3 görseli de eşit boyutta, yan yana küçük kareler gibi ayarlıyoruz */
    .flaws-wrapper img {
        width: 100% !important;
        max-height: 120px !important; /* Telefondaki yüksekliği, çok uzamasınlar */
        height: 100% !important;
        object-fit: cover !important; /* Kırpılmadan kareye tam otursunlar */
        margin: 0 !important;
    }
}
/* ==========================================================================
   MOBİL ÖZEL DÜZELTMELER (ABOUT VE ANA SAYFA KARTLARI)
   ========================================================================== */
@media (max-width: 768px) {
    
    /* --- 1. ABOUT SAYFASI (Görsel üstte, yazı altta net görünüm) --- */
    .about-hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 40px !important;
    }
    .about-photo {
        width: 100% !important;
    }
    .about-photo img {
        width: 100% !important;
        max-height: none !important; /* Mobildeki 45vh kısıtlamasını yok eder */
        aspect-ratio: 1 / 1 !important; /* Fotoğrafı telefonda tam ve şık bir kare yapar */
        object-fit: cover !important;
        object-position: center top !important; /* Yüzün odaklanmasını sağlar */
        margin: 0 !important;
    }
    .about-intro {
        width: 100% !important;
    }
    .about-intro h1 {
        margin-top: 10px !important;
    }

    /* --- 2. ANA SAYFA PROJE KARTLARI (Hover iptal, yazılar aşağıda) --- */
    .project-card {
        aspect-ratio: auto !important;
        overflow: visible !important;
        background: transparent !important;
        margin-bottom: 15px !important;
    }
    .project-card img {
        aspect-ratio: 4 / 3 !important; /* Görseller tek tip, ekrana oturan bir oranda dursun */
        height: auto !important;
        width: 100% !important;
        object-fit: cover !important;
    }
    .project-card::after {
        display: none !important; /* Resmin üzerine gelen siyah perdeyi tamamen yok eder */
    }
    .project-card .home-project-content {
        position: relative !important; /* Yazıyı resmin içinden çıkarıp altına sabitler */
        opacity: 1 !important; /* Yazıları her zaman %100 görünür yapar */
        transform: none !important; /* Aşağıdan gelme animasyonunu iptal eder */
        padding: 12px 5px 10px 0 !important; /* Resimle yazı arasına tatlı bir boşluk bırakır */
        background: transparent !important;
    }
    .project-card .home-project-content h2 {
        color: #111 !important; /* Başlık rengini siyah yapar */
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }
    .project-card .home-project-content p {
        color: #666 !important; /* Alt başlık rengini okunaklı bir gri yapar */
        font-size: 14px !important;
        margin: 0 !important;
    }
}
/* ==========================================================================
   MASAÜSTÜ YAZI BOYUTLARINI BÜYÜTME (SADECE BİLGİSAYAR İÇİN)
   ========================================================================== */
@media (min-width: 769px) {
    /* Ana açıklamalar ve büyük paragraflar (Örn: 15px'ten 17px'e çıktı) */
    .description-column p, 
    .text-col p, 
    .about-intro p,
    .hmw-banner p {
        font-size: 17px !important;
        line-height: 1.8 !important;
    }

    /* Sağ taraftaki detaylar, roller, tarihler ve grid altı yazıları (Örn: 14px'ten 16px'e çıktı) */
    .details-column, 
    .detail-block, 
    .grid-item p, 
    .timeline-item p, 
    .timeline-item ul, 
    .skill-list p {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }

    /* Eğer alt başlıkları (My Role, Key Learnings vb.) da bir tık büyütmek istersen */
    .detail-block strong,
    .grid-item h4,
    .flaw-item h4,
    .strategy-item h4 {
        font-size: 17px !important;
    }
}
/* ==========================================================================
   ABOUT SAYFASI ALT KISIM FERAHLATMA (BOŞLUK AYARLARI)
   ========================================================================== */
/* 1. Ana başlıklar (Skills, Awards, Contact) arasındaki büyük boşluk */
.about-block {
    margin-bottom: 70px !important; 
}

/* 2. Yeteneklerin (Research, Development vb.) kendi aralarındaki boşluk */
.skill-list article {
    margin-bottom: 30px !important; 
}

/* 3. Ödül kısmındaki başlık ile altındaki açıklama yazısının arası */
.awards-block h4 {
    margin-bottom: 8px !important;
}

/* 4. Contact kısmındaki mail adresi ile sosyal medya ikonları arası */
.contact-mail {
    margin-bottom: 25px !important;
}
/* ==========================================================================
   MOBİLDE SIRALAMA DEĞİŞTİRME (SOFTWARE ÖDÜLLERİN ÜSTÜNE)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Sol ve sağ sütunların görünmez olmasını (hayalet kutu) sağlıyoruz */
    .about-layout.bottom-row .about-left,
    .about-layout.bottom-row .about-right {
        display: contents !important; 
    }

    /* 2. Ana kutuyu esnek (flex) yapıp alt alta diziyoruz */
    .about-layout.bottom-row {
        display: flex !important;
        flex-direction: column !important;
    }

    /* 3. Ve işte sihir: Kendi istediğimiz sırayı (order) veriyoruz! */
    .skills-block   { order: 1 !important; }
    .software-block { order: 2 !important; } /* Software'i hemen 2. sıraya aldık */
    .awards-block   { order: 3 !important; } /* Ödüller 3. sıraya kaydı */
    .contact-block  { order: 4 !important; } /* İletişim en alta indi */
}
/* ==========================================================================
   MOBİL İÇİN BOŞLUKLARI DARALTMA (UÇURUM GİDERİCİ)
   ========================================================================== */
@media (max-width: 768px) {
    /* Bloklar arası devasa 70px boşluğu mobilde 35px'e düşürdük */
    .about-block {
        margin-bottom: 35px !important; 
    }
    
    /* Yetenekler ve ödüller arası boşlukları da mobilde bir tık kıstık */
    .skill-list article {
        margin-bottom: 20px !important; 
    }
}
/* ==========================================================================
   DİL SEÇENEĞİ BUTONU (KAPSÜL TASARIM)
   ========================================================================== */
.lang-switch-btn {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111;
    background-color: #E6E6E6;
    padding: 8px 14px;
    border-radius: 50px; /* Kapsül görünümü */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Butonu sağa iter */
    margin-right: 20px; /* Hamburger menü ile arasına boşluk bırakır */
    z-index: 10;
}

.lang-switch-btn:hover {
    background-color: #111;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Mobilde menü butonunun yanına tam oturması için ufak bir ayar */
@media (max-width: 768px) {
    .header-inner .menu-button { margin-left: 0; }
    .lang-switch-btn { margin-right: 15px; padding: 6px 12px; font-size: 12px; }
}
/* Other Projects Grid */
.other-projects {
    background-color: #f8f9fa; /* Hafif arka plan */
    padding: 40px 0;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}
.other-projects .container h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
}
.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.other-project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.other-project-card img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}
.other-project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}
.other-project-content h2 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.other-project-content p {
    font-size: 0.9rem;
    margin: 0;
}
/* Büyük ekranda (992px ve üzeri) hover efekti */
@media (min-width: 992px) {
    .other-project-card:hover img {
        transform: scale(1.05);
    }
    .other-project-card:hover .other-project-content {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Küçük ekranda (991px ve altı) hoversız, yazılı görünüm */
@media (max-width: 991px) {
    .other-project-content {
        opacity: 1; /* Her zaman göster */
        transform: translateY(0); /* Her zaman göster */
        position: relative; /* Görüntünün altında göster */
        padding: 10px 0;
        color: black; /* Siyah metin */
        background: none; /* Arka plan yok */
        text-align: center;
    }
    .other-project-card img {
        transition: none; /* Animasyon yok */
    }
    .other-projects-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun */
        gap: 15px;
    }
}
/* ==========================================================================
   PREMIUM PRELOADER (YÜKLEME EKRANI) - KIRILMAZ VERSİYON
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: 9999998; /* Siyah arka planın derinliği */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-text {
    position: relative;
    z-index: 9999999 !important; /* Yazı kesinlikle arka planın üstünde! */
    font-family: 'Sansation';
    font-style: normal;
    font-size: 14px; /* Biraz daha okunaklı yaptık */
    font-weight: 700;
    letter-spacing: 8px;
    color: #ffffff !important; /* Rengi beyaza zorluyoruz */
    text-transform: uppercase;
    animation: pulseLoader 1.5s infinite ease-in-out;
    
}

@keyframes pulseLoader {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

.preloader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}
