:root {
    --primary-color: #0071e3;
    --dark-text: #1d1d1f;
    --light-bg: #f5f5f7;
    --white-bg: #ffffff;
    --card-bg-light: #ffffff;
    --font-family: 'Inter', sans-serif;
    --section-padding: 100px 5%;
    --primary-navy: #002D59; /* Güçlü Lacivert */
    --accent-green: #00CC7C; /* Vurgu Yeşil (Başarı/Akış) */
    --primary-dark: #1C1C1E; 
    --soft-text: #6E6E73; 
    --white-bg: #FFFFFF;
    --light-bg: #F8F9FA; /* Çok Hafif Gri */
    --border-light: #E0E0E0;
     --apple-blue: #007aff; 
    --neon-blue: #3399ff; 
    --dark-background: #000000;
}

body {
    font-family: var(--font-family);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg); 
    color: var(--dark-text);
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

section { padding: var(--section-padding); overflow: hidden; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-align: center; margin-bottom: 60px; color: var(--dark-text); }
.cta-button:hover { opacity: 0.8; }
.navbar a:not(.cta-button):hover { color: var(--primary-color); }

/* --- NAVİGASYON VE HERO STİLLERİ --- */
.navbar { position: fixed; top: 0; width: 100%; background-color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(0, 0, 0, 0.05); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; backdrop-filter: blur(10px); }
.navbar a { color: var(--dark-text); text-decoration: none; font-size: 0.85rem; font-weight: 500; margin-left: 30px; transition: color 0.3s; }
.logo { font-size: 1.1rem; font-weight: 600; }
.cta-button { background-color: var(--primary-color); color: white; padding: 8px 18px; border-radius: 999px; font-weight: 500; margin-left: 30px !important; transition: opacity 0.3s; }

.hero { 
    height: 100vh; 
    display: flex; 
    flex-direction: column; 
    /* justify-content: center;  */
    align-items: center; 
    text-align: center; 
    padding: var(--section-padding); 
    /* background: var(--light-bg) url('https://picsum.photos/1600/1000?blur=5') no-repeat center center/cover;  */
        background: var(--light-bg); 
    background-attachment: fixed;
    position: relative;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; max-width: 900px; color: var(--dark-text); text-shadow: 0 4px 10px rgba(255, 255, 255, 0.5); }
.hero p { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 400; max-width: 700px; margin-bottom: 40px; color: #4a4a4a; }

/* --- YENİ: 3D MODEL GÖRÜNTÜLEME STİLİ --- */
#product-3d-view {
    background: var(--dark-background);
    padding: 80px 5%;
    text-align: center;
}
model-viewer {
    width: 100%;
    max-width: 1000px; 
    height: 450px; 
    border-radius: 20px;
    /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); */
    margin: 40px auto 0 auto; 
    /* DEĞİŞİKLİK: Arka plan şeffaf yapıldı */
    background-color: transparent; 
    position: relative;
    display: block;
}

/* --- ÖZEL LOADING STİLLERİ (3D Modeli Yüklerken) --- */
.loading-spinner {
    border: 5px solid #f3f3f3; 
    border-top: 5px solid var(--primary-color); 
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px; 
    margin-left: -25px; 
    z-index: 10;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hata mesajı stili */
.error-message {
    color: #d9534f;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}

/* --- FARK YARATAN BÖLÜMÜ STİLİ --- */
.differentiator-section {
    background-color: var(--white-bg);
    padding: 0 5%;
    text-align: center;
}

.differentiator-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Başlık Alanı */
.main-header-area {
    text-align: center;
    margin-bottom: 70px;
}

.main-header-area h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
}

.main-header-area .tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: block;
}

.main-header-area .intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6e6e73;
    max-width: 900px;
    margin: 0 auto;
}

/* --- KARTLARI YAN YANA DİZENLEYEN KONTEYNER --- */
.visual-and-cards-container {
    display: block; 
    max-width: 1200px; 
    margin: 0 auto;
}

.focus-points-container {
    display: grid; 
    /* 3'lü kolon, minimum 300px genişlikte olacak şekilde */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    padding-top: 10px;
    padding-bottom: 10px; 
    width: 100%;
}

