/* Click Medya — Ana Stil Dosyası (style.css)
   ---------------------------------------------------
   Bu dosyada tüm tasarım sistemini oluşturdum. Yapıyı şöyle
   organize ettim: önce reset ve token'lar, sonra component'lar
   (navbar, hero, slider vb.), en sonda responsive kurallar.
   Her bölümde CSS custom property'lerimi (CSS değişkenleri)
   kullandım ki renk veya spacing değişikliği tek noktadan yönetilebilsin.
   =================================================== */


/* ===================================================
   1) RESET & TOKENS
   ---------------------------------------------------
   Burada tarayıcı varsayılan stillerini sıfırladım ve tüm projede
   kullanacağım renk, radius ve spacing değerlerini CSS custom
   property olarak tanımladım. Böylece herhangi bir yerde
   var(--red) yazarak marka rengine erişebiliyorum. */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Marka renkleri — Ana kırmızı ve koyu tonlar */
    --red: #ED1C24;
    --dark: #0a0a0a;
    --darker: #050505;
    --white: #ffffff;

    /* Gri skalası — Metin hiyerarşisi ve border'lar için */
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-600: #525252;

    /* Border radius token'ları — Tutarlı yuvarlak köşeler için */
    --radius-card: 28px;
    --radius-pill: 100px;
    --radius-btn: 100px;

    /* Layout sabitleri */
    --nav-h: 72px;
    --container: 1320px;

    /* Özel easing fonksiyonu — Doğal hissettiren animasyonlar için
       bu cubic-bezier'i kullandım. Hızlı başlayıp yavaş bitiyor. */
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Smooth scroll'u aktif ettim ki anchor linklere tıklandığında
   sayfa yumuşak bir şekilde kayarak ilgili bölüme gitsin. */
html {
    scroll-behavior: smooth;
}

/* Body'de Inter fontunu birincil olarak ayarladım.
   Fallback olarak sistem fontlarını verdim. Antialiasing ile
   font kenarlarını düzleştirdim, özellikle macOS'ta fark edilir.
   overflow-x: hidden ile yatay scrollbar'ı engelledim. */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Görseller için temel kurallar — block display ile alt boşluğu
   engelledim, max-width: 100% ile taşmayı önledim. */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

/* Container'ı max-width ile sınırladım ve margin-inline: auto ile
   sayfada ortaladım. Padding ile kenarlardan nefes payı bıraktım. */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}


/* ===================================================
   2) NAVBAR (Floating Pill + Glassmorphism)
   ---------------------------------------------------
   Navbar'ı fixed yapıp z-index: 100 verdim ki her zaman
   içeriğin üstünde kalsın. Pill şeklinde border-radius ile
   yuvarlattım, glassmorphism efektiyle şeffaf arka plan verdim.
   Scroll edildiğinde padding azalarak daha kompakt bir hal alıyor. */

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 20px 24px 0;
    transition: padding .3s var(--ease);
}

.navbar.is-scrolled {
    padding-top: 14px;
}

/* Nav container'a backdrop-filter ile blur ve saturate efekti verdim.
   Bu glassmorphism efekti sayesinde arkadaki içerik bulanık görünüyor
   ama navbar hala okunabilir kalıyor. */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 60px;
    padding: 0 6px 0 22px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius-pill);
    position: relative;
}

/* --- Logo --- */

/* Logo'yu flex ile yatay hizaladım. Ikon ve yazı görselleri
   yan yana duruyor, gap: 0 ile aralarında boşluk bırakmadım. */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -.01em;
    color: var(--dark);
}

/* Logo mark — Footer'daki CSS-only logo ikonu için kullandım.
   Clip-path ile "C" harfi şeklinde bir kesim uyguladım. */
.logo-mark {
    width: 22px;
    height: 27px;
    border-radius: 6px;
    background: var(--red);
    position: relative;
}

.logo-mark::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: var(--white);
    border-radius: 2px;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 50% 100%, 0 100%);
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.logo-text sup {
    font-size: 9px;
    opacity: .6;
    margin-left: 2px;
}

