﻿:root {
    --bg-dark: #0a0a0a;
    --gold: #d4af37;
    --gold-hover: #f1c40f;
    --text-light: #e0e0e0;
    --glass-bg: rgba(20, 20, 20, 0.8);
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.logo span {
    vertical-align: middle;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    margin-left: 25px;
    font-size: 14px;
    transition: 0.3s;
}

    nav a:hover {
        color: var(--gold);
    }

.btn-gold-border {
    border: 1px solid var(--gold);
    padding: 8px 18px;
    border-radius: 5px;
    color: var(--gold) !important;
}

.main-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Arka plan fotoğrafı buraya gelecek */
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti verir */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fotoğrafın üzerine %70 oranında siyah bir katman atar */
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Yazıların fotoğrafın üstünde kalmasını sağlar */
    text-align: center;
    padding: 0 20px;
}

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 4.5rem); /* Ekran boyutuna göre büyür/küçülür */
        margin-bottom: 20px;
    }

    .hero-content p {
        color: #ddd;
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 35px;
        line-height: 1.6;
    }

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 10px;
        text-transform: uppercase;
    }
.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* İki buton arasına 20px nefes alma boşluğu ekler */
    margin-top: 35px;
    flex-wrap: wrap; /* Ekran daralırsa üst üste binmek yerine alt satıra atar */
}
.gold-text {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-primary {
    background: var(--gold);
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid var(--gold); /* Diğer butonla milimetrik aynı boyda olması için eklendi */
    transition: 0.3s;
    /* margin-top: 25px; BURADAN SİLİNDİ ÇÜNKÜ HİZAYI BOZUYORDU */
}

    .btn-primary:hover {
        background: var(--gold-hover);
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    }

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

    .btn-outline:hover {
        background: var(--gold);
        color: #000;
    }

/* İstatistik Çubuğu */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 60px 20px;
    background: #0f0f0f;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stat-item {
    text-align: center;
}

    .stat-item span {
        font-size: 2.5rem;
        font-weight: bold;
        display: block;
    }

    .stat-item p {
        color: #888;
        margin-top: 5px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* Hizmetler Bölümü */
.services {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

.underline {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #151515;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s;
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--gold);
        background: #1a1a1a;
    }

    .service-card.active {
        border-color: var(--gold);
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    }

    .service-card .icon {
        font-size: 40px;
        margin-bottom: 20px;
        display: block;
    }

    .service-card h3 {
        margin-bottom: 15px;
        color: var(--gold);
    }

    .service-card p {
        color: #999;
        line-height: 1.6;
    }

/* CTA Alanı */
.cta {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1500');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Animasyonlar */
.animate-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

    .btn-outline:hover {
        background: var(--gold);
        color: #000;
    }
/* Bizden Biri Bölümü */
.about-us {
    background: #050505;
    padding: 80px 20px;
    text-align: center;
}

    .about-us p {
        max-width: 900px;
        margin: 20px auto;
        font-size: 1.1rem;
        color: #bbb;
        line-height: 1.8;
    }

/* Footer Tasarımı */
.main-footer {
    background: #000;
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

    .footer-col ul li {
        color: #888;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

.footer-bottom {
    
        display: block; /* Elemanın satırı kaplamasını sağlar */
        width: 100%; /* Genişliği tam yapar */
        text-align: center; /* İçindeki metni ortalar */
        padding: 20px 0; /* Alt ve üstten boşluk bırakır */
        margin-top: 40px; /* Üstteki içerikle arayı açar */
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Görseldeki gibi ince bir çizgi */
        color: #444; /* Yazı rengi */
        font-size: 0.8rem;
        clear: both; /* Eğer yukarıda float varsa onları temizler */
    
}

/* Hizmet Kartları Küçük Düzenleme */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
/* 8 tane olduğu için 4'lü sıra iyi durur */

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Footer Genel Yapısı */
.main-footer {
    background: #000;
    color: #e0e0e0;
    padding: 60px 0 20px 0;
    border-top: 2px solid var(--gold);
    margin-top: 80px;
}

/* Bizden Biri Üst Bölüm */
.footer-top-info {
    text-align: center;
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

    .footer-top-info p {
        max-width: 900px;
        margin: 15px auto;
        line-height: 1.8;
        color: #bbb;
        font-style: italic;
    }

/* Grid Yapısı */
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-col h4 {
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-col p {
    line-height: 1.6;
    color: #999;
    font-size: 0.95rem;
}

/* Linkler */
.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #999;
        text-decoration: none;
        transition: 0.3s;
        font-size: 0.95rem;
    }

        .footer-links a:hover {
            color: var(--gold);
            padding-left: 5px;
        }

.footer-tel a:hover {
    color: var(--gold);
}

/* Alt Çizgi */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.85rem;
}

/* Ürün Kartları */
.products-preview {
    padding: 80px 20px;
    background: #0a0a0a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #151515;
    border-radius: 12px;
    border: 1px solid #222;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}

    .product-card:hover {
        border-color: var(--gold);
        transform: translateY(-5px);
    }

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: #000;
    padding: 5px 12px;
    font-weight: bold;
    font-size: 0.7rem;
    z-index: 5;
}

.product-image {
    height: 250px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .product-image img {
        max-width: 100%;
        max-height: 100%;
        transition: 0.5s;
    }

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price {
    color: var(--gold);
    font-weight: bold;
}

.btn-detail {
    color: #fff;
    text-decoration: none;
    border: 1px solid #444;
    padding: 8px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

    .btn-detail:hover {
        background: #fff;
        color: #000;
    }

/* Detay Sayfası */
.detail-page-container {
    padding: 150px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.main-img-box {
    background: #151515;
    border: 1px solid #222;
    border-radius: 15px;
    padding: 40px;
}

.breadcrumb {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 20px;
}

    .breadcrumb a {
        color: var(--gold);
        text-decoration: none;
    }

.product-id {
    color: #555;
    margin-bottom: 30px;
}

.specs {
    margin: 25px 0;
    padding-left: 20px;
    color: #bbb;
}

    .specs li {
        margin-bottom: 10px;
    }

.action-box {
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 30px;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}
/* Referanslar Genel */
.references {
    padding: 80px 20px;
    background: #080808;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.section-subtitle {
    color: #bbb; /* Yazı rengini de siyah arka planda daha okunur yaptım */
    text-align: center;
    margin-top: 20px; /* Çizgiyle arasına güzel bir nefes payı verdik */
    margin-bottom: 50px;
    font-size: 1.1rem; /* Okunabilirliği hafif artırdım */
}

/* Referans Grid/Flex Yapısı */
.references-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.reference-item {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Logoların başlangıçta siyah-beyaz ve silik durması için */
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

    .reference-item img {
        max-width: 100%;
        max-height: 70px;
        object-fit: contain;
    }

    .reference-item:hover {
        /* Üzerine gelince renklenir ve gold bir parlama verir */
        filter: grayscale(0%) opacity(1);
        transform: scale(1.1);
    }

/* =========================================
   MOBİL MENÜ AYARLARI
   ========================================= */

.mobile-menu-btn {
    display: none;
    color: var(--gold);
    font-size: 26px;
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 71px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 71px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
    }

        nav.active {
            left: 0;
        }

        nav a {
            margin: 15px 0;
            margin-left: 0;
            font-size: 1.3rem;
            text-align: center;
            display: block;
            width: 100%;
        }

    .btn-gold-border {
        width: max-content;
        margin: 20px auto;
    }
}
/* =========================================
   HİZMETLER VE REFERANSLAR MOBİL UYUMU
   ========================================= */

@media (max-width: 768px) {
    /* 1. Hizmet Kartlarını Alt Alta Diz (Mobilde 4 sütun veya 2 sütun olmaz, 1 sütun olur) */
    .services-grid {
        grid-template-columns: 1fr !important; /* Kartlar alt alta tam ekran olur */
        gap: 15px !important; /* Aralarındaki boşluğu daralttık */
        padding: 0 10px; /* Kenarlardan biraz nefes alsın */
    }

    /* 2. Referans Logolarını Ekrana Sığdır */
    .references-container {
        gap: 20px !important; /* 50px boşluk mobilde çok fazla, 20px'e çektik */
    }

    .reference-item {
        width: 130px !important; /* Logoları mobilde biraz küçülttük ki yan yana 2-3 tane sığsın */
        height: 70px !important;
    }

    /* 3. Başlıkların Ekrandan Taşmasını Engelle */
    .section-title h2 {
        font-size: 1.8rem; /* Mobilde fontu devasa olmaktan kurtarıp hizaladık */
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }
}
/* =========================================
   GALERİ TAM EKRAN (LIGHTBOX 1920x1080)
   ========================================= */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

    .lightbox-close:hover {
        color: var(--gold);
    }

.gallery-main {
    cursor: zoom-in;
}

/* Mobilde Butonların İç İçe Girmesini Kesin Engeller */
.action-buttons {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

        .action-buttons .btn-detay, .action-buttons .btn-video {
            width: 100%;
        }
}

/* Ürünler Sayfası Etiketleri (OEM ve KOD) */
.product-badge-group {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10;
}

.badge-code {
    background: rgba(50,50,50,0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-oem {
    background: rgba(212,175,55,0.9);
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}
/* --- Profil Dropdown Stilleri --- */
.user-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    transition: 0.3s;
}

    .user-profile-trigger:hover {
        border-color: var(--gold);
    }

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.user-avatar {
    color: var(--gold);
    font-size: 1.2rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    background: #111;
    min-width: 180px;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1000;
}

    .dropdown-content a {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 12px 15px !important;
        margin: 0 !important;
        font-size: 13px !important;
        border-bottom: 1px solid #222;
        transition: 0.2s;
    }

        .dropdown-content a:hover {
            background: #1a1a1a;
            color: var(--gold) !important;
        }

.menu-divider {
    height: 1px;
    background: #222;
}

.show-menu {
    display: block !important;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobilde dropdown'un taşmaması için */
@media (max-width: 991px) {
    .user-dropdown {
        margin: 15px auto;
        width: max-content;
    }

    .dropdown-content {
        position: static;
        margin-top: 10px;
        box-shadow: none;
    }
}
.team-card {
    background: #111;
    border: 1px solid #222;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    width: 260px; /* Masaüstü genişlik */
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

    .team-card:hover {
        border-color: #d4af37;
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
    }

.team-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.team-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.team-card span {
    color: #888;
    font-size: 0.9rem;
    display: block;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .team-card {
        width: 45%; /* Tabletlerde yan yana iki tane */
    }
}

@media (max-width: 480px) {
    .team-card {
        width: 100%; /* Telefonlarda tekli sıra */
    }

    .team-grid {
        gap: 15px;
    }
}