/* =========================================
   1. GENEL AYARLAR VE DEĞİŞKENLER
   ========================================= */

:root {
    --primary-color: #0f172a;
    /* Koyu Lacivert - ZER Kurumsal */
    --secondary-color: #d4af37;
    /* Altın Rengi - ZER'in anlamı */
    --text-dark: #334155;
    --transition: all 0.3s ease;
}

/* Mobil Yatay Kaydırma (Scroll) Sorunu İçin Kesin Çözüm */
html,
body {
    width: 100%;
    overflow-x: hidden !important;
    /* Ekrandan taşan her şeyi gizle */
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

/* --- Yardımcı Sınıflar (Bootstrap Override) --- */
.text-warning {
    color: var(--secondary-color) !important;
}

.bg-warning {
    background-color: var(--secondary-color) !important;
}

.btn-warning {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.btn-warning:hover {
    background-color: #bfa132;
    border-color: #bfa132;
    color: #fff;
}

.btn-outline-warning {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-warning:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.section-padding {
    padding: 100px 0;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.tracking-wide {
    letter-spacing: 1px;
}

.tracking-wider {
    letter-spacing: 2px;
}
/* =========================================
   2. NAVBAR (ÜST MENÜ)
   ========================================= */

.navbar {
    padding: 25px 0;
    transition: all 0.4s ease;
    background: transparent;
}

/* Scroll Sonrası Navbar Görünümü (BEYAZ) */
.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- Logo Ayarları --- */
.logo-icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: rotate(0deg);
    transition: transform 0.4s ease;
}

.navbar-brand:hover .logo-icon-wrapper {
    transform: rotate(45deg);
}

.logo-img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    max-height: 40px;
}

/* Logo Altı Metni (KOYU RENK) */
.company-sub-title {
    color: var(--primary-color); /* Beyaz fon için koyu renk */
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2px;
    line-height: 1;
    opacity: 1;
    white-space: nowrap;
    text-align: center;
    transition: all 0.3s ease;
}

/* --- Menü Linkleri (KOYU RENK) --- */
.nav-link-modern {
    color: var(--primary-color) !important; /* Beyaz fon için koyu renk */
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0 !important;
    transition: color 0.3s ease;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--secondary-color) !important; /* Hover rengi altın */
}

/* Link Altı Çizgi Animasyonu */
.nav-link-modern::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.nav-link-modern:hover::after,
.nav-link-modern.active::after {
    width: 100%;
}

/* Mobil Menü İkonu (Hamburger) */
.navbar-toggler span {
    color: var(--primary-color) !important;
}

/* --- Navbar Mobil Ayarlar --- */
@media (max-width: 991px) {
    .navbar {
        background-color: transparent;
    }
    
    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .navbar-collapse {
        background: #ffffff; /* Mobilde menü arka planı BEYAZ */
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-link-modern::after {
        left: 0;
        transform: none;
    }

    .logo-img {
        max-height: 40px;
    }
}

/* =========================================
   3. HERO SECTION (GİRİŞ BÖLÜMÜ - BEYAZ TEMA)
   ========================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 60px;
    background-color: #ffffff; /* ARKA PLAN BEYAZ */
    overflow: hidden;
    z-index: 1;
}

/* Işık Efektleri (Beyaz Fona Uygun Soft Renkler) */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255,255,255,0) 70%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, rgba(255,255,255,0) 70%);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
}

/* Hero Arkaplan Deseni */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.03;
    z-index: -2;
}

/* Metin ve Görsel Efektleri */
.text-gradient {
    /* Yeni, daha koyu ve belirgin altın tonları */
    background: linear-gradient(135deg, #9e7f2a 0%, #d4af37 50%, #f0c45e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Yazının kenarlarını belirginleştirmek için çok ince bir gölge */
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-weight: 800; /* Yazıyı biraz daha kalınlaştır */
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.main-img {
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); /* Gölgeyi hafiflettik */
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    max-width: 90%;
}

/* Görsel Arkasındaki Halka */
.circle-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    z-index: -1;
    filter: blur(60px);
}

