/* PRO TECH GRUP - FINAL CLEAN STYLE SHEET */

:root {
    --black: #050505;
    --gray-bg: #111111;
    --gray-card: #181818;
    --white: #ffffff;
    --silver: #888888;
    --text-dim: #cecece;
    --border: rgba(255, 255, 255, 0.1);
    --accent-gray: #d1d1d1;
}

/* Temel Sıfırlama */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    text-decoration: none; 
    list-style: none; 
    outline: none; 
}

html { 
    scroll-behavior: smooth; 
    background: var(--black); 
    scroll-padding-top: 100px; /* Sabit menü iniş payı */
    scrollbar-width: thin;
    scrollbar-color: #262626 #050505;
}

/* --- Özel Koyu Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 4px;
    border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--white); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}

/* --- Navigasyon (Masaüstü Temel) --- */
nav { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 20px 0; 
    display: flex; 
    justify-content: center; 
    transition: 0.3s ease;
}

.nav-inner { 
    width: 90%; 
    max-width: 1300px; 
    background: rgba(15, 15, 15, 0.9); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px); 
    border: 1px solid var(--border); 
    padding: 10px 40px; 
    border-radius: 100px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    transition: 0.4s ease;
}

.logo-wrap { 
    height: 40px; 
    display: flex;
    align-items: center;
    gap: 15px; 
    cursor: pointer;
}

.brand-name {
    font-family: 'Inter', sans-serif;
    color: var(--accent-gray); 
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-logo { 
    height: 100%; 
    width: auto; 
    filter: contrast(1.1); 
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a { 
    font-size: 11px; 
    letter-spacing: 2px; 
    color: var(--silver); 
    margin-left: 30px; 
    transition: 0.3s; 
    font-weight: 300;
}

.nav-links a:hover,
.nav-links a.active-link { 
    color: var(--white); 
    font-weight: 600;
}

.nav-sep { 
    width: 1px; 
    height: 15px; 
    background: var(--border); 
    margin-left: 30px; 
}

.cta-link { 
    font-weight: 800 !important; 
    color: var(--white) !important; 
}

/* Varsayılan olarak mobil elementleri gizle */
.nav-spacer { display: none; }
.mobile-menu-btn { display: none; }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        linear-gradient(to bottom, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.95) 100%),
        url('websitebg.png') center/cover no-repeat;
}

.hero-tag { 
    font-size: 15px; 
    letter-spacing: 5px; 
    color: #cecece; 
    display: block;
    margin-bottom: 15px;
}

.hero h1 { 
    font-size: clamp(3rem, 10vw, 7rem); 
    line-height: 0.9; 
    margin: 20px 0; 
    font-weight: 800; 
    letter-spacing: -4px;
}

.thin { font-weight: 100; letter-spacing: -1px; }

.hero-line { 
    width: 60px; 
    height: 1px; 
    background: var(--white); 
    margin-bottom: 30px; 
}

.hero p { 
    max-width: 500px; 
    color: #cecece;
    line-height: 1.8; 
    font-weight: 300; 
}

/* --- Sistemler (Görsel Kartlar) --- */
.section-services { padding: 120px 10%; background: var(--black); }

.section-label label { font-size: 15px; letter-spacing: 5px; color: #cecece; }

.section-label h2 { 
    font-size: 2.5rem; 
    margin: 15px 0 60px; 
    font-weight: 300; 
    letter-spacing: -1px; 
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.s-card { 
    background: var(--gray-card); 
    border: 1px solid var(--border); 
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    overflow: hidden;
}

.s-card:hover { 
    transform: translateY(-15px); 
    border-color: rgba(255,255,255,0.3); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6); 
}

.s-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.s-img-wrap::after {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 50%, var(--gray-card) 100%);
    pointer-events: none;
}

.s-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
}

.s-content { padding: 40px; position: relative; }

.s-card h3 { 
    font-size: 1.4rem; 
    margin-bottom: 15px; 
    font-weight: 600; 
    color: var(--white); 
}

.s-card p { 
    color: var(--text-dim); 
    font-size: 0.95rem; 
    line-height: 1.7; 
    margin-bottom: 25px; 
    font-weight: 300; 
}