/* --- Nav Linkleri ---
   Linkleri absolute pozisyonla container'ın tam ortasına aldım.
   translateX(-50%) ile tam merkeze hizaladım. Hover'da alt çizgi
   animasyonu ile aktif linki vurguluyorum. */

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    position: relative;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 2px;
    transition: color .25s var(--ease);
}

/* Alt çizgi efekti — width: 0'dan 100%'e animasyonlu geçiş.
   Hover'da çizgi soldan sağa genişliyor. */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width .3s var(--ease);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Mobil Menü Butonu ---
   Desktop'ta display: none ile gizledim. 900px altında
   flex ile görünür oluyor. 3 span ile hamburger çizgilerini oluşturdum. */

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.navbar.is-scrolled .mobile-menu-btn span {
    background: var(--dark);
}


/* ===================================================
   3) HERO SECTION
   ---------------------------------------------------
   Hero'yu tam ekran yaptım (min-height: 100vh).
   Arka plan görseline ken-burns efekti verdim — heroZoom
   animasyonuyla yavaşça %100'den %110'a zoom yapıyor.
   ::before ve ::after ile çift katmanlı gradient overlay
   ekledim ki metin her görselin üzerinde okunabilir kalsın. */

.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 40px) 0 80px;
    border-top-left-radius: var(--radius-card);
    border-top-right-radius: var(--radius-card);
    overflow: hidden;
    isolation: isolate;
    background-color: #000;
  background-image: url("image/kapak.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    animation: heroZoom 18s var(--ease) infinite alternate;
}

/* Birinci overlay katmanı — Üstten alta doğru koyulaşan
   dikey gradient. Alt kısım daha koyu olsun ki
   hero-footnote metni rahat okunsun. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.40) 35%,
            rgba(0, 0, 0, 0.65) 75%,
            rgba(0, 0, 0, 0.85) 100%);
}

/* İkinci overlay katmanı — Radial gradient ile köşeleri karartıp
   merkezi biraz daha açık bıraktım. Sinematik bir vignette efekti. */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 30% 60%, transparent 0%, rgba(0, 0, 0, 0.55) 70%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.10) 55%, rgba(0, 0, 0, 0.45) 100%);
}

/* Hero container'ı grid ile düzenledim. align-content: end ile
   içeriği alta yasladım — büyük bir görsel alanı bırakıp
   başlığı altta konumlandırdım. */
.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-content: end;
    min-height: calc(100vh - var(--nav-h) - 120px);
    padding-bottom: 40px;
}

/* Hero badge — Küçük bir etiket, fadeUp animasyonuyla giriyor.
   0.1s gecikme ile başlık gelmeden önce görünüyor. */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: start;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp .8s var(--ease) .1s forwards;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--red);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border-radius: 3px;
}

/* Hero başlık — clamp() ile responsive boyut verdim.
   Mobilde 44px, geniş ekranlarda 120px'e kadar büyüyor.
   Negatif letter-spacing ile harfleri biraz sıkıştırdım,
   büyük font boyutlarında daha dengeli görünüyor. */
.hero-title {
    color: var(--white);
    font-size: clamp(44px, 8.4vw, 120px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.035em;
    max-width: 1100px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease) .25s forwards;
}

/* Hero footnote — Sağ alt köşeye yasladım (justify-self: end).
   0.45s gecikmeyle badge ve başlıktan sonra giriyor. */
.hero-footnote {
    justify-self: end;
    align-self: end;
    max-width: 380px;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    line-height: 1.55;
    margin-top: 80px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 1s var(--ease) .45s forwards;
}

/* fadeUp animasyonu — Aşağıdan yukarı kayarak belirme efekti.
   Birçok elementte bu animasyonu kullandım. */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* heroZoom animasyonu — Ken Burns efekti.
   Arka plan görseli yavaşça %100'den %110'a büyüyor,
   alternate ile geri de küçülüyor — sürekli bir hareket hissi. */
@keyframes heroZoom {
    0% {
        background-size: 100% auto;
    }

    100% {
        background-size: 110% auto;
    }
}


