/**
 * VELORA - Global, Core & Dynamic Approved Stylesheet
 */

:root {
    --bg-dark: #0f0f0f;
    --bg-card: #161616;
    --gold: #d4b78f;        /* Logodaki parlatılmış mat altın tonu */
    --gold-hover: #e5c9a2;
    --text-muted: #e0e0e0;   /* Tamamen okunabilir açık gri */
    --text-body: #f5f5f5;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-body);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .sub-brand {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

/* Okunabilirlik için genel metin ezmesi */
.text-muted {
    color: var(--text-muted) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.gold-divider { 
    width: 60px; 
    height: 2px; 
    background-color: var(--gold); 
    margin: 15px auto; 
}

.logo-box {
            display: inline-flex;
            align-items: center;
            gap: 12px;
        }
        .logo-v {
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            font-weight: 700;
            color: var(--gold);
            line-height: 1;
            border: 2px solid var(--gold);
            padding: 2px 10px;
            margin-right: 5px;
        }
        .logo-text-group {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }
        .logo-main {
            font-size: 1.6rem;
            font-weight: 600;
            color: #ffffff;
            letter-spacing: 4px;
        }
        .logo-sub {
            font-size: 0.55rem;
            color: var(--gold);
            letter-spacing: 1.5px;
            font-weight: 500;
        }


/* --- NAVBAR (ONAYLANAN KORUNDU) --- */
.navbar {
    background-color: rgba(15, 15, 15, 0.95) !important;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    backdrop-filter: blur(10px);
}

.nav-link { 
    color: #ffffff !important; 
    font-size: 0.85rem; 
    letter-spacing: 1px; 
    transition: color 0.3s; 
}

.nav-link:hover, .nav-link.active { 
    color: var(--gold) !important; 
}

/* --- BUTONLAR (KESKİN KÖŞELİ VE ONAYLANAN) --- */
.btn-gold {
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-family: 'Cinzel', serif;
    padding: 12px 35px;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.4s ease;
    border-radius: 0 !important; /* Müşterinin onayladığı keskin endüstriyel hat */
}

.btn-gold:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.3);
}

/* --- ANASAYFA HERO (UNSPLASH ARKA PLAN VE DEGRADE) --- */
.hero-section {
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.98)), 
                url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?q=80&w=1920') center/cover;
    padding: 200px 0 140px 0;
    min-height: 400px;
}

.hero-title { 
    font-size: 2.0rem; 
    font-weight: 700; 
    line-height: 1.2; 
}

.hero-title span { 
    color: var(--gold); 
}

p.lead {
    color: #f0f0f0 !important;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

/* --- İSTATİSTİK BANDI --- */
.stats-section {
    background-color: var(--bg-card);
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
    padding: 50px 0;
}

.stat-number { 
    font-size: 2.8rem; 
    font-weight: 600; 
    color: var(--gold); 
    font-family: 'Cinzel', serif; 
}

/* --- HİZMET KARTLARI (DÖRT TEMEL DİREK) --- */
.custom-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.08);
    border-radius: 0 !important; /* Yuvarlatılmış köşeler kaldırıldı */
    padding: 45px 25px;
    transition: all 0.3s ease;
}

.custom-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.card-icon { 
    font-size: 2.5rem; 
    color: var(--gold); 
    margin-bottom: 20px; 
}

/* --- MAKİNE PARKURU TAB YAPISI --- */
.nav-tabs { 
    border-bottom: 1px solid rgba(197, 168, 128, 0.2); 
}

.nav-link.tab-control {
    color: #ffffff !important;
    border: none !important;
    font-family: 'Cinzel', serif;
    padding: 15px 25px;
    background: transparent !important;
    border-radius: 0 !important;
}

.nav-link.tab-control.active {
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold) !important;
}

/* --- HIZLI ERİŞİM / HİZMET KATALOĞU (MİLİMETRİK HİZALAMA) --- */
.catalog-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.08);
    padding: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
    border-radius: 0 !important;
}

.catalog-img-wrapper {
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    aspect-ratio: 4 / 3; /* Görsellerin milimetrik aynı hizada kalması için */
}

.catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(15%); /* Endüstriyel koyu temaya uyum için hafif desatüre */
}

.catalog-title {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-top: 5px;
}

