@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #c2f768;
    --primary-hover: #a8de4d;
    --primary-glow: rgba(194, 247, 104, 0.3);
    --bg-dark: #050505;
    --bg-surface: #121212;
    --glass-bg: rgba(25, 25, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
}

html {
    scroll-behavior: smooth;
}

/* Kayan Çubuk (Scrollbar) Özelleştirmesi */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    /* Teknolojik Grid Arka Plan */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    background-attachment: fixed;
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.text-custom { color: var(--primary) !important; }
.text-gradient {
    background: linear-gradient(135deg, #c2f768, #e0ff99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    color: var(--primary); text-transform: uppercase; letter-spacing: 3px; font-weight: 600; font-size: 0.85rem;
}

/* Modern Navbar */
.navbar { background: transparent !important; border-bottom: 1px solid transparent; transition: all 0.4s ease; padding-top: 25px; padding-bottom: 25px; }
.navbar.scrolled { background: rgba(5, 5, 5, 0.95) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); box-shadow: 0 4px 30px rgba(0,0,0,0.5); padding-top: 12px; padding-bottom: 12px; }
.navbar-brand img { height: 75px; transition: transform 0.3s ease; }
.navbar-brand:hover img { transform: scale(1.05); }
.nav-link {
    color: var(--text-main) !important; font-weight: 500; margin: 0 10px; position: relative; transition: color 0.3s;
}
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--primary); transition: width 0.3s ease;
}
.nav-link:hover { color: var(--primary) !important; }
.nav-link:hover::after { width: 100%; }

/* Hero Section */
.hero-section {
    position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px;
    background: radial-gradient(circle at 15% 50%, rgba(194, 247, 104, 0.08), transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(194, 247, 104, 0.05), transparent 50%);
}
.hero-title { font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.15rem; color: var(--text-muted); font-weight: 300; margin-bottom: 2.5rem; max-width: 90%; line-height: 1.6; }
.btn-primary-custom {
    background: var(--primary); color: #000; border: none; padding: 14px 32px; border-radius: 50px; font-weight: 700;
    transition: all 0.3s ease; box-shadow: 0 10px 20px var(--primary-glow); display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary-custom:hover {
    background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 15px 25px var(--primary-glow); color: #000;
}
.btn-outline-custom {
    background: transparent; color: #fff; border: none; padding: 14px 32px; border-radius: 50px;
    font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center;
}
.btn-outline-custom:hover { background: var(--glass-bg); border-color: var(--primary); color: var(--primary); }
.hero-image-wrapper { position: relative; animation: float 6s ease-in-out infinite; }
.hero-image-wrapper img { border-radius: 20px; box-shadow: none; border: none; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* Glass Cards (Services & Process) */
.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: none; border-radius: 20px; padding: 40px 30px; height: 100%; transition: all 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-15px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--primary-glow);
}
.icon-box {
    width: 70px; height: 70px; border-radius: 16px; background: rgba(194, 247, 104, 0.1); display: flex;
    align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); margin-bottom: 25px; border: 1px solid rgba(194, 247, 104, 0.2);
}

/* Process Steps */
.step-number {
    position: absolute; top: -15px; right: -15px; width: 50px; height: 50px; border-radius: 50%;
    background: var(--bg-dark); color: var(--primary); border: 2px solid var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; box-shadow: 0 0 15px var(--primary-glow);
}
.process-card { position: relative; }

/* Stats Counter */
.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0; line-height: 1; }
.stat-text { color: var(--text-muted); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; margin-top: 10px; }

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF;
    border-radius: 50px; text-align: center; font-size: 30px; z-index: 1000; box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.5);
    display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); color: #fff; box-shadow: 0px 6px 25px rgba(37, 211, 102, 0.7); }

/* About Image */
.about-image { position: relative; border-radius: 20px; overflow: hidden; }
.about-image::before {
    content: ''; position: absolute; inset: 0; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--glass-border); z-index: 1;
}

/* NFC Digital Card */
.nfc-page {
    background: #000;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 10% 20%, rgba(194, 247, 104, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(194, 247, 104, 0.1) 0%, transparent 40%);
    background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%;
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.digital-card {
    background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; padding: 40px 30px;
    width: 100%; max-width: 420px; box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative; overflow: hidden; transform-style: preserve-3d;
}
.digital-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-glow), transparent 30%);
    animation: rotate 10s linear infinite; z-index: 0; opacity: 0.3; pointer-events: none;
}
.digital-card-content { position: relative; z-index: 1; transform: translateZ(30px); }
@keyframes rotate { 100% { transform: rotate(360deg); } }