/* ===================================================
   4) INFINITE LOGO SLIDER (Marquee)
   ---------------------------------------------------
   Referans logolarını sonsuz kayan bir bant olarak tasarladım.
   CSS mask-image ile kenarlardan şeffaf gradient verdim ki
   logolar aniden kesilmesin. will-change: transform ile
   GPU hızlandırmasını aktif ettim, animasyon daha akıcı olsun. */

.logo-slider {
    background: var(--white);
    padding: 56px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.slider-mask {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* Slider track — flex ile logoları yan yana dizdim.
   width: max-content ile track kendi genişliğini alıyor.
   marquee animasyonuyla sola doğru kayıyor. */
.slider-track {
    display: flex;
    align-items: center;
    gap: 70px;
    width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform;
}

/* Hover'da animasyonu durdurdum ki kullanıcı logoları inceleyebilsin. */
.logo-slider:hover .slider-track {
    animation-play-state: paused;
}

.slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    min-width: 170px;
}

.slide img {
    height: 150px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: filter .3s, opacity .3s, transform .3s;
}

/* Hover'da hafif scale efekti — logoyu biraz büyüttüm. */
.slide img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Marquee animasyonu — translateX(-50%) ile track'in yarısı kadar
   sola kayıyor. JS'de içeriği 2 katına çıkardığım için
   bu tam bir döngü oluşturuyor. */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* ===================================================
   5) RESPONSIVE — Navbar, Hero, Slider
   ---------------------------------------------------
   Burada global responsive kurallarını yazdım. 900px altında
   nav linkleri gizledim ve hamburger menüyü gösterdim.
   480px altında spacing'leri daha da sıkıştırdım.
   prefers-reduced-motion ile hareket hassasiyeti olan
   kullanıcılar için animasyonları kapattım. */

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .contact-text {
        display: none;
    }

    .contact-btn {
        padding: 0 4px;
    }

    .hero {
        min-height: 92vh;
    }

    .hero-footnote {
        justify-self: start;
        margin-top: 48px;
    }

    .hero-title {
        font-size: clamp(40px, 12vw, 72px);
    }

    .slider-track {
        gap: 40px;
    }

    .slide img {
        height: 88px;
    }

    .slide {
        min-width: 120px;
        height: 110px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 18px;
    }

    .navbar {
        padding-inline: 14px;
    }

    .logo-text {
        font-size: 16px;
    }

    .hero {
        border-top-left-radius: 22px;
        border-top-right-radius: 22px;
    }

    .slider-track {
        animation-duration: 22s;
    }
}

/* Erişilebilirlik — Hareket hassasiyeti olan kullanıcılar için
   tüm animasyonları kapattım ve elemanları doğrudan
   görünür hale getirdim. */
@media (prefers-reduced-motion: reduce) {
    .slider-track {
        animation: none;
    }

    .hero {
        animation: none;
    }

    .hero-badge,
    .hero-title,
    .hero-footnote {
        animation: none;
        opacity: 1;
        transform: none;
    }
}


/* ===================================================
   6) HAKKIMIZDA
   ---------------------------------------------------
   İki kolonlu grid layout uyguladım: sol kolon biraz daha geniş (1.1fr)
   çünkü başlık daha fazla alan kaplıyor. Sağ kolondaki CTA butonuna
   hover'da translateY(-2px) ile hafif bir "kalkma" efekti verdim,
   box-shadow ile de gölge ekledim — buton havada süzülüyor gibi görünüyor. */

.about {
    background: var(--white);
    padding: 140px 0 100px;
}

/* Section etiketleri — Tüm bölümlerde tutarlı olması için ortak
   bir class oluşturdum. Kırmızı renk, küçük font, büyük harf. */
.section-label {
    display: inline-block;
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* Yardımcı class — marka kırmızısını metin içinde vurgulamak için. */
.text-red {
    color: var(--red);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 120px;
}

.about-title {
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.028em;
    color: var(--dark);
}

.about-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 32px;
}

/* CTA butonu — Koyu arka plan, beyaz metin, pill şeklinde.
   Hover'da yukarı kayma + gölge efekti. */
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4);
}