.catalog-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    transform: translateY(-3px);
}

.catalog-card:hover .catalog-img {
    transform: scale(1.06);
    filter: grayscale(0%); /* Orijinal renk parlasın */
}

.catalog-card:hover .catalog-title {
    color: var(--gold);
}

/* --- FORM ELEMANLARI (TEKLİF AL ALANI) --- */
.form-control, .form-select {
    background-color: var(--bg-card) !important;
    border: 1px solid rgba(197, 168, 128, 0.15) !important;
    border-radius: 0 !important; /* Endüstriyel şablon hatları */
    color: #ffffff !important;
    padding: 12px !important;
    font-size: 0.85rem !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.2) !important;
}

/* Custom dropdown oku (onaylanan tasarımdaki altın ok) */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d4b78f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* --- GLOBAL FOOTER --- */
.footer {
    background-color: #0b0c0e;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(197, 168, 128, 0.15) !important;
}

.footer-brand img {
    max-width: 240px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- DİNAMİK İÇ SAYFALAR İÇİN EK ENTEGRASYON --- */
.nav-sidebar {
    background-color: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: 0;
    padding: 25px;
    position: sticky;
    top: 110px;
}

.nav-sidebar ul li a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255,255,255,0.01);
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-sidebar ul li a:hover, .nav-sidebar ul li a.active {
    background: linear-gradient(45deg, rgba(197, 168, 128, 0.15), rgba(15, 15, 15, 0));
    color: var(--gold);
    border-left: 3px solid var(--gold);
}

.content-body.entry-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(197, 168, 128, 0.15);
    margin: 15px 0;
}
.content-body.entry-content ul, .content-body.entry-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.content-body.entry-content ul li {
    list-style-type: square;
    color: #d4b78f; /* Noktalar altın rengi */
}

/* ==========================================================================
   VELORA ALT SAYFA HERO ALANI (HİZMET.HTM BİREBİR UYUMU - KESİN ÇÖZÜM)
   ========================================================================== */

/* Hem ön ekli hem ön eksiz tüm varyasyonları ezmek için birleştirdik */
.inner-hero, 
section.inner-hero, 
main .inner-hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important; /* Tüm içeriği yatayda kesin olarak ortalar */
    padding: 120px 0 100px 0 !important; /* Dikeyde dolgun gösteren alan */
    margin: 0 0 60px 0 !important;
    /* Sinematik karanlık ve altın ışıltılı degrade geçişi */
    background: linear-gradient(to bottom, rgba(9, 9, 11, 0.85), rgba(15, 15, 15, 1)), 
                url('../images/hero-bg.jpg') no-repeat center center !important;
    background-size: cover !important;
    background-position: center center !important;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15) !important;
    z-index: 5 !important;
}

/* Üstteki Küçük Kategori Adı */
.inner-hero .cat-accent, 
section.inner-hero .cat-accent {
    display: inline-block !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #d4b78f !important; /* var(--gold) */
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important; /* Premium harf arası boşluğu */
    margin-bottom: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Alttaki Asil Büyük Sayfa Başlığı (H1 ve H2 ihtimallerinin ikisini de sağlama alıyoruz) */
.inner-hero h1, 
section.inner-hero h1,
.inner-hero h2, 
section.inner-hero h2 {
    display: block !important;
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    font-size: 2.8rem !important; /* Gerçek sinematik büyüklük */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
    text-align: center !important;
}

/* Mobil Ekran Uyumu */
@media (max-width: 768px) {
    .inner-hero, 
    section.inner-hero {
        padding: 80px 0 70px 0 !important;
    }
    .inner-hero h1, 
    section.inner-hero h1,
    .inner-hero h2, 
    section.inner-hero h2 {
        font-size: 2rem !important;
    }
}
.table-tech { background-color: var(--bg-card); border: 1px solid rgba(197, 168, 128, 0.12) !important; color: var(--text-body); margin-bottom: 50px; }
    .table-tech th { background-color: rgba(197, 168, 128, 0.05) !important; color: var(--gold) !important; font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 1px; padding: 15px !important; border-bottom: 1px solid rgba(197,168,128,0.2) !important; }
    .table-tech td { padding: 14px 15px !important; border-bottom: 1px solid rgba(255,255,255,0.03) !important; font-size: 0.9rem; }
    
    /* Uygulama Galerisi */
    .gallery-grid .gallery-item { position: relative; overflow: hidden; background-color: #000; border: 1px solid rgba(197, 168, 128, 0.08); aspect-ratio: 4/3; cursor: pointer; }
    .gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); opacity: 0.85; }
    .gallery-grid .gallery-item:hover img { transform: scale(1.08); opacity: 1; }
    .gallery-grid .gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(9,9,11,0.9) 0%, rgba(9,9,11,0.2) 100%); opacity: 0; transition: all 0.4s ease; display: flex; align-items: flex-end; padding: 20px; }
    .gallery-grid .gallery-item:hover .gallery-overlay { opacity: 1; }