.focus-card {
    background-color: var(--white-bg); 
    padding: 35px;
    border-radius: 15px;
    text-align: left;
    border: 1px solid var(--primary-color); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.focus-card .icon-area { margin-bottom: 15px; }
.focus-card i { font-size: 2.5rem; color: var(--primary-color); transition: color 0.4s; }

/* End of Differentiator Section */

/* ÖZELLİKLER KARTLARI (ve diğer bölümlerin stilleri aynı kaldı) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.value-card { 
    background-color: var(--white-bg); 
    border: 1px solid rgba(0, 0, 0, 0.05); 
    padding: 30px; 
    border-radius: 15px; 
    text-align: left; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    transition: box-shadow 0.3s ease; 
}
.value-card i { font-size: 2rem; color: var(--primary-color); margin-bottom: 15px; display: block; }
.value-card h3 { font-size: 1.5rem; margin-top: 0; }
.value-card:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); }

/* Teknoloji (Zig-Zag) stilleri (Korumalı) */
.tech-summary { background-color: var(--light-bg); } 
.data-flow-container-zigzag { max-width: 1000px; margin: 80px auto 0; position: relative; display: flex; flex-direction: column; align-items: center; }
.flow-line-zigzag { position: absolute; width: 3px; height: 100%; background: #d3d3d3; z-index: 1; top: 0; left: 50%; transform: translateX(-50%); }
.flow-line-fill-zigzag { position: absolute; width: 100%; height: 0; background: linear-gradient(to bottom, var(--primary-color), #004d9c); z-index: 2; top: 0; transform-origin: top; left: 0; box-shadow: 0 0 15px rgba(0, 113, 227, 0.7); filter: blur(1px); }
.flow-module-zigzag { width: 100%; display: flex; justify-content: center; align-items: center; margin-bottom: 80px; position: relative; z-index: 5; }
.flow-module-zigzag:nth-child(odd) { justify-content: flex-start; }
.flow-module-zigzag:nth-child(even) { justify-content: flex-end; }
.flow-dot-zigzag { width: 18px; height: 18px; background-color: var(--primary-color); border-radius: 50%; border: 3px solid var(--white-bg); box-shadow: 0 0 8px rgba(0, 113, 227, 0.7); position: absolute; top: 0; transform: translateY(-50%); z-index: 10; }
.flow-module-zigzag:nth-child(odd) .flow-dot-zigzag { right: calc(50% - 30px); left: auto; }
.flow-module-zigzag:nth-child(even) .flow-dot-zigzag { left: calc(50% - 30px); right: auto; }
.module-card-zigzag { 
    width: 40%; 
    background-color: var(--light-bg); 
    padding: 25px; 
    border-radius: 10px; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); 
    border: 1px solid #e0e0e0; 
    transition: transform 0.3s ease;
}
.flow-module-zigzag:nth-child(even) .module-card-zigzag { margin-right: 60px; }
.flow-module-zigzag:nth-child(odd) .module-card-zigzag { margin-left: 60px; }
.module-card-zigzag h3 { font-size: 1.4rem; margin-bottom: 8px; }
.module-card-zigzag p { font-size: 0.9rem; }
.module-card-zigzag i { font-size: 1.8rem; margin-right: 15px; color: var(--primary-color); }
.module-header { display: flex; align-items: center; margin-bottom: 10px; }

/* --- UYGULAMA ALANLARI KARTLARI (Korumalı) --- */
.applications-section { 
    background-color: var(--light-bg); 
    color: var(--dark-text); 
    text-align: center;
    padding: 80px 5% 100px 5%;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.application-card {
    background-color: var(--card-bg-light);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 350px; 
    position: relative;
}

.card-header { margin-bottom: 20px; }

.card-icon {
    font-size: 2.5rem;
    padding: 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.teknik-ozellikler{
    background-color: var(--card-bg-light);
}

/* Kart Renkleri */
.application-card.card-water { border-top: 5px solid var(--primary-color); }
.application-card.card-water .card-icon { color: var(--primary-color); background-color: rgba(0, 113, 227, 0.1); }
.application-card.card-water h3 { color: var(--primary-color); }

.application-card.card-security { border-top: 5px solid #ff9500; }
.application-card.card-security .card-icon { color: #ff9500; background-color: rgba(255, 149, 0, 0.1); }
.application-card.card-security h3 { color: #ff9500; }

.application-card.card-industrial { border-top: 5px solid #34c759; }
.application-card.card-industrial .card-icon { color: #34c759; background-color: rgba(52, 199, 89, 0.1); }
.application-card.card-industrial h3 { color: #34c759; }

.application-card h3 { 
    font-size: 1.8rem; 
    font-weight: 700; 
    line-height: 1.2;
    margin-bottom: 10px;
}

.feature-list { list-style: none; padding-left: 0; }
.feature-list li { 
    margin-bottom: 12px; 
    display: flex; 
    align-items: flex-start; 
    font-size: 0.95rem; 
    color: var(--dark-text);
}
.feature-list li i { 
    color: var(--primary-color); 
    margin-right: 10px; 
    font-size: 0.9rem;
    margin-top: 5px;
    min-width: 15px;
}

footer {
    text-align: center;
    padding: 30px 5%;
    font-size: 0.85rem;
    background-color: var(--white-bg);
    border-top: 1px solid #e0e0e0;
    color: #6e6e73;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
th, td {
    padding: 14px 18px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
    font-size: 15px;
}
th {
    background: #f0f0f2;
    font-weight: 700;
}
tr:last-child td {
    border-bottom: none;
}
.category {
    background: #e7e7ea;
    font-weight: 700;
    font-size: 16px;
}
.container-project {
    max-width: 100%; 
    margin: 0 auto;
    padding: 60px 10px;
    background-color: var(--card-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    padding: 0 5%;
}
.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem); 
    font-weight: 900; 
    color: var(--primary-navy);
    margin-bottom: 10px;
}
.section-header p {
    font-size: 1.2rem;
    color: var(--soft-text);
    max-width: 900px;
    margin: 0 auto;
}

/* --- PROJE BÖLÜMÜ (MODÜLER) --- */
.project-section {
    background-color: var(--white-bg);
    margin-bottom: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Görsel Alanı (Tam Genişlik) */
.project-visual {
    width: 100%;
    height: 450px; /* Büyük görsel */
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.container-project-title{
    margin-bottom: 2em;
    text-align: center;
}
/* Proje Başlığı */
.project-content-area h3 {
    background-color: var(--primary-navy);
    color: var(--white-bg);
    padding: 25px 35px;
    font-size: 1.5rem;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 30px;
    border-radius: 8px;
    position: relative;
    /* left: -30px; */
    top: -30px;
    box-shadow: 0 10px 20px rgba(0, 45, 89, 0.4); /* Derinlik katmak için gölge */
}

/* Kısa Özet ve Giriş Metni */
.project-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
    line-height: 1.4;
}

/* Detaylar Grid Düzeni */
.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* İki sütun */
    gap: 30px;
}

.detail-item {
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
}

.detail-item:nth-child(-n+2) {
        border-top: none; /* İlk iki madde üst çizgisiz */
}

.detail-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-right: 10px;
}

.detail-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.detail-item span {
    font-size: 0.95rem;
    color: var(--soft-text);
}

/* --- PROJE KARTLARI TEMEL DÜZENLEMESİ --- */

/* Yan yana getireceğimiz ana kapsayıcı */
.projects-grid {
    /* İki eşit sütuna bölme (Yan Yana) */
    display: grid;
    grid-template-columns: 1fr 1fr; 
    
    /* Kartlar Arası Boşluk */
    gap: 40px; 
    
    /* Kartları container'ın merkezinde tutmak için maksimum genişlik */
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 2%; /* Yan boşluk */
}

/* Proje Kartlarının kendi içinde esnek olmasını ve eşit yüksekliği korumasını sağlamak için */
.project-card-column {
    display: flex; 
    flex-direction: column; /* İçeriği dikey olarak düzenler */
    height: 100%; /* Eşit yükseklik sağlamak için önemlidir */
    background-color: var(--white-bg);
    padding: 1em 3em;
    border-radius: 1em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.gallery-wrapper {
    max-width: 1440px; 
    margin: 0 auto;
    padding: 0 40px; 
}

.gallery-content-area {
    position: relative; /* Butonları bu alana göre konumlandırmak için */
    margin-bottom: 60px; /* Butonlar için alt boşluk */
}

.scroll-container {
    overflow-x: scroll; 
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 30px;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}

.card-set {
    display: flex;
    list-style: none;
    gap: 20px; 
    width: max-content;
}

.card-container {
    flex-shrink: 0;
    width: 350px; 
    scroll-snap-align: start;
}

/* --- Kart Stili (Değişmedi) --- */

.card-option {
    background-color: #fff;
    border-radius: 18px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); 
    border: 1px solid #e8e8ed; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.card-option:hover {
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card-copy-container {
    padding: 30px 30px 0; 
}

.feature-card-label {
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73; 
}

.feature-card-headline {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.2;
    margin-bottom: 2em;
}

.feature-card-body {
    font-size: 17px;
    color: #1d1d1f;
    line-height: 1.4;
    margin-bottom: 20px;
    margin-top: 1em;
}
p{
    text-indent: 0;
}
.feature-card-image-container {
    flex-grow: 1; 
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    padding: 0 30px 20px 30px;
    /* background-color: #fafafa;  */
    min-height: 150px; 
}

.product-image-2 {
    width: 80%;
    height: 120px;
    background-color: #d1d1d6; 
    border-radius: 8px;
    text-align: center;
    line-height: 120px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}


.card-control-optional {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
}

.tile-button {
    width: 34px;
    height: 34px;
    /* background-color: rgba(255, 255, 255, 0.65); 
    border: 1px solid rgba(0, 0, 0, 0.1); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.2s;
    background-color: #f5f5f7;
}

.icon-control {
    width: 30px;
    height: 30px;
    fill: #6e6e73;
}

/* --- YENİ BUTON KONUMLANDIRMASI (Kartların Altında) --- */

.paddlenav {
    position: absolute;
    bottom: -50px; /* .gallery-content-area alt kenarından 50px aşağıda */
    right: 0px; 
    display: flex;
    gap: 12px; 
    pointer-events: none;
    z-index: 20;
}

.paddlenav-item {
    pointer-events: auto; 
}

.paddlenav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; 
    height: 44px;
    border-radius: 50%;
    border: none;
    border: 0;
    background-color: rgba(210,210,215,0.64);
    /* box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); */
    cursor: pointer;
    transition: opacity 0.3s, background-color 0.3s, box-shadow 0.3s;
}

/* DISABLED BUTON STİLİ */
.paddlenav-arrow:disabled {
    opacity: 0.3; 
    cursor: default;
    pointer-events: none; 
    background-color: rgba(255, 255, 255, 0.5); 
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    opacity: var(0.42, 0.42);
}

.paddlenav-arrow svg {
    width: 30px;
    height: 30px;
    fill: #1d1d1f;
}

.gallery-header {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
}
.image-product{
    max-width: 300px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    grid-auto-rows: minmax(150px, 300px); 
    gap: 12px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 10px;
    
    /* 💡 BOŞLUKLARI DOLDURAN KRİTİK KURAL */
    grid-auto-flow: dense; 
}

/* KART (Grid Item) */
.grid-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform .3s ease-in-out, box-shadow .3s ease-in-out;
    cursor: pointer;
    position: relative;
}

.grid-item:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.grid-item img {
    width: 100%;
    height: 100%; 
    display: block;
    object-fit: cover;
}

/* RECTPACKR BENZERİ ÖLÇÜLER */
/* Geniş öğeler (2 sütun, 1 satır) */
.grid-item:nth-child(1), .grid-item:nth-child(6), .grid-item:nth-child(12), .grid-item:nth-child(13), .grid-item:nth-child(18) {
    grid-column: span 2; 
    grid-row: span 1;    
}

/* Uzun öğeler (1 sütun, 2 satır) */
.grid-item:nth-child(3), .grid-item:nth-child(7), .grid-item:nth-child(15), .grid-item:nth-child(19) {
    grid-column: span 1; 
    grid-row: span 2;    
}

/* RESPONSIVE AYARLAR */
@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-auto-rows: minmax(120px, 250px); 
    }
    /* Tüm özel span değerlerini ezer ve 1x1'e zorlar */
    .grid-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

/* MOBİL GÖRÜNÜM (600px ve altı) */
@media (max-width: 600px) {
    .gallery {
        /* 2 EŞİT SÜTUN */
        grid-template-columns: 1fr 1fr; 
        /* Yüksekliği kareye yaklaştırır (Örn: 150px x 150px) */
        grid-auto-rows: 1fr; 
        gap: 5px; 
        padding: 0 5px;
    }
    /* Kareye dönüştürmek için: */
    .grid-item {
        aspect-ratio: 1 / 1; 
        grid-row: span 1 !important;
    }
}


/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}
.modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    animation: fade .25s ease;
    object-fit: contain;
}

@keyframes fade {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    transition: background .2s;
}

.close:hover {
    background: rgba(0,0,0,0.6);
}

.text-center{
    text-align: center;
}

.video-content {
    max-width: 1000px;
    width: 90%;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeInTranslate var(--fast-duration) forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-delay: 0.1s;
}

.video-wrapper {
    background: linear-gradient(145deg, #eef0f3, #ffffff); /* Daha açık tonlu gradyan */
    border-radius: var(--border-radius-lg);
    
    /* Gölgeler daha hafif */
    box-shadow: 
        -5px -5px 15px rgba(255, 255, 255, 0.9),
        5px 5px 15px var(--shadow-medium),
        inset 0 0 10px var(--shadow-light);
    
    padding: 20px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; 
    margin-bottom: 30px;
    transform: scale(0.98);
    transition: all 0.3s ease-in-out; /* Hover daha hızlı */
    opacity: 0;
    animation: fadeInScaleUp var(--fast-duration) forwards ease-out;
    animation-delay: 0.4s;
}

.video-wrapper:hover {
    transform: scale(1.01) translateY(-2px);
    box-shadow: 
        -8px -8px 20px rgba(255, 255, 255, 0.9),
        8px 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 0 15px var(--shadow-light);
}

.video-wrapper iframe {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border-radius: var(--border-radius-md);
    border: 3px solid #ced0d4; /* Daha açık çerçeve */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1); /* Daha hafif iç gölge */
}


.hero-smartcam-v3 {
    padding: 80px 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; 
}

/* Sütun dengesi ve hizalaması */
.container-smartcam-grid {
    width: 100%;
    /* max-width: 1600px; */
    display: grid;
    grid-template-columns: 50% 50%; /* İçerik ve görsel dengesi */
    gap: 40px;
    align-items: center; 
    z-index: 10;
}

/* --------------------------------------------------- */
/* SMARTCAM BAŞLIK GRADYAN (ULTRA PARLAK NEON ETKİSİ)  */
/* --------------------------------------------------- */

.smartcam-title-gradient { 
    font-size: 72px; 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    
    /* background: linear-gradient(90deg,#007aff,#3399ff 31%,#006bd7 68%,#083058); */
    background-color: #fff;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-size: 300% auto; 
}

@keyframes apple-shine { 
    0% { background-position: 0% 50%; } 
    100% { background-position: 100% 50%; } 
}

/* SOL KOLON İÇERİK STİLLERİ */
.hero-content-left { 
    text-align: left; /* SOL: İçerik sola yaslı */
    padding-right: 0; 
}

@keyframes gradient-shift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.slogan-text-v3 { font-size: 20px; color: #a1a1a6; margin-bottom: 15px; }
.ai-highlight { color: var(--apple-blue); font-weight: 600; }
.badge-local-v3 { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--neon-blue); background-color: rgba(0, 122, 255, 0.1); padding: 4px 10px; border-radius: 980px; margin-bottom: 40px; }
.badge-local-v3 .dot { width: 6px; height: 6px; background-color: var(--apple-blue); border-radius: 50%; margin-right: 8px; }
.cta-button-apple-v3 { display: inline-block; background-color: var(--apple-blue); color: #ffffff; font-size: 16px; font-weight: 500; padding: 10px 24px; border-radius: 980px; text-decoration: none; transition: background-color 0.2s; }
.cta-button-apple-v3:hover { background-color: #006ddb; }

.smartcam-3d-model-small { 
    width: 100%; 
    height: 380px; 
    border-radius: 8px; 
    margin-bottom: 25px; 
}

.feature-summary-v3 { font-size: 16px; color: #8e8e93; margin-bottom: 30px; }
#ar-button { background-color: rgba(255, 255, 255, 0.15) !important; color: #ffffff !important; border: 1px solid rgba(255, 255, 255, 0.3) !important; font-size: 14px !important; padding: 8px 16px !important; border-radius: 980px !important; cursor: pointer; transition: background-color 0.2s; display: flex !important; align-items: center; gap: 8px; }
#ar-button:hover { background-color: rgba(255, 255, 255, 0.25) !important; }

/* --------------------------------------------------- */
/* SAĞ KOLON (ATOMIC MODEL) - HİZALAMA DÜZENLENDİ         */
/* --------------------------------------------------- */
.hero-visual-right {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    perspective: 1000px; 
    background: radial-gradient(circle at center, rgba(0, 122, 255, 0.15) 0%, transparent 60%);
}

.ai-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px; 
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center; /* AI görselini wrapper içinde ortalar */
    z-index: 20; 
    transform-style: preserve-3d; 
}

/* --- Beyin Stilleri --- */
.ai-brain-visual { position: relative; z-index: 20; }

.ai-brain-svg {
    width: 200px; 
    height: 200px;
    filter: drop-shadow(0 0 20px rgba(0, 122, 255, 0.7)); 
    transform: scale(1) rotateY(0deg); 
}
.ai-brain-svg path { fill: var(--apple-blue); stroke: var(--neon-blue); stroke-width: 1.5px; transform-origin: center; }

/* --- ATOMİK YÖRÜNGELER VE KİLİTLİ ELEKTRONLAR --- (Animasyon Kodları Korundu) */

.electron-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 122, 255, 0.4); 
    z-index: 18; 
    top: 50%;
    left: 50%;
    transform-style: preserve-3d; 
}

/* Genel Konteyner ve Düzen */
.product-gallery-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff; /* Sayfa içi beyaz arka plan */
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Hafif gölge */
}

/* Ana Görsel Alanı */
.main-image-area {
    position: relative;
    width: 100%;
    overflow: hidden; 
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #ffffff; /* Resmin arkası beyaz */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Çok hafif gölge */
    padding: 20px; /* Görsel çevresinde boşluk */
}

.main-image-area img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: opacity 0.3s ease; 
}

/* Önizleme Galerisi (Thumbnails) */
.gallery-thumbnails {
    display: flex;
    justify-content: center; 
    gap: 12px; /* Küçük resimler arası boşluk */
    padding-bottom: 20px;
}

.thumbnail-item {
    width: 70px; /* Küçük resim boyutu biraz küçültüldü */
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent; 
    opacity: 0.7; /* Seçili olmayanların opaklığı */
    transition: all 0.2s ease;
    background-color: #e9e9eb; /* Açık gri thumbnail arka planı */
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* Seçili (Active) Önizleme Stili */
.thumbnail-item.active {
    border-color: #007aff; /* Apple Blue vurgu */
    opacity: 1; 
    transform: scale(1.05); 
    box-shadow: 0 0 0 1px #007aff; /* Ekstra vurgu */
}

.thumbnail-item:hover {
    opacity: 0.9;
}

.lightbox-modal {
    /* ... (Mevcut stiller korunur) ... */
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    touch-action: none;
}

.lightbox-content {
    position: relative;
    /* margin ve transform, içeriği dikey ortalamaya yarar */
    margin: 0 auto;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox-content img {
    /* ... (Mevcut stiller korunur) ... */
    max-width: 100%;
    max-height: 80vh; 
    display: block;
    margin: auto;
    border-radius: 8px;
    animation: fadeIn 0.3s;
}


/* Navigasyon Butonları (Önceki/Sonraki) - KONUM DÜZELTİLDİ */
.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px; /* Dikey hizalama için */
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    user-select: none;
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.2); /* Hafif arka plan ekledik */
    border: none;
    
    /* Yeni: Resmin kenarlarına daha yakın olması için konumları ayarlandı */
    /* Butonları, '.lightbox-content' yerine 'modal'a bağlamak daha kolay olabilir, 
        ancak mevcut yapıda `.lightbox-content` resmin boyutuna daha yakın olduğu için 
        göreli konumlandırmayı biraz dışa doğru kaydırıyoruz. */
}

.prev-btn {
    left: -50px; /* Resmi geçip sola doğru itilir */
    border-radius: 3px 0 0 3px;
}

.next-btn {
    right: -50px; /* Resmi geçip sağa doğru itilir */
    border-radius: 0 3px 3px 0;
}

.prev-btn:hover, .next-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.6); /* Hover'da daha belirgin hale gelir */
}

/* Mobil cihazlarda butonlar kaybolmasın diye düzenleme */
@media (max-width: 768px) {
    .prev-btn, .next-btn {
        left: 5px; /* Sola yasla */
        right: 5px; /* Sağa yasla */
        font-size: 20px;
        padding: 10px;
        margin-top: -35px;
    }
    .next-btn {
        left: auto; /* next-btn için sol konumlandırmayı kaldır */
    }
}

/* Mobil Uyumlu Düzenleme */
@media (max-width: 768px) {
    .product-gallery-container {
        padding: 0 10px;
    }
    .thumbnail-item {
        width: 55px;
        height: 55px;
    }
}

/* Yörünge Animasyonları (Korundu) */
#orbit-1 { width: 280px; height: 280px; margin-top: -140px; margin-left: -140px; animation: orbit-rotate-x 15s infinite linear; }
@keyframes orbit-rotate-x { 0% { transform: rotateX(0deg); } 100% { transform: rotateX(360deg); } }

#orbit-2 { width: 330px; height: 330px; margin-top: -165px; margin-left: -165px; animation: orbit-rotate-y 10s infinite linear reverse; }
@keyframes orbit-rotate-y { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(-360deg); } }

#orbit-3 { width: 380px; height: 380px; margin-top: -190px; margin-left: -190px; animation: orbit-rotate-z 8s infinite linear; }
@keyframes orbit-rotate-z { 0% { transform: rotateZ(0deg); } 100% { transform: rotateZ(360deg); } }

/* Elektron Stilleri (Korundu) */
.electron { position: absolute; width: 8px; height: 8px; border-radius: 50%; z-index: 25; top: 50%; left: 50%; transform: translate(-50%, -50%); }

#orbit-1 .electron:nth-child(1) { background-color: var(--neon-blue); box-shadow: 0 0 15px var(--neon-blue); animation: electron-path-1 15s infinite linear; transform: translate(-50%, -50%) translateX(140px); }
#orbit-1 .electron:nth-child(2) { background-color: var(--neon-blue); box-shadow: 0 0 15px var(--neon-blue); animation: electron-path-1 15s infinite linear reverse; transform: translate(-50%, -50%) translateY(140px); }
@keyframes electron-path-1 { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotateY(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotateY(0deg); } }

#orbit-2 .electron:nth-child(1) { background-color: #4cd964; box-shadow: 0 0 15px #4cd964; animation: electron-path-2 10s infinite linear reverse; transform: translate(-50%, -50%) translateY(165px); }
#orbit-2 .electron:nth-child(2) { background-color: #4cd964; box-shadow: 0 0 15px #4cd964; animation: electron-path-2 10s infinite linear; transform: translate(-50%, -50%) translateX(-165px); }
@keyframes electron-path-2 { 0% { transform: translate(-50%, -50%) rotate(0deg) translateY(165px) rotateX(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg) translateY(165px) rotateX(0deg); } }

#orbit-3 .electron:nth-child(1) { background-color: #ff5e3a; box-shadow: 0 0 15px #ff5e3a; animation: electron-path-3 8s infinite linear; transform: translate(-50%, -50%) translateX(-190px); }
#orbit-3 .electron:nth-child(2) { background-color: #ff5e3a; box-shadow: 0 0 15px #ff5e3a; animation: electron-path-3 8s infinite linear reverse; transform: translate(-50%, -50%) translateY(-190px); }
#orbit-3 .electron:nth-child(3) { background-color: #ff5e3a; box-shadow: 0 0 15px #ff5e3a; animation: electron-path-3 8s infinite linear; animation-delay: 2s; transform: translate(-50%, -50%) translateX(190px); }
@keyframes electron-path-3 { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(-190px) rotateY(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg) translateX(-190px) rotateY(0deg); } }

/* --- Ortak Alt Metinler (Korundu) --- */
.ai-text-overlay { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); text-align: center; z-index: 1; }
.ai-tag { font-size: 28px; font-weight: 700; color: var(--apple-blue); letter-spacing: 2px; display: block; }
.ai-verdict { font-size: 16px; color: #a1a1a6; display: block; margin-top: 5px; }

/* --- Mobil Uyumlu Düzenleme --- */
@media (max-width: 992px) {
    .container-smartcam-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-content-left { text-align: center; padding-right: 0; }
    .ai-visual-wrapper { height: 400px; width: 100%; max-width: 300px; }
    .ai-brain-svg { width: 150px; height: 150px; }

    /* Mobil Yörünge Boyutları (Korundu) */
    #orbit-1 { width: 220px; height: 220px; margin-top: -110px; margin-left: -110px; }
    #orbit-2 { width: 280px; height: 280px; margin-top: -140px; margin-left: -140px; }
    #orbit-3 { width: 340px; height: 340px; margin-top: -170px; margin-left: -170px; }

    /* Mobil Elektron Ayarları (Korundu) */
    #orbit-1 .electron:nth-child(1) { transform: translate(-50%, -50%) translateX(110px); }
    #orbit-1 .electron:nth-child(2) { transform: translate(-50%, -50%) translateY(110px); }

    #orbit-2 .electron:nth-child(1) { transform: translate(-50%, -50%) translateY(140px); }
    #orbit-2 .electron:nth-child(2) { transform: translate(-50%, -50%) translateX(-140px); }

    #orbit-3 .electron:nth-child(1) { transform: translate(-50%, -50%) translateX(-170px); }
    #orbit-3 .electron:nth-child(2) { transform: translate(-50%, -50%) translateY(-170px); }
    #orbit-3 .electron:nth-child(3) { transform: translate(-50%, -50%) translateX(170px); }
    
    /* Mobil Elektron Animasyonları (Korundu) */
    @keyframes electron-path-1 { 
        0% { transform: translate(-50%, -50%) rotate(0deg) translateX(110px) rotateY(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg) translateX(110px) rotateY(0deg); }
    }
    @keyframes electron-path-2 { 
        0% { transform: translate(-50%, -50%) rotate(0deg) translateY(140px) rotateX(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg) translateY(140px) rotateX(0deg); }
    }
    @keyframes electron-path-3 { 
        0% { transform: translate(-50%, -50%) rotate(0deg) translateX(-170px) rotateY(0deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg) translateX(-170px) rotateY(0deg); }
    }

    /* Mobil Başlık Font Büyüklüğü (Korundu) */
    .smartcam-title-gradient { 
        font-size: 60px; 
    }
}


/* Animasyon Tanımları - SADE VE HIZLI */
@keyframes fadeInScaleUp {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeInTranslate {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Medya sorguları öncekiyle aynı */
@media (max-width: 768px) {
    .header h1 { font-size: 42px; }
    .header p { font-size: 18px; }
    .video-wrapper { padding: 15px; }
    .video-wrapper iframe {
        top: 15px;
        left: 15px;
        width: calc(100% - 30px);
        height: calc(100% - 30px);
    }
}

@media (max-width: 480px) {
    .header h1 { font-size: 34px; margin-bottom: 10px; }
    .header p { font-size: 16px; }
    .video-wrapper { padding: 10px; }
    .video-wrapper iframe {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .gallery-wrapper {
        padding: 0;
    }
    .scroll-container {
        padding: 0 20px 20px 20px;
    }
    .card-container {
        width: 90vw;
        max-width: 320px;
    }
    .paddlenav {
        display: none; 
    }
}

/* Ekran genişliği 992 piksel ve altına düştüğünde (Tablet ve Mobil Cihazlar) */
@media (max-width: 992px) {
    .projects-grid {
        /* Tek sütuna düşürülür (Alt Alta Yığılma) */
        grid-template-columns: 1fr; 
        gap: 30px; /* Kartlar arası boşluğu biraz azalt */
    }
}

/* --- RESPONSIVE TASARIM --- */
@media (max-width: 900px) {
    .project-card-column {
        padding: 1em;
    }
    .project-content-area {
        margin-top: 0; /* Mobilde görselin üzerine kaydırma kaldırılır */
    }
    .project-visual {
        height: 300px;
    }
    .project-content-area h3 {
        font-size: 1.3rem;
        padding: 20px;
        text-align: center;
        margin-bottom: 20px;
    }
    .project-details-grid {
        grid-template-columns: 1fr; /* Tek sütun */
    }
    .project-intro {
        font-size: .9rem;
    }
    .detail-item {
        border-top: 1px solid var(--border-light); /* Tüm maddelerde çizgi kalsın */
        padding: 15px 0;
    }
    .detail-item:first-child {
        border-top: none;
    }
}

/* --- RESPONSIVE TASARIM --- */
@media (max-width: 992px) {
    :root { --section-padding: 60px 5%; }
    /* Fark Yaratan Kartları (Mobil: Alt Alta) */
    .focus-points-container {
        grid-template-columns: 1fr; 
        gap: 20px;
        padding-top: 0;
        padding-bottom: 50px; 
    }
    .visual-and-cards-container {
        max-width: none;
    }
    /* Zig-Zag Akış Diyagramı Mobil Düzeltmeleri */
    .flow-line-zigzag { left: 10%; transform: translateX(-50%); } 
    .flow-module-zigzag:nth-child(odd) .flow-dot-zigzag { right: auto; left: calc(10% - 10px); }
    .flow-module-zigzag:nth-child(even) .flow-dot-zigzag { left: calc(10% - 10px); right: auto; }
    .module-card-zigzag { width: 85%; margin-left: 5%; margin-right: 0; }
    .flow-module-zigzag:nth-child(odd) { justify-content: flex-start; }
    .flow-module-zigzag:nth-child(even) { justify-content: flex-start; }
    .flow-module-zigzag:nth-child(even) .module-card-zigzag { margin-right: 0; margin-left: 5%; }
    .flow-module-zigzag:nth-child(odd) .module-card-zigzag { margin-left: 5%; }
}