.about-cta .arrow {
    display: inline-block;
    transition: transform .3s var(--ease);
}

.about-cta:hover .arrow {
    transform: translateX(4px);
}

/* İstatistikler — 4 kolonlu grid, üstte ince ayırıcı çizgi.
   Büyük sayılar clamp() ile responsive boyutlandırdım.
   sup tag'indeki + işaretini kırmızı yaptım. */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 60px;
    border-top: 1px solid var(--gray-200);
}

.stat-num {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--dark);
    margin-bottom: 12px;
}

.stat-num sup {
    color: var(--red);
    font-size: .55em;
    font-weight: 700;
    margin-left: 2px;
    top: -.25em;
}

.stat-label {
    font-size: 15px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Hakkımızda responsive — 900px'de tek kolona geçtim,
   480px'de istatistikleri de alt alta dizdim. */
@media (max-width: 900px) {
    .about {
        padding: 80px 0 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 70px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Scroll reveal animasyonu — IntersectionObserver is-visible class'ı
   ekleyince opacity ve transform transition'ları tetikleniyor.
   Stats biraz daha gecikmeli giriyor (transition-delay: .3s). */
.about-grid,
.about-stats {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.about.is-visible .about-grid {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .1s;
}

.about.is-visible .about-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s;
}


/* ===================================================
   7) HİZMETLER
   ---------------------------------------------------
   Koyu arka plan üzerinde hizmet kartlarını grid'e yerleştirdim.
   Kartlar arasında 1px gap verdim ve grid arka planını rgba ile boyadım —
   bu kombinezon sayesinde kartlar arasında doğal bir border çizgisi oluşuyor,
   ayrıca border çizmeye gerek kalmadan. Akıllı bir teknik. */

.services {
    background: var(--dark);
    padding: 140px 0 0;
    color: var(--white);
}

.services .section-label {
    color: var(--red);
}

.services-header {
    max-width: 760px;
    margin-bottom: 80px;
}

.services-title {
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.028em;
    color: var(--white);
    margin-bottom: 24px;
}

.services-lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
    max-width: 560px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    overflow: hidden;
}

/* Hizmet kartı — Varsayılan olarak opacity: 0 ve aşağıda.
   JS'den is-in class'ı eklenince görünür oluyor.
   Hover'da arka plan hafifçe açılıyor (#111). */
.service-card {
    background: var(--dark);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 340px;
    position: relative;
    transition: background .35s var(--ease), opacity .6s var(--ease), transform .6s var(--ease);
    opacity: 0;
    transform: translateY(24px);
}

.service-card.is-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: #111;
}

.service-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.service-num {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .35);
    letter-spacing: .1em;
    font-variant-numeric: tabular-nums;
}

/* Hizmet ikonu — Hover'da hafif scale ve rotation efekti verdim.
   Küçük ama etkili bir mikro-animasyon, etkileşim hissi yaratıyor. */
.service-icon {
    width: 48px;
    height: 48px;
    color: var(--red);
    transition: transform .35s var(--ease);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-icon {
    transform: scale(1.12) rotate(-6deg);
}

.service-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -.012em;
    line-height: 1.2;
}

.service-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
    flex: 1;
}

/* Hizmet link — Hover'da kırmızıya dönüyor ve ok sağa kayıyor. */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-top: 12px;
    transition: color .25s var(--ease);
}

.service-card:hover .service-link {
    color: var(--red);
}

.service-link .arrow {
    display: inline-block;
    transition: transform .3s var(--ease);
}

.service-card:hover .service-link .arrow {
    transform: translateX(5px);
}

.service-card:last-child {
    grid-column: auto;
    max-width: 100%;
    text-align: left;
}

/* Hizmetler responsive — 900px'de 2 kolon kalıyor ama kart boyutları
   küçülüyor. 560px'de tek kolona düşüyor. */