/* Ana Sayfa Arka Plan ve İç Boşluk Uyumu */
.service-main { 
    background-color: var(--bg-dark); 
    color: var(--text-body); 
    font-family: 'Montserrat', sans-serif; 
    padding: 60px 0; 
    min-height: 60vh; 
}

/* Sol Menü (Sidebar) Tasarımı */
.nav-sidebar { 
    background-color: var(--bg-card); 
    border: 1px solid rgba(197, 168, 128, 0.1); 
    padding: 30px 25px; 
}
.nav-sidebar h4 { 
    font-family: 'Cinzel', serif; 
    color: var(--gold); 
    font-size: 1.15rem; 
    font-weight: 600; 
    letter-spacing: 1px; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    border-bottom: 1px solid rgba(197,168,128,0.15); 
    padding-bottom: 12px; 
}
.nav-sidebar .nav-link { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 400; 
    padding: 12px 15px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.03); 
    transition: all 0.3s ease; 
    border-left: 2px solid transparent; 
}
.nav-sidebar .nav-link:hover, 
.nav-sidebar .nav-link.active { 
    color: var(--gold); 
    background-color: rgba(197, 168, 128, 0.04); 
    border-left-color: var(--gold); 
    padding-left: 20px; 
}

/* TinyMCE / Editörden Gelen Zengin İçerik Alanı Düzenlemeleri */
.content-rich { 
    color: #d4d4d8; 
    font-size: 0.95rem; 
    line-height: 1.8; 
    margin-bottom: 40px; 
}
.content-rich p { 
    margin-bottom: 20px; 
}

/* Galeri Grid Yerleşimi Ek Ayarları */
.gallery-grid .gallery-item { 
    position: relative; 
    overflow: hidden; 
    background-color: #000; 
    border: 1px solid rgba(197, 168, 128, 0.08); 
    aspect-ratio: 4/3; 
    cursor: pointer; 
}
/* ============================================ */
/* HİZMET.HTM TAM UYUMLU CSS EKLENTİLERİ */
/* ============================================ */

/* Page Header (Hero) */
.page-header {
    padding: 120px 0 80px 0;  /* Daha fazla padding */
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    margin-bottom: 40px;
}
/* Mobil için */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 50px 0;
    }
    .page-header h1 {
        font-size: 1.8rem !important;
    }
}

.sidebar-menu {
    background-color: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.1);
    padding: 30px 25px;
}

.sidebar-menu h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 5px;
}

.sidebar-links li a {
    display: block;
    padding: 12px 15px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    background: transparent;
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
    color: var(--gold);
    padding-left: 22px;
    background: rgba(212, 183, 143, 0.05);
    border-left-color: var(--gold);
}


/* Teknik Kartlar */
.tech-spec-card {
    background: rgba(22, 22, 28, 0.8);
    border-left: 3px solid var(--gold);
    padding: 18px 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-spec-card:hover {
    background: rgba(212, 183, 143, 0.05);
    transform: translateX(5px);
}

.tech-spec-card .small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #a0a0a0 !important;
}

.tech-spec-card .fw-semibold {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 8px;
}

/* Galeri Öğeleri */
.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid rgba(197, 168, 128, 0.1);
    transition: all 0.3s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,15,15,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Content Rich */
.content-rich {
    color: #d4d4d8;
    font-size: 0.95rem;
    line-height: 1.8;
}

.content-rich p {
    margin-bottom: 20px;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 30px 0;
    }
    .page-header h1 {
        font-size: 1.5rem;
    }
}