/* NFC Radar Ping Effect */
.profile-img-wrap {
    width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%; padding: 4px;
    background: linear-gradient(135deg, var(--primary), #444); position: relative; z-index: 2;
}
.profile-img-wrap::before, .profile-img-wrap::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%; border: 2px solid var(--primary); z-index: -1; animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.profile-img-wrap::after { animation-delay: 1s; }
@keyframes ping {
    75%, 100% { transform: scale(1.6); opacity: 0; }
}

.profile-img-wrap img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #fff; }
.nfc-name { font-size: 1.7rem; font-weight: 700; text-align: center; margin-bottom: 5px; }
.nfc-title { text-align: center; color: var(--primary); font-size: 1rem; font-weight: 500; margin-bottom: 30px; }
.info-group {
    background: rgba(0, 0, 0, 0.4); border: none; border-radius: 16px;
    padding: 18px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center;
    transition: border-color 0.3s;
}
.info-group:hover { border-color: rgba(194, 247, 104, 0.5); }
.info-data { display: flex; flex-direction: column; }
.info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.info-value { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.5px; }
.iban-value { font-family: 'Courier New', Courier, monospace; font-size: 0.95rem; letter-spacing: 0px; }
.copy-icon {
    width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; color: var(--primary);
}
.copy-icon:hover { background: var(--primary); color: #000; transform: scale(1.05); }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.btn-nfc {
    background: rgba(255, 255, 255, 0.05); border: none; color: #fff;
    padding: 14px; border-radius: 14px; text-align: center; font-weight: 500; text-decoration: none;
    transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-nfc:hover { background: var(--primary); border-color: var(--primary); color: #000; }
.btn-nfc.full-width { grid-column: span 2; }
footer { background: #000; border-top: 1px solid var(--glass-border); }


/* ====================================================
   FERAH VE NEFES ALAN MOBİL TASARIM (MOBILE FIRST)
   ==================================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(20px);
        padding: 20px; border-radius: 16px; margin-top: 15px; border: none; text-align: center;
    }
    .nav-link { margin: 12px 0; font-size: 1.15rem; }
    .nav-link::after { display: none; }
}

@media (max-width: 768px) {
    section { padding-top: 100px !important; padding-bottom: 100px !important; }
    .hero-section { min-height: auto; padding-top: 160px !important; padding-bottom: 80px !important; text-align: center; }
    .hero-title { font-size: 2.8rem; line-height: 1.3; margin-bottom: 1.5rem; padding: 0 10px; }
    .hero-desc { font-size: 1.05rem; line-height: 1.7; margin-bottom: 3rem; padding: 0 15px; }
    .hero-section .d-flex { justify-content: center; gap: 15px !important; }
    .hero-image-wrapper { margin-top: 5rem; padding: 0 20px; }
    .glass-card { padding: 45px 30px; margin-bottom: 1.5rem; }
    .icon-box { margin: 0 auto 25px auto; }
    #services h4, #services p, #process h4, #process p { text-align: center; }
    .about-image { margin-bottom: 4rem; padding: 0 15px; }
    #about { text-align: center; }
    #about .d-flex { justify-content: center; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 25px; }
    .nfc-page { padding: 15px; align-items: flex-start; padding-top: 5vh; }
    .digital-card { padding: 35px 20px 25px; border-radius: 24px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.3rem; }
    .hero-section .d-flex { flex-direction: column; padding: 0 20px; }
    .btn-primary-custom, .btn-outline-custom { width: 100%; padding: 16px 20px; }
    .action-grid { grid-template-columns: 1fr; gap: 12px; }
    .btn-nfc.full-width { grid-column: span 1; }
    .stat-number { font-size: 2.5rem; }
}

/* Alt Yaz� G�r�n�rl�k D�zeltmesi */
.text-muted { color: rgba(255, 255, 255, 0.7) !important; }



/* Ust Kisim G�zellestirmesi (Ambient Glow) */
.top-ambient-light { position: absolute; top: -150px; left: 50%; transform: translateX(-50%); width: 80vw; height: 500px; background: radial-gradient(ellipse at center, rgba(194, 247, 104, 0.15) 0%, transparent 60%); z-index: 0; pointer-events: none; }

/* SSS (Akordeon) Ozel Tasarimi */
.accordion-item { background: rgba(25, 25, 25, 0.4); border: 1px solid var(--glass-border); border-radius: 12px !important; margin-bottom: 15px; overflow: hidden; backdrop-filter: blur(10px); }
.accordion-button { background: transparent !important; color: var(--text-main) !important; font-weight: 600; box-shadow: none !important; padding: 20px 25px; }
.accordion-button:not(.collapsed) { color: var(--primary) !important; border-bottom: 1px solid var(--glass-border); }
.accordion-button::after { filter: invert(1); }
.accordion-body { color: rgba(255, 255, 255, 0.7); padding: 20px 25px; line-height: 1.6; font-size: 0.95rem; }


/* Mobil �effaf Men� Ergonomi D�zeltmesi */
@media (max-width: 991px) {
    .navbar {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    .navbar.scrolled {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .navbar-brand img {
        height: 50px !important; /* Mobilde logoyu daraltarak ekrani ferahlatir */
    }
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 6px 10px;
        border-radius: 10px;
        background: rgba(25, 25, 25, 0.5);
    }
}

/* Mobil Ekran Icin Logo ve Buton Guncellemesi */
@media (max-width: 991px) {
    .navbar {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .navbar-brand img {
        height: 70px !important; 
        transform: scale(1.3); /* Logonun kendi icindeki seffaf bosluklari yuzunden kucuk durmasini engeller */
        transform-origin: left center;
    }
    /* Hakkimizda butonu gibi outline butonlarin mobilde daha belirgin olmasi icin */
    .btn-outline-custom {
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        background: rgba(255, 255, 255, 0.03);
    }
}

/* Masaustu Logo Buyutme */
@media (min-width: 992px) {
    .navbar-brand img {
        height: 95px !important;
    }
}

/* Mobil Logo Ortalama ve Yeniden Boyutlandirma */
@media (max-width: 991px) {
    .navbar {
        position: relative;
    }
    .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
    }
    .navbar-brand img {
        height: 65px !important; /* Mobilde ortada kusursuz duracak boyut */
        transform: none !important; /* Onceki scale efektini iptal ediyoruz */
    }
    .navbar-toggler {
        margin-left: auto !important; /* Menu ikonunu saga yasla */
        position: relative;
        z-index: 10; /* Tiklanabilirligi koru */
    }
}

/* Mobil Header Son Revizyon */
@media (max-width: 991px) {
    .navbar {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    .navbar-brand img {
        height: 100px !important; /* Mobilde de buyuk ve gosterisli olmasi icin 100px */
    }
    .navbar-toggler {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 5px !important;
        margin-right: 5px;
    }
}

/* Mobil Dinamik Logo (Kirmizi Kutu �cin �zel) */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 250px !important; /* Logoya mukemmel bir bosluk acmak icin */
    }
    .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        top: 140px !important; /* Tam olarak isaretlenen kirmizi kutu hizasi */
        transform: translate(-50%, -50%) !important;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .navbar-brand img {
        height: 150px !important; /* Istenilen devasa boyut */
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* Asagi kaydirildiginda logoyu kucultup eski yerine (menuye) geri aliyoruz ki ekrani kapatmasin */
    .navbar.scrolled .navbar-brand {
        top: 50% !important;
    }
    .navbar.scrolled .navbar-brand img {
        height: 50px !important; /* Scroll yaparken ideal kucukluk */
    }
}

/* Mobil Bosluk Kapatma (Logoyu ve yaziyi yakinlastirma) */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 200px !important; /* Eski 250px degerini kuculterek aradaki gereksiz boslugu aldik */
    }
}

/* Mobil Menu Acildiginda Logo Cakismasi Engelleme */
@media (max-width: 991px) {
    .navbar-collapse {
        position: relative !important;
        z-index: 9999 !important;
        background: rgba(10, 10, 10, 0.98) !important; /* Tam koyu arka plan */
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.8) !important;
    }
    /* Menu acilirken logoyu yumusakca gizle */
    .navbar:has(.navbar-collapse.show) .navbar-brand,
    .navbar:has(.navbar-collapse.collapsing) .navbar-brand {
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.2s ease !important;
    }
}

/* Mobil Son Mesafe ve Konum Ayari */
@media (max-width: 991px) {
    .navbar-brand {
        top: 95px !important; /* Logoyu epey yukari aldik */
    }
    .hero-section {
        padding-top: 165px !important; /* Yaziyi logoya iyice yaklastirdik */
    }
}

/* Mobil Yazi Yukar� Cekme (Son Rotus) */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px !important; /* Aradaki boslugu tamamen kapattik */
    }
}

/* Infinite Marquee Section */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--primary);
    padding: 15px 0;
    position: relative;
    z-index: 5;
    border-top: 2px solid #050505;
    border-bottom: 2px solid #050505;
    transform: rotate(-1.5deg) scale(1.05);
    margin: 80px 0 60px 0;
    box-shadow: 0 0 40px rgba(194, 247, 104, 0.15);
}
.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
    font-size: 1.4rem;
    font-weight: 800;
    color: #050505;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.marquee-content span {
    margin: 0 30px;
    display: inline-flex;
    align-items: center;
}
.marquee-content i {
    font-size: 1.2rem;
    margin-right: 12px;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-content:hover {
    animation-play-state: paused;
}

/* Kayan Bant Pikselleşme ve Titreme Duzeltmesi */
.marquee-wrapper {
    transform: rotate(-1.5deg) scale(1.05) translateZ(0) !important;
    -webkit-font-smoothing: antialiased !important;
    backface-visibility: hidden !important;
    outline: 1px solid transparent !important;
    will-change: transform;
}
.marquee-content {
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
    will-change: transform;
}