@media (max-width: 900px) {
    .services {
        padding: 80px 0 60px;
    }

    .services-header {
        margin-bottom: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 36px 28px;
        min-height: 280px;
    }

    .service-card:last-child {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .services-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .service-card {
        min-height: auto;
        padding: 32px 28px;
    }

    .service-card:last-child {
        max-width: 100%;
    }
}


/* ===================================================
   8) PROJELER
   ---------------------------------------------------
   Proje kartlarını 2 kolonlu grid'e yerleştirdim.
   Her kartın görseline aspect-ratio: 16/10 verdim ki
   tüm kartlar aynı orana sahip olsun. object-fit: cover ile
   görselin kırpılmadan alana sığmasını sağladım.
   Hover'da görsel hafifçe büyüyor (scale 1.06) ve
   sağ üstte kırmızı bir "görüntüle" butonu beliriyor. */

.projects {
    background: var(--white);
    padding: 100px 0 100px;
}

.projects-header {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
}

.projects-title {
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.028em;
    color: var(--dark);
}

.projects-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* Projeler linki — Alt çizgi ile birlikte, hover'da gap büyüyor
   ve renk kırmızıya dönüyor. Küçük ama etkili bir mikro-animasyon. */
.projects-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    border-bottom: 1.5px solid var(--dark);
    padding-bottom: 4px;
    transition: gap .3s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.projects-link:hover {
    gap: 14px;
    color: var(--red);
    border-color: var(--red);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
}

/* Proje kartı — Başlangıçta opacity: 0 ve aşağıda.
   IntersectionObserver is-in class'ı ekleyince kayarak giriyor. */
.project-card {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.project-card.is-in {
    opacity: 1;
    transform: translateY(0);
}

.project-link {
    display: block;
}

.project-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--gray-100);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

/* Görüntüle butonu — Hover'da sağ üstte beliriyor.
   Beyazdan kırmızıya renk değiştiriyor. */
.project-view {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}

.project-card:hover .project-view {
    opacity: 1;
    transform: translateY(0);
    background: var(--red);
    color: var(--white);
}

.project-info {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 0 4px;
    flex-wrap: wrap;
}

/* Proje kategori etiketi — Kırmızı, büyük harfli, küçük font.
   Projenin türünü hemen belli ediyor. */
.project-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-name {
    flex: 1;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: var(--dark);
    letter-spacing: -.01em;
    line-height: 1.2;
    transition: color .25s var(--ease);
}

.project-card:hover .project-name {
    color: var(--red);
}

.project-year {
    font-size: 14px;
    color: var(--gray-400);
    font-variant-numeric: tabular-nums;
}

/* Projeler responsive */
@media (max-width: 900px) {
    .projects {
        padding: 80px 0 60px;
    }

    .projects-header {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: start;
        margin-bottom: 50px;
    }

    .projects-grid {
        gap: 32px 20px;
    }

    .project-image {
        border-radius: 16px;
        margin-bottom: 18px;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* ===================================================
   9) İLETİŞİM
   ---------------------------------------------------
   İletişim bölümünü koyu arka plan üzerinde iki kolonlu grid
   ile düzenledim. Sol kolonda bilgiler, sağ kolonda Google Maps
   haritası var. Alt köşelere border-radius vererek bölümün
   sayfa tasarımına uyumlu görünmesini sağladım. */

.contact {
    background: var(--dark);
    padding: 140px 0 100px;
    color: var(--white);
    border-bottom-left-radius: var(--radius-card);
    border-bottom-right-radius: var(--radius-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.028em;
    color: var(--white);
    margin-bottom: 24px;
}

.contact-lead {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 48px;
    max-width: 480px;
}

/* İletişim bilgileri listesi — Her item'ı column flex ile
   label üstte, value altta olacak şekilde dizdim.
   Aralarında ince border-bottom ile ayırdım. */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-info li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.contact-info li:first-child {
    padding-top: 0;
}

.contact-info li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-info-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-info-value {
    font-size: 18px;
    color: var(--white);
    font-weight: 500;
    transition: color .25s var(--ease);
}

a.contact-info-value:hover {
    color: var(--red);
}

/* Form stilleri — Şeffaf arka plan ve ince border ile kartımsı
   bir görünüm oluşturdum. Input focus'ta border kırmızıya dönüyor. */
.contact-form {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .02em;
}

.form-field label .optional {
    color: rgba(255, 255, 255, .3);
    font-weight: 400;
    font-size: 12px;
}

.form-field input,
.form-field textarea,
.form-field select {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .25s var(--ease), background .25s var(--ease);
    width: 100%;
}

.form-field select {
    cursor: pointer;
}

.form-field select option {
    background: var(--dark);
    color: var(--white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, .3);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, .06);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Form gönder butonu — Kırmızı arka plan, hover'da yukarı kayma
   ve kırmızımsı gölge efekti. */
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--red);
    color: var(--white);
    border: 0;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    margin-top: 8px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(255, 59, 48, .55);
}

.form-submit .arrow {
    display: inline-block;
    transition: transform .3s var(--ease);
}

.form-submit:hover .arrow {
    transform: translateX(4px);
}

/* Form durum mesajları — Başarı yeşil, hata kırmızı. */
.form-status {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    min-height: 20px;
    margin-top: 4px;
}

.form-status.is-success {
    color: #4ade80;
}

.form-status.is-error {
    color: var(--red);
}


/* ====== İLETİŞİM HARİTA (sağ kolon) ======
   Harita iframe'ine CSS filter ile invert uyguladım ki
   koyu tema ile uyumlu bir dark-mode harita görünümü elde edeyim.
   hue-rotate(180deg) renkleri doğru tonlara çeviriyor,
   saturate ile doygunluğu azaltıyorum. */

.contact-right {
    display: flex;
    align-items: stretch;
}

.contact-map {
    width: 100%;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}

/* İletişim responsive */
@media (max-width: 900px) {
    .contact {
        padding: 80px 0 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form {
        padding: 32px 24px;
        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-right {
        margin-top: 0;
    }

    .contact-map {
        height: 380px;
        border-radius: 18px;
    }
}


/* ===================================================
   10) FOOTER
   ---------------------------------------------------
   Footer'ı 4 kolonlu grid ile düzenledim: marka (2fr), menü,
   hizmetler ve sosyal linkler (her biri 1fr). Alt kısımda
   copyright ve konum bilgisi var. Mobilde kolonlar azalıyor. */

.footer {
    background: var(--dark);
    padding: 70px 0 40px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .5);
    max-width: 280px;
}

.footer h4 {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul a {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    transition: color .25s var(--ease);
}

.footer ul a:hover {
    color: var(--red);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer responsive — 900px'de 2 kolon, 560px'de tek kolon. */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ====== LOGO BOYUT DÜZELTMESİ ======
   Navbar'daki logo görsellerinin boyutlarını burada sabitledim.
   object-fit: contain ile görselin oranını koruyorum. */

.logo-text-img {
    height: 150px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-mark-img {
    height: 100px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}


/* ===================================================
   11) REFERANSLAR (Tam genişlik statik görsel)
   ---------------------------------------------------
   Bu bölümde tüm müşteri logolarını tek bir büyük görselde
   sergiledim. Görseli container dışına taşırdım ki tam
   viewport genişliğinde kaplasın. Üstte ince kırmızı bir
   dekoratif çizgi ekledim (::before pseudo element ile). */

.logos-showcase {
    background: var(--white);
    padding: 100px 0 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

/* Dekoratif üst çizgi — Kırmızı, 60px genişliğinde, ortalanmış. */
.logos-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

.showcase-intro {
    text-align: center;
    margin-bottom: 56px;
}

.showcase-intro .section-label {
    display: block;
    text-align: center;
    margin-bottom: 18px;
}

.showcase-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.028em;
    color: var(--dark);
    max-width: 760px;
    margin: 0 auto;
}

/* Görsel — Tam viewport genişliğinde.
   line-height: 0 ile img altındaki ghost boşluğu sıfırladım. */
.showcase-image-wrap {
    width: 100%;
    display: block;
    line-height: 0;
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Referanslar responsive */
@media (max-width: 900px) {
    .logos-showcase {
        padding: 70px 0 0;
    }

    .showcase-intro {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .logos-showcase {
        padding: 56px 0 0;
    }

    .showcase-intro {
        margin-bottom: 32px;
    }
}