/* Animasyonlar */
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.7; }
}

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

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

.lift-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lift-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3) !important;
}

/* Scroll Mouse İkonu (KOYU RENK) */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Hero Mobil Ayarlar */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding-top: 150px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        margin-top: 50px;
    }

    .d-flex.gap-3 {
        justify-content: center;
    }

    .lead {
        margin: 0 auto;
    }

    /* Mobilde ışıkları küçültüyoruz ki taşma yapmasın */
    .hero-section::before,
    .hero-section::after {
        width: 100%;
        height: 400px;
        filter: blur(80px);
        right: 0;
        left: 0;
    }
}
/* =========================================
   4. HAKKIMIZDA BÖLÜMÜ
   ========================================= */

.quote-box {
    background: #fff;
    transition: transform 0.3s ease;
}

.quote-box:hover {
    transform: translateX(10px);
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

/* ZER Anlam Kartı */
.zer-meaning-card {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.about-image-wrapper:hover .zer-meaning-card {
    transform: translateY(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Hakkımızda Mobil Ayarlar */
@media (max-width: 991px) {
    .about-image-wrapper img {
        height: 400px !important;
    }

    .zer-meaning-card {
        position: relative !important;
        transform: none !important;
        bottom: auto !important;
        end: auto !important;
        width: auto !important;
        max-width: 100% !important;
        margin: -50px 20px 0 20px !important;
    }
}

/* =========================================
   5. KURUMSAL (VİZYON/MİSYON) BÖLÜMÜ
   ========================================= */

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.05;
    color: currentColor;
    transform: rotate(-15deg);
    pointer-events: none;
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--secondary-color) !important;
}

.hover-shadow:hover i {
    color: var(--secondary-color) !important;
}

.goal-item {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.goal-item:last-child {
    border-bottom: none;
}

/* =========================================
   6. ÇÖZÜMLER (HİZMETLER) BÖLÜMÜ
   ========================================= */

/* Tab Butonları */
.nav-pills-custom .nav-link {
    color: var(--text-dark);
    background: transparent;
    transition: all 0.3s ease;
}

.nav-pills-custom .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.3);
}

.nav-pills-custom .nav-link:hover:not(.active) {
    color: var(--secondary-color);
}

/* Kart Stilleri */
.solution-card {
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.icon-box-sm {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.solution-card:hover .icon-box-sm.text-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.solution-card:hover .icon-box-sm.text-warning {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* =========================================
   7. FOOTER (ALT BİLGİ)
   ========================================= */

.footer-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

/* Footer Mobil Ayar (Işığı sınırla) */
@media (max-width: 991px) {
    .footer-glow {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        filter: blur(60px);
    }
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.transition-hover:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
    transition: all 0.2s ease;
}

.hover-white:hover {
    color: #fff !important;
}

.bg-dark-light {
    background-color: rgba(255, 255, 255, 0.03);
}

/* =========================================
   8. MOBİL FOOTER ORTALAMA (DÜZELTME)
   ========================================= */

@media (max-width: 991px) {

    /* Genel Footer Metin Hizalaması */
    footer {
        text-align: center !important;
    }

    /* Flex Olan Öğeleri (Logo, Sosyal İkonlar, İletişim Satırları) Ortala */
    footer .d-flex {
        justify-content: center !important;
    }

    /* Logo Yanındaki Yazı Bloğu (ZER - Bilgi Tek.) için Özel Ayar */
    footer a.d-flex .d-flex.flex-column {
        align-items: center !important;
        /* Yazıları logonun ortasına hizala */
    }

    /* İletişim Listesindeki Maddeler */
    footer ul li.d-flex {
        justify-content: center !important;
    }

    /* Marka Açıklaması gibi p etiketlerini ortala */
    footer p {
        margin-left: auto;
        margin-right: auto;
    }

    /* Telif Hakkı Kısmındaki Sağa/Sola Dayalı Sınıfları Ez */
    footer .text-md-start,
    footer .text-md-end {
        text-align: center !important;
    }
}