
:root {
    --bg-light: #f8fafc;        
    
 
    --brand-navy: #0F254B;       
    --brand-silver: #a8a9ad;    
    --brand-silver-light: #d1d5db;
    
   
    --glass-fill: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.9);
    
    --glass-shadow: 0 20px 50px rgba(15, 37, 75, 0.08); 
    
    --text-primary: #0F254B;    
    --text-secondary: #475569;   
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* Arka Plan Marka Küreleri (Zarif Suluboya Hissi) */
.brand-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden; background: var(--bg-light);
}
.orb {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}
.orb-navy {
    width: 650px; height: 650px; background: var(--brand-navy);
    top: -10%; left: -10%;
}
.orb-silver {
    width: 550px; height: 550px; background: var(--brand-silver);
    bottom: -10%; right: -5%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}


.avant-header {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 20px 0; border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px); background: rgba(248, 250, 252, 0.8);
}
.header-grid {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center;
}
.logo-wrapper img { height: 55px; }

.nav-wrapper { display: flex; gap: 40px; justify-content: center; }
.nav-wrapper a {
    color: var(--brand-navy); text-decoration: none;
    font-size: 0.85rem; letter-spacing: 1.5px; font-weight: 700;
    opacity: 0.6; transition: opacity 0.3s;
}
.nav-wrapper a:hover { opacity: 1; }

.action-wrapper { display: flex; justify-content: flex-end; }
.btn-avant {
    color: #fff; background: var(--brand-navy);
    padding: 12px 28px; text-decoration: none;
    font-weight: 700; font-size: 0.85rem; letter-spacing: 1px;
    border-radius: 8px; transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(15, 37, 75, 0.15);
}
.btn-avant:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 12px 25px rgba(15, 37, 75, 0.25);
    background: var(--brand-silver); 
}


.avant-hero {
    height: 100vh; display: flex; align-items: center;
    padding-top: 80px;
}
.hero-layout {
    display: flex; justify-content: space-between; align-items: center; gap: 50px;
}
.hero-text-block { flex: 1; }

.micro-text {
    font-size: 0.9rem; letter-spacing: 4px; font-weight: 700;
    color: var(--brand-navy); margin-bottom: 25px;
    border-left: 3px solid var(--brand-silver); padding-left: 15px;
}
.massive-title {
    font-size: 6rem; line-height: 1.05; letter-spacing: -2px;
    margin-bottom: 30px; font-weight: 700; color: var(--brand-navy);
}
.gradient-text {
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-silver));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.3rem; line-height: 1.6; color: var(--text-secondary);
    max-width: 500px; font-weight: 500;
}


.hero-glass-panel {
    background: var(--glass-fill);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    padding: 45px; border-radius: 24px;
    width: 380px; transform: rotate(-2deg);
    box-shadow: var(--glass-shadow);
}
.panel-header {
    font-size: 0.8rem; letter-spacing: 2px; color: var(--brand-silver);
    margin-bottom: 30px; border-bottom: 1px solid rgba(15, 37, 75, 0.1);
    padding-bottom: 15px; font-weight: 700;
}
.panel-stat { margin-bottom: 25px; }
.stat-value {
    display: block; font-size: 3.5rem; font-weight: 700;
    line-height: 1; margin-bottom: 5px; color: var(--brand-navy);
}
.stat-label {
    font-size: 0.85rem; color: var(--text-secondary);
    letter-spacing: 1px; display: block; font-weight: 500;
}


.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

.section-heading {
    font-size: 3.5rem; line-height: 1.1; font-weight: 700;
    color: var(--brand-navy); margin-bottom: 20px; letter-spacing: -1px;
}


.vision-grid {
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
    
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
    align-items: center; background: var(--glass-fill);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border); border-radius: 24px;
    padding: 60px; box-shadow: var(--glass-shadow);
}

/* Arka Plan Logo (Filigran) Efekti */
.vision-grid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('logo.jpg');
    background-size: cover; /* Tüm alanı kaplaması için */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07; /* Çok hafif, göz yormayan düşük opaklık */
    z-index: -1; /* Sadece arka planda kalması için */
    pointer-events: none;
}

.vision-text-area p {
    font-size: 1.2rem; line-height: 1.8; color: var(--text-secondary);
    margin-bottom: 20px; font-weight: 500;
}
.vision-text-area p:last-child { margin-bottom: 0; }

/* Neden Biz Kartları */
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
}
.why-card {
    background: var(--glass-fill); backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px); border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 40px 30px; box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease;
}
.why-card:hover { transform: translateY(-10px); }
.why-icon {
    font-size: 2.5rem; color: var(--brand-silver); margin-bottom: 25px;
}
.why-card h3 {
    font-size: 1.3rem; color: var(--brand-navy); margin-bottom: 15px; font-weight: 700;
}
.why-card p {
    font-size: 1rem; color: var(--text-secondary); line-height: 1.6; font-weight: 500;
}