.s-specs { 
    font-size: 11px; 
    color: var(--white); 
    letter-spacing: 1.5px; 
    border-top: 1px solid var(--border); 
    padding-top: 20px; 
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Kurumsal (Kimliğimiz) --- */
.section-corp { padding: 120px 10%; background: var(--gray-bg); display: flex; align-items: center; }
.corp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.corp-info label { font-size: 15px; color: #cecece; letter-spacing: 4px; }
.corp-info h2 { font-size: 3rem; margin: 25px 0; font-weight: 200; line-height: 1.1; }
.text-block p { color: var(--silver); margin-bottom: 20px; line-height: 1.8; font-weight: 300; }

.corp-visual { 
    position: relative;
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    background: var(--gray-card);
}

.corp-visual-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.corp-visual-inner::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.corp-visual img { 
    width: 100%; 
    display: block; 
    object-fit: cover;
}

.corp-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: transform 0.3s ease;
}

.corp-visual:hover .corp-badge {
    transform: translateY(-2px);
}

/* ======================================================== */
/* --- GÖRSELLER: SCROLL ESNASINDA 400MS RENKLENME EFEKTİ --- */
/* ======================================================== */

/* Kaymadan önce / ekranda değilken kesinlikle tam siyah-beyaz */
.corp-visual img,
.s-img-wrap img,
.card-visual img {
    filter: grayscale(100%) !important;
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
    will-change: filter, transform;
}

/* Scroll ile ekranda kayarken 400ms içinde renkli hale gelir */
.corp-visual.color-active img,
.s-card.color-active .s-img-wrap img,
.s-img-wrap.color-active img,
.partner-card.color-active .card-visual img,
.card-visual.color-active img {
    filter: grayscale(0%) !important;
}

/* Hover esnasında da renkli kalır ve hafifçe büyür */
.corp-visual:hover img,
.s-card:hover .s-img-wrap img,
.partner-card:hover .card-visual img {
    filter: grayscale(0%) !important;
    transform: scale(1.06);
}

/* --- İletişim & Form --- */
.section-contact { padding: 120px 10%; background: var(--black); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.c-info label { font-size: 15px; letter-spacing: 5px; color: #cecece; display: block; font-weight: 600; margin-bottom: 10px; }
.c-info h2 { font-size: 3rem; font-weight: 200; margin: 20px 0; }

/* İletişim Detayları */
.contact-list { display: flex; flex-direction: column; gap: 30px; }
.c-item { display: flex; flex-direction: column; gap: 8px; }
.c-label { font-size: 10px; letter-spacing: 2px; color: var(--silver); font-weight: 700; }
.c-val { font-size: 1rem; color: var(--white); font-weight: 400; line-height: 1.6; }

.c-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}
.c-link:hover {
    color: var(--silver);
}

/* Cam Efektli İletişim Form Kartı */
.c-form { 
    background: rgba(24, 24, 24, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    border-radius: 16px; 
    padding: 45px; 
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); 
}

.c-form form { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
}

input, textarea { 
    background: transparent; 
    border: none; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 14px 0; 
    color: #ffffff; 
    width: 100%; 
    font-family: 'Inter', sans-serif; 
    font-size: 14px; 
    transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder {
    color: #666666;
    transition: color 0.3s ease;
    font-weight: 300;
}

input:focus, textarea:focus { 
    border-bottom-color: #ffffff; 
    padding-left: 5px; 
}

input:focus::placeholder, textarea:focus::placeholder {
    color: #999999;
}

button[type="submit"] { 
    align-self: flex-start; 
    background: #ffffff; 
    color: #050505; 
    border: none; 
    border-radius: 4px; 
    padding: 18px 45px; 
    font-weight: 800; 
    font-size: 11px; 
    letter-spacing: 2px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    margin-top: 10px; 
}

button[type="submit"]:hover { 
    background: #d4d4d4; 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15); 
}

/* --- Kayan Referans Bandı (Ticker) - Kenar Yumuşatma & Pause --- */
.section-refs { 
    padding: 60px 0; 
    background: var(--gray-bg); 
    border-top: 1px solid var(--border); 
    border-bottom: 1px solid var(--border);
    overflow: hidden; 
    position: relative;
    z-index: 1;
}

.ticker-wrap { width: 100%; overflow: hidden; }
.ticker-wrap label { 
    display: block; 
    text-align: center; 
    font-size: 20px; 
    letter-spacing: 6px; 
    color: var(--silver); 
    margin-bottom: 30px; 
    font-weight: 600;
}

.ticker { 
    display: flex; 
    overflow: hidden; 
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.ticker:hover .ticker-inner { 
    animation-play-state: paused; 
}

.ticker-inner { 
    display: flex; 
    white-space: nowrap; 
    animation: slide 30s linear infinite; 
}

.ticker-inner span { 
    font-size: 3.5rem; 
    font-weight: 800; 
    color: #1f1f1f; 
    margin-right: 100px; 
    transition: 0.3s ease; 
    cursor: default;
    user-select: none;
}

.ticker-inner span:hover { 
    color: var(--white); 
    text-shadow: 0 0 20px rgba(255,255,255,0.2); 
}

@keyframes slide { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* --- WhatsApp Yüzen Buton --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: rgba(15, 15, 15, 0.95);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --- Referanslar Sayfası Stilleri --- */
.ref-hero {
    padding: 180px 10% 80px;
    background: linear-gradient(to bottom, #111, #050505);
    text-align: center;
}
.ref-hero h1 { 
    font-size: 4rem; 
    font-weight: 800; 
    letter-spacing: -2px; 
    color: #fff; 
}

.partners-gallery {
    padding: 80px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px;
    background: var(--black);
}

.partner-card {
    background: var(--gray-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 320px;
    display: flex;
    flex-direction: column;
    transition: 0.4s ease;
    overflow: hidden;
    position: relative;
}

.card-visual {
    flex: 1;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: transparent; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-info {
    height: 90px;
    background: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-info p {
    font-size: 0.8rem;
    color: var(--silver);
    font-weight: 300;
}

.partner-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.partner-card:hover .card-info {
    background: #1a1a1a;
}

/* --- Footer (Alt Bilgi) --- */
.main-footer {
    padding: 50px 10%;
    background: var(--black);
    border-top: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.main-footer p {
    font-size: 12px;
    color: var(--silver);
    letter-spacing: 1px;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--silver);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

/* ========================================= */
/* APPLE TARZI PREMIUM MOBİL MENÜ & RESPONSIVE */
/* ========================================= */

@media (max-width: 900px) {

    /* 1. SABİT ÜST BAR (Apple Header) */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        padding: 0;
        transition: 0.3s ease; 
    }

    .nav-inner {
        width: 100%;
        height: 60px;
        border: none;
        border-radius: 0;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row; 
        background: rgba(5, 5, 5, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    /* Scroll yapınca tam siyah */
    .nav-inner.scrolled {
        background: rgba(5, 5, 5, 0.95);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* 2. LOGO VE DENGELEYİCİ */
    .nav-spacer { display: block; width: 30px; } 
    
    .logo-wrap { margin: 0; height: 30px; } 
    .brand-name { font-size: 16px; letter-spacing: 1px; }

    /* 3. HAMBURGER BUTONU */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 10000; 
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Buton Çarpı Olma Efekti */
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .mobile-menu-btn.active span:nth-child(2) { transform: rotate(-45deg) translate(5px, -6px); }

    /* 4. AÇILIR MENÜ (FULL EKRAN) */
    .nav-links {
        display: flex; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; 
        background: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9998;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 24px; 
        font-weight: 600;
        color: var(--white);
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease 0.1s; 
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-sep { display: none; }
    
    /* 5. İÇERİK DÜZELTMELERİ */
    .hero, .ref-hero { padding-top: 120px !important; text-align: center; }
    .hero h1 { font-size: 3rem; }
    .ref-hero h1 { font-size: 2.5rem; }
    .hero, .section-corp, .section-services, .section-contact { padding-left: 5%; padding-right: 5%; }
    
    /* Gridleri Tek Sıraya Düşür */
    .services-grid, .corp-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    
    /* Kurumsal Ters Dizilim */
    .section-corp { flex-direction: column-reverse; }
    .corp-grid { display: flex; flex-direction: column-reverse; }
    
    /* Form */
    .c-form form div { flex-direction: column; }
    
    /* Referanslar Mobilde 2'li Olsun */
    .partners-gallery { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; 
        padding: 40px 5%; 
    }
    
    body.no-scroll { overflow: hidden; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    .whatsapp-tooltip {
        display: none;
    }
    .c-form {
        padding: 30px 20px;
    }
}

@media (max-width: 540px) {
    .partners-gallery {
        grid-template-columns: 1fr;
    }
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}