/* Responsive Düzenlemeler (Mobil Cihazlar İçin) */
@media (max-width: 992px) {
    .hero-layout, .vision-grid { grid-template-columns: 1fr; }
    .hero-glass-panel { width: 100%; transform: rotate(0); margin-top: 40px; }
    .massive-title { font-size: 4rem; }
}
/* --- HİZMETLER BÖLÜMÜ --- */
.services-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px;
}

.service-card {
    background: var(--glass-fill);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    /* Kartların üstüne Gökven Laciverti ince bir çizgi ekliyoruz */
    border-top: 4px solid var(--brand-navy);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 37, 75, 0.12);
    border-top-color: var(--brand-silver);
}


.service-num {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 8rem;
    font-weight: 700;
    color: var(--brand-navy);
    opacity: 0.04; /* Filigran gibi görünmesi için */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: color 0.4s;
}

.service-card:hover .service-num {
    color: var(--brand-silver);
    opacity: 0.1;
}

.service-icon {
    font-size: 2.2rem;
    color: var(--brand-navy);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--brand-navy);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
    position: relative;
    z-index: 1;
}
/* --- ÇÖZÜM SUNDUĞUMUZ CİHAZLAR BÖLÜMÜ --- */
.device-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.device-row {
    display: flex;
    background: var(--glass-fill);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden; /* Köşelerden taşmayı engeller */
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
    min-height: 280px; /* Kartın yüksekliğini belirler */
}

.device-row:hover {
    transform: translateX(10px);
    border-left-color: var(--brand-navy);
    box-shadow: 0 15px 35px rgba(15, 37, 75, 0.12);
}

.device-visual {
    flex: 0 0 50%; /* Görsel alanın tam yarısını (%50) kaplasın */
    position: relative;
    
 
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.device-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli bozmadan tüm %50'lik alanı doldurur */
    transition: transform 0.8s ease;
}

.device-row:hover .device-visual img {
    transform: scale(1.05); /* Üzerine gelince görsel usulca yakınlaşır */
}

.device-info {
    flex: 0 0 50%; /* Yazı alanı diğer %50'yi kaplar */
    
    padding: 40px 50px 40px 10px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.device-info h3 {
    font-size: 1.5rem;
    color: var(--brand-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.device-info p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

/* Mobil Ekranlar İçin Düzenleme */
@media (max-width: 992px) {
    .device-row {
        flex-direction: column;
    }
    .device-visual {
        flex: 0 0 250px;
        /* Mobilde geçiş sağa değil, aşağıya doğru keskin erisin */
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    }
    .device-info {
        flex: 1;
        padding: 10px 30px 40px 30px;
    }
}

/* =========================================
   MOBİL EKRANLAR İÇİN RESPONSIVE DÜZENLEMELER
   ========================================= */
@media (max-width: 992px) {
    /* Genel Konteyner ve Boşluklar */
    .container { padding: 0 20px; }
    .section-padding { padding: 60px 0; }
    
    /* Header (Menü) Toparlama */
    .header-grid { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
    }
    .nav-wrapper { display: none; } /* Dar ekranda linkleri gizler, sadece logo ve buton kalır */
    .logo-wrapper img { height: 40px; }
    .btn-avant { padding: 8px 16px; font-size: 0.75rem; }

    /* Hero (Karşılama) Ekranı Toparlama */
    .avant-hero { 
        height: auto; /* Sabit tam ekran yüksekliğini iptal et */
        padding-top: 130px; 
        padding-bottom: 60px; 
    }
    .hero-layout { 
        flex-direction: column; /* Yan yana yerine alt alta diz */
        gap: 30px; 
    }
    .massive-title { font-size: 3.5rem; line-height: 1.1; }
    .hero-desc { font-size: 1.1rem; }
    .hero-glass-panel { 
        width: 100%; /* Kartı tam genişlik yap */
        transform: rotate(0); /* Eğimi düzelt */
        padding: 30px; 
    }

    /* Vizyon (Hakkımızda) Toparlama */
    .vision-grid { 
        grid-template-columns: 1fr; /* 2 kolon yerine tek kolon yap */
        padding: 30px 20px; /* Dev boşlukları daralt ki yazı sığsın */
        gap: 30px;
    }
    .section-heading { font-size: 2.5rem; }
    .vision-text-area p { font-size: 1rem; }

    /* Cihazlar Bölümü Toparlama */
    .device-row { flex-direction: column; min-height: auto; }
    .device-visual {
        flex: 0 0 220px;
        
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
    }
    .device-info { padding: 10px 25px 30px 25px; }
    .device-info h3 { font-size: 1.3rem; }
}

/* --- REFERANSLAR (KAYAN LOGO BANDI) BÖLÜMÜ --- */
.marquee-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 40px 0;
    background: rgba(15, 37, 75, 0.02); /* Çok hafif arka plan */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    
    /* Sağ ve sol kenarlara doğru eriyerek kaybolma efekti */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    /* Animasyon hızı. Logolar daha akıcı geçsin diye süreyi ayarlayabilirsin */
    animation: scroll-marquee 40s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused; /* Üzerine gelince durmasını sağlar */
}

/* Logoların varsayılan (filtreli ve uyumlu) hali */
.marquee-content img {
    height: 50px; /* Tüm logoların yüksekliğini eşitler */
    width: auto;
    margin: 0 40px; /* Logolar arası mesafe */
    vertical-align: middle;
    filter: grayscale(100%) opacity(0.4); /* Siyah beyaz ve yarı saydam yapar */
    transition: all 0.4s ease;
    cursor: pointer;
}


.marquee-content img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1); /* Hafifçe büyür */
}

/* Kayan Bant Animasyonu */
@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


@media (max-width: 768px) {
    .marquee-content img {
        height: 40px;
        margin: 0 25px;
    }
}

/* --- POP-UP (MODAL) TASARIMI --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 37, 75, 0.4); 
    backdrop-filter: blur(15px);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--glass-fill);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 20px; right: 25px;
    font-size: 2rem;
    color: var(--brand-navy);
    cursor: pointer;
    transition: transform 0.3s;
}
.close-btn:hover { transform: rotate(90deg); }

.modal-header { margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 20px; }
.modal-header h2 { color: var(--brand-navy); font-size: 2rem; }

/* --- POP-UP GALERİ DÜZENİ (3 + 1 PANORAMA) --- */
.modal-gallery {
    display: grid;
  
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.modal-gallery img {
    width: 100%;
    height: 220px; /* Üstteki 3 görselin yüksekliği */
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
    cursor: zoom-in;
}

.modal-gallery img:hover { 
    transform: scale(1.02); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

 */
.modal-gallery img:nth-child(4) {
    grid-column: 1 / -1; 
    height: 200px; 
    object-position: center; 
}

/* --- CİHAZ KARTLARINDAKİ UYGULAMA BUTONU --- */
.view-work {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: var(--brand-navy); /* #0F254B */
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 37, 75, 0.2);
}

.device-row:hover .view-work {
    background-color: var(--brand-silver);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.view-work i {
    font-size: 1rem;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobil Cihazlar İçin Toparlama */
@media (max-width: 992px) {
    .modal-gallery {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2'li olsun */
    }
}
@media (max-width: 768px) {
    .modal-gallery {
        grid-template-columns: 1fr; 
    }
    .modal-gallery img,
    .modal-gallery img:nth-child(4) {
        height: 200px; 
    }
}
/* --- İLETİŞİM VE FOOTER BÖLÜMLERİ --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info-panel .section-heading { font-size: 4rem; margin-bottom: 25px; }
.contact-desc { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; font-weight: 500; }

.info-items { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; align-items: center; gap: 15px; font-weight: 700; color: var(--brand-navy); }
.info-item i { font-size: 1.2rem; color: var(--brand-silver); }

/* İletişim Formu Tasarımı */
.contact-form-panel {
    background: var(--glass-fill);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: var(--brand-navy);
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--brand-navy);
    background: #fff;
}

/* Footer Tasarımı */
.main-footer {
    padding: 80px 0 40px;
    background: #fff;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo img { height: 50px; margin-bottom: 20px; }
.footer-logo p { color: var(--text-secondary); font-weight: 500; max-width: 300px; }

.footer-links { display: flex; flex-direction: column; gap: 15px; }
.footer-links h4 { font-size: 0.9rem; letter-spacing: 2px; color: var(--brand-silver); margin-bottom: 10px; }
.footer-links a { text-decoration: none; color: var(--brand-navy); font-weight: 700; opacity: 0.7; transition: 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--brand-silver); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Mobil için Formu Alt Alta Getir */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-logo p { margin: 0 auto; }
}

.status-active {
    color: #00e676; /* Teknolojik, canlı bir yeşil */
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.6); /* Çevresine hafif neon ışığı yayar */
    animation: pulse-glow 2s ease-in-out infinite; /* 2 saniyede bir nefes alır gibi yanıp söner */
}

/* Yanıp Sönme (Pulse) Animasyonu */
@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1; 
        text-shadow: 0 0 10px rgba(0, 230, 118, 0.6); 
    }
    50% { 
        opacity: 0.4; /* Işık ve yazı hafifçe kısılır */
        text-shadow: 0 0 2px rgba(0, 230, 118, 0.1); 
    }
}