:root {
    --primary-color: #1a252f;
    --accent-color: #d4a017;
    --text-color: #555;
    --light-bg: #f8f9fa;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.7;
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

a { text-decoration: none; }

/* Üst Bilgi */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}
.top-bar i { margin-right: 5px; color: var(--accent-color); }
.top-bar a { color: white; margin-left: 15px; }

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 15px;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--accent-color); }

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-color);
    border-radius: 0;
}
.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}
.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--accent-color);
}
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
}

/* --- SLIDER DÜZELTMELERİ --- */
.carousel-item {
    height: 700px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}


/* Diğer normal slaytlar */
.img-wrapper { width: 100%; height: 100%; }
.carousel-item:not(.logo-slide) img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.65;
    transition: transform 0.1s linear;
    transform-origin: center center;
}

.carousel-caption { bottom: 35%; z-index: 10; }
.carousel-caption h5 {
    color: #ffffff;
    font-size: 3.5rem;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
    border-bottom: 4px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}
.carousel-caption p {
    color: #f0f0f0;
    font-size: 1.4rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    font-weight: 600;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out 0.3s;
}
.carousel-item .btn {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out 0.6s;
}
.carousel-item.active h5, .carousel-item.active p, .carousel-item.active .btn {
    opacity: 1; transform: translateY(0);
}

@media (max-width: 768px) {
    .carousel-item h5 { font-size: 1.8rem; }
    .carousel-item { height: 500px; }
}

/* --- SAYFA BAŞLIKLARI (HEADER) --- */

/* Genel İçerik Stilleri */
.section-padding { padding: 60px 0; }
.bg-light-custom { background-color: var(--light-bg); }
.section-title { margin-bottom: 40px; position: relative; text-align: center; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--accent-color); margin: 15px auto 0; }

.features-section { padding: 60px 0; background: white; margin-top: -60px; position: relative; z-index: 20; }
.feature-box { background: white; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); text-align: center; border-radius: 5px; transition: 0.3s; height: 100%; }
.feature-box:hover { border-bottom: 3px solid var(--accent-color); transform: translateY(-10px); }
.feature-box i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }

/* Buton ve Footer */
.btn-custom { background-color: var(--accent-color); color: white; border-radius: 50px; padding: 10px 30px; font-weight: 600; transition: 0.3s; border: 2px solid var(--accent-color); display: inline-block; }
.btn-custom:hover { background-color: transparent; color: var(--accent-color); }
.btn-outline-custom { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); border-radius: 50px; padding: 10px 25px; font-weight: 600; transition: 0.3s; }
.btn-outline-custom:hover { background-color: var(--primary-color); color: white; }

footer { background-color: #1a1a1a; color: #888; padding: 60px 0 20px; }
footer h5 { color: white; margin-bottom: 25px; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; border-bottom: 1px solid #333; padding-bottom: 10px; }
footer ul li a { color: #888; transition: 0.3s; }
footer ul li a:hover { color: var(--accent-color); padding-left: 5px; }
.project-card { background: white; border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; margin-bottom: 30px; }
.project-card:hover { transform: translateY(-5px); }
.project-card img { height: 300px; object-fit: cover; }
.single-project-box { background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 10px; overflow: hidden; }
.single-project-content { padding: 40px; display: flex; flex-direction: column; justify-content: center; height: 100%; }
/* --- FOOTER LOGO AYARI --- */
.footer-logo {
    width: 180px;
    height: auto;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: inline-block;
}
/* --- SAYFA GEÇİŞ ANİMASYONU --- */
body {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}
/* --- ÇEREZ (COOKIE) BANNER TASARIMI --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #1a252f;
    color: white;
    padding: 20px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    border-top: 3px solid #d4a017;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-text a {
    color: #d4a017;
    text-decoration: underline;
}

.btn-cookie-accept {
    background-color: #d4a017;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    margin-left: 10px;
}
.btn-cookie-accept:hover {
    background-color: white;
    color: #1a252f;
}

.btn-cookie-reject {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #ccc;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9rem;
}
.btn-cookie-reject:hover {
    border-color: white;
    color: white;
}
/* --- WHATSAPP BUTONU --- */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: all 0.3s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}
#backToTop:hover {
    background-color: #d4a017;
}
/* --- İSTATİSTİK SAYACI --- */
.counter-section {
    background: url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
    margin-top: 50px;
    color: white;
}



.counter-section .container { position: relative; z-index: 2; }

.counter-box { text-align: center; padding: 20px; }
.counter-box i { font-size: 50px; color: var(--accent-color); margin-bottom: 15px; }

.counter-number {
    font-size: 3.5rem; font-weight: 700; color: white;
    display: block; font-family: 'Montserrat', sans-serif;
}

.counter-text {
    font-size: 1.1rem; text-transform: uppercase;
    letter-spacing: 1px; margin-top: 10px; color: #ddd;
}
/* --- MÜŞTERİ YORUMLARI (TESTIMONIALS) --- */
.testimonial-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid var(--accent-color);
    height: 100%;
    transition: transform 0.3s;
}
.testimonial-box:hover {
    transform: translateY(-5px);
}
.quote-icon {
    font-size: 30px;
    color: #eee;
    margin-bottom: 15px;
}
.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}
.customer-info h5 {
    font-size: 1rem;
    font-weight: 700;
}

/* --- HAREKETE GEÇİRİCİ ŞERİT (CTA) --- */
.cta-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    position: relative;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}
/* --- PROJE KARTLARI (ZOOM EFEKTİ) --- */
.project-card {
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.project-card .card-img-top {
    transition: transform 0.5s ease;
    height: 250px;
    object-fit: cover;
}

.project-card:hover .card-img-top {
    transform: scale(1.1);
}

/* --- ÖZEL KAYDIRMA ÇUBUĞU (SCROLLBAR) --- */
/* Çubuğun genişliği */
::-webkit-scrollbar {
    width: 12px;
}

/* Çubuğun arka planı (Yol) */
::-webkit-scrollbar-track {
    background: #1a1a1a;
}

/* Hareket eden kısım (Tutamak) */
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 6px;
    border: 3px solid #1a1a1a;
}

/* Üzerine gelince rengi değişsin */
::-webkit-scrollbar-thumb:hover {
    background: #fff; 
}
/* --- BÖLÜM BAŞLIKLARI --- */
.section-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.ls-2 { letter-spacing: 2px; }


/* Mouse gelince resim büyüsün */
.project-showcase:hover .project-thumb img {
    transform: scale(1.1);
}

/* Siyah Perde (Degrade) */
.project-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.project-content {
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* Mouse gelince yazılar yukarı kaysın */
.project-showcase:hover .project-content {
    transform: translateY(0);
}
/* --- MODERN İSTATİSTİK KARTLARI --- */
.stats-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Mouse ile üzerine gelince */
.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

/* İkon kutusunun içindeki ikon da büyüsün */
.stats-card:hover .icon-wrapper i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
/* --- SİNEMATİK HERO SLIDER --- */

/* 1. Yükseklik ve Resim Ayarları */
.h-100vh {
    height: 100vh;
    min-height: 600px;
}

.hero-img {
    object-fit: cover;
    object-position: center;
    animation: kenBurns 20s infinite alternate; 
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* 2. Siyah Perde (Overlay) */
.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
    z-index: 1;
}

/* 3. Yazı Animasyonları */
.carousel-caption {
    z-index: 2;
    bottom: 0;
    top: 0;
}

.animate-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
}

.carousel-item.active .animate-up {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gecikmeler (Sırayla gelsinler diye) */
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 0.7s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.1s; }

/* 4. Mouse İkonu Animasyonu */
.scroll-wheel {
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Mobilde Başlık Boyutunu Küçült */
@media (max-width: 768px) {
    .hero-img { animation: none; }
    .display-2 { font-size: 2.5rem; }
}
/* --- APPLE TARZI SCROLL EFEKTİ --- */

/* 1. Slider'ı Sabitle */
#heroCarousel {
    position: sticky;
    top: 0;
    z-index: 0;
    height: 100vh;
    overflow: hidden;
}

/* 2. Slider'dan Sonra Gelen Her Şey Üstte Dursun */
section, footer, .top-bar, nav {
    position: relative;
    z-index: 2;
    background-color: #fff;
}


/* Biz Kimiz Bölümüne Şık Bir Gölge Verelim (Perde Hissi) */
#kurumsal, .section-padding:first-of-type {
    box-shadow: 0 -30px 50px rgba(0,0,0,0.1);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: -30px;
}
/* --- TOP BAR DÜZELTMESİ --- */
.top-bar {
    position: relative;
    z-index: 10001;
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}


/* --- FOOTER RENK DÜZELTMESİ --- */
footer {
    background-color: #111;
    color: #fff;
    position: relative;
    z-index: 5;
}
/* --- SABİT E-KATALOG BUTONU --- */
.catalog-btn {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 9999;
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* İçindeki Yazıyı Dikey Yap */
.catalog-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 14px;
}

.catalog-btn:hover {
    background-color: var(--accent-color);
    color: #000;
    padding-left: 20px;
}
/* --- WHATSAPP BUTONU CANLANDIRMA --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

.whatsapp-btn:hover {
    color: rgb(0, 0, 0);
    background-color: #128c7e;
}
/* --- YENİ TOP BAR TASARIMI - --- */
.top-bar {
    background-color: #111;
    color: #fff;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    height: 50px;
}

/* Sol taraftaki Konum */
.top-location {
    display: flex;
    align-items: center;
    height: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Sağ taraftaki Telefon Alanı */
.top-phone-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    margin-right: 15px;
    line-height: 1.2;
}

.top-phone-label {
    font-size: 9px;
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
}

.top-phone-number {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

/* Sosyal Medya KUTULARI (Resim Gibi) */
.social-box-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 55, 255, 0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-box-link:hover {
    background-color: var(--accent-color);
    color: #000;
}
/* --- TOP BAR AYARLARI --- */
.top-bar {
    background-color: #111;
    height: 50px;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* --- MENÜ (NAVBAR) AYARLARI - TEMİZ KURULUM --- */
#mainNav {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding-top: 20px;
    transition: all 0.4s ease;
}

/* Link Yazıları */
#mainNav .nav-link {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-left: 15px;
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.7);
}

#mainNav .nav-link:hover {
    color: var(--accent-color);
}

/* SCROLL EDİNCE MENÜ SİYAH OLUP YUKARI YAPIŞSIN */
#mainNav.navbar-scrolled {
    position: fixed;
    top: 0;
    background-color: #565656;
    padding-top: 3px;
    padding-bottom: 3px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/* Mobilde Menü Açılınca Arka Plan */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        margin-top: 10px;
        border-radius: 5px;
    }
}
/* --- DİĞER SAYFALAR İÇİN DÜZELTMELER --- */

/* 1. Normal Durumda Logo Boyutu */
#mainNav .navbar-brand img {
    height: 120px;
    width: auto;
    max-height: none;
    padding: 5px 0;
    transition: all 0.3s ease;
}

/* 2. (OPSİYONEL) Aşağı Kaydırınca Küçülsün */
#mainNav.navbar-scrolled .navbar-brand img {
    height: 80px;
}

/* 3. Diğer Sayfalardaki (Hakkımızda vs.) Logo Ayarı */
.navbar-brand img {
      height: 65px;
      width: auto;
}
/* --- MODERN PREMIUM BUTONLAR --- */

/* 1. GENEL BUTON AYARLARI (Şekil ve Yazı) */
.btn {
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Buton içindeki ikon (Ok işareti) */
.btn i {
    transition: transform 0.3s ease;
}

/* Üzerine gelince ikon sağa kaysın */
.btn:hover i {
    transform: translateX(5px);
}

/* 2. SARI (GOLD) BUTON - (.btn-warning ve .btn-custom) */
.btn-warning, .btn-custom {
    background: linear-gradient(45deg, #d4a017, #f6c23e);
    border: none;
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
}

.btn-warning:hover, .btn-custom:hover {
    background: linear-gradient(45deg, #f6c23e, #d4a017);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.6);
    color: #000;
}

/* 3. ŞEFFAF (CAM) BUTON - (.btn-outline-light) */
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* 4. MOBİLDE BUTONLAR ALT ALTA YAPIŞMASIN */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        margin-bottom: 15px;
        display: block;
    }
    .me-3 { margin-right: 0; }
}
/* --- MOBİL DÜZELTMELER (ÇAKIŞMAYI ÖNLEME) --- */
@media (max-width: 991px) {
    
    /* 1. Logoyu Mobilde Küçült (Telefonda 75px çok büyük kaçar) */
    #mainNav .navbar-brand img,
    .navbar-brand img {
        height: 70px;
        width: auto;
        margin-top: 0;
    }

    /* 2. Menü Çubuğunu Hizala */
    #mainNav {
        top: 50px;
        padding: 10px 0;
    }

    /* 3. Slider Yazılarını Aşağı İt (Logonun altına girmesin) */
    .carousel-caption {
        padding-top: 100px;
        justify-content: center;
    }

    /* 4. Yazı Boyutlarını Mobilde Dengele */
    .display-2 {
        font-size: 2.5rem;
    }
    
    /* 5. Üst Siyah Bar (Top Bar) Düzenlemesi */
    .top-bar {
        height: auto;
        padding: 5px 0;
    }
    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
    }
    /* Konum yazısını biraz küçült sığsın */
    .top-location {
        font-size: 10px; 
    }
    .top-location i {
        font-size: 12px;
    }
}
/* --- MOBİL YAN MENÜ (OFF-CANVAS) TASARIMI --- */

/* Panel Arka Planı */
.offcanvas {
    background-color: #111111;
    color: #fff;
    border-left: 3px solid var(--accent-color);
    width: 300px;
}

/* Kapatma Butonu (X) Rengi */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 1;
}

/* Mobilde Açılır Menü (Dropdown) Düzenlemesi */
@media (max-width: 991px) {
    /* Menü linkleri daha büyük olsun */
    .offcanvas-body .nav-link {
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid rgb(94, 75, 0);
    }
    
    /* Dropdown açılınca içindekiler */
    .offcanvas-body .dropdown-item {
        color: #ffffff;
        font-size: 14px;
        padding: 8px 0;
    }
    .offcanvas-body .dropdown-item:hover {
        color: var(--accent-color);
        background: none;
        padding-left: 10px;
    }
}
/* --- MOBİL MENÜ YUMUŞAK AÇILMA (HER SAYFA İÇİN GEÇERLİ) --- */
@media (max-width: 991px) {
    /* Menü kapalıyken */
    .dropdown-menu {
        display: block !important; /* Bootstrap'in gizlemesini iptal et */
        max-height: 0;             /* Boyunu sıfırla */
        overflow: hidden;          /* Taşanı gizle */
        opacity: 0;                /* Görünmez yap */
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        transition: all 0.4s ease-in-out !important; /* Yavaşça açıl */
        transform: translateY(-10px);
    }

    /* Menü Açıkken (.show sınıfı gelince) */
    .dropdown-menu.show {
        max-height: 1000px !important; /* Yeterince uzun olsun */
        opacity: 1 !important;         /* Görünür olsun */
        padding: 10px 0 !important;    /* İç boşluk ver */
        transform: translateY(0);
        margin-top: 5px !important;
    }
}
/* =========================================
   MODERN MOBİL MENÜ TASARIMI (V2)
   ========================================= */

/* 1. Panel Genel Ayarları */
.modern-menu {
    background-color: #1a1a1a !important; /* Koyu Gri Zemin */
    background-image: linear-gradient(180deg, #1a1a1a 0%, #000000 100%); /* Hafif degrade */
    width: 320px !important; /* Genişlik */
    border-left: none !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.8); /* Derinlik gölgesi */
}

/* 2. Ana Linkler (Büyük ve İddialı) */
.main-link {
    font-size: 1.2rem !important; /* Yazı boyutu büyüdü */
    font-weight: 800 !important;
    color: #fff !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: all 0.3s ease;
}

/* Üzerine gelince veya aktifken */
.main-link:hover, .dropdown-menu.show + .main-link {
    color: #d4a017 !important; /* Altın rengi */
    padding-left: 10px !important; /* Sağa kayma efekti */
}

/* 3. Alt Linkler (Dropdown İçi) */
.sub-link {
    font-size: 0.95rem !important;
    color: #aaa !important;
    padding: 10px 0 !important;
    display: flex; align-items: center;
    transition: all 0.3s ease;
}
.sub-link:hover {
    color: #fff !important;
    background: transparent !important;
    transform: translateX(5px);
}
/* Küçük ok işareti */
.sub-link i { font-size: 10px; opacity: 0.7; }

/* 4. Menü Altı (Footer Alanı) */
.menu-footer { margin-bottom: 20px; }

/* Sosyal Medya Yuvarlakları */
.social-circle {
    width: 45px; height: 45px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; text-decoration: none;
    transition: all 0.3s ease;
}
.social-circle:hover {
    background-color: #d4a017;
    color: #000;
    border-color: #d4a017;
}

/* 5. GİRİŞ ANİMASYONU (PREMIUM HİS) */
/* Menü açılınca linkler sırayla gelsin */
.offcanvas.show .menu-anim {
    animation: slideInLeft 0.5s ease forwards;
    opacity: 0; transform: translateX(30px);
}

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* Gecikme süreleri (Sırayla gelmeleri için) */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
/* =========================================
   3D FLIP KART TASARIMI (BİTEN PROJELER)
   ========================================= */

/* Kartın Çerçevesi */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px; /* Kart Yüksekliği */
    perspective: 1000px; /* 3D derinlik hissi */
    margin-bottom: 30px;
}

/* İç Kapsayıcı (Dönen Kısım) */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.5s; /* Dönüş hızı */
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 15px;
}

/* Mouse gelince döndür */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Ön ve Arka Yüz Genel Ayarları */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

/* --- ÖN YÜZ (RESİM) --- */
.flip-card-front {
    background-color: #000;
    color: black;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Resmi hafif karart */
    transition: 0.5s;
}

.flip-card:hover .flip-card-front img {
    opacity: 1; /* Dönünce parlasın */
}

/* Ön yüzdeki Başlık (Overlay) */
.front-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 10px;
    
}

.front-content h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin: 0;
}

/* --- ARKA YÜZ (DETAYLAR) --- */
.flip-card-back {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%); /* Siyah Degrade */
    color: white;
    transform: rotateY(180deg); /* Başlangıçta ters durmalı */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--accent-color); /* Sarı Çerçeve */
}

.flip-card-back h5 {
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.flip-card-back p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

/* Büyütme Butonu */
.btn-zoom {
    display: inline-block;
    margin-top: 15px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #000;
    font-size: 20px;
    transition: 0.3s;
}

.btn-zoom:hover {
    background-color: #fff;
    transform: scale(1.1) rotate(90deg); /* Üzerine gelince dönsün */
}
/* --- SAYFAYI ZORLA GÖRÜNÜR YAP (HAYALET MODU KAPAT) --- */
body {
    opacity: 1 !important; /* Görünmezliği iptal et */
    visibility: visible !important; /* Gizliliği iptal et */
    animation: none !important; /* Takılan animasyon varsa durdur */
}

/* Eğer preloader hala duruyorsa onu da gizle */
#preloader {
    display: none !important;
}
/* --- YAN SAYFA BAŞLIK DÜZELTMESİ --- */
.page-header-bg, .page-header {
    margin-top: -100px !important; /* Resmi yukarı çekip menünün arkasına al */
    padding-top: 250px !important;  /* Yazıyı aşağı itip menüden kurtar */
    padding-bottom: 100px !important; /* Altına boşluk ver */
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    z-index: 1;
}

/* Siyah Perde Ayarı (Yazı okunsun diye) */
.page-header-bg::before, .page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5) !important; /* %50 Karartma */
    z-index: 1;
}

/* Yazının kendisi en önde olsun */
.page-header-bg .container, .page-header .container {
    position: relative;
    z-index: 5;
}

/* --- REFERANSLARIMIZ BAŞLIK RENGİNİ BEYAZ YAP --- */
.page-header-bg h1, 
.page-header h1,
.page-header-bg .lead,
.page-header .lead {
    color: #ffffff !important; /* Yazıyı Beyaz Yap */
    text-shadow: 0 2px 5px rgba(0,0,0,0.8); /* Okunması için arkasına siyah gölge at */
}
/* --- MODERN PROJE KARTI (FOTOĞRAFI KAPATMAYAN TASARIM) --- */
.modern-project-card {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

/* Resim Efekti */
.modern-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-project-card:hover img {
    transform: scale(1.1); /* Üzerine gelince resim hafif yakınlaşsın */
}

/* Alt Kısımdaki Modern Karartı (Yazılar okunsun diye) */
.modern-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.8) 40%, transparent 100%);
    padding: 30px 20px 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Rozetler (Satışta / Yeni) */
.card-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

/* İncele Butonu (Şık ve Minimal) */
.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glass:hover {
    background: #d4a017; /* Sarı */
    border-color: #d4a017;
    color: #000;
}
/* =========================================
   YAVAŞ, HAVALI VE OVAL DROPDOWN MENÜ
   ========================================= */

@media (min-width: 992px) {
    /* Başlangıç Hali */
    .dropdown-menu {
        display: block; 
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border: none;
        box-shadow: 0 15px 50px rgba(0,0,0,0.15); /* Gölgeyi biraz artırdım */
        
        /* İŞTE BURASI MENÜYÜ YUVARLAK YAPIYOR */
        border-radius: 15px !important; 
        overflow: hidden; /* Köşelerden taşan renkleri keser */
        margin-top: 10px; /* Menü ile yazı arasına hafif boşluk */
        padding: 10px 0;
    }

    /* Üzerine Gelince */
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Linklerin Üzerine Gelince (Hover) */
    .dropdown-item {
        transition: 0.3s;
        margin: 0 5px; /* Kenarlardan hafif boşluk */
        border-radius: 10px; /* Linklerin kendisi de yuvarlak olsun */
        width: auto;
    }
    
    .dropdown-item:hover {
        background-color: rgba(212, 160, 23, 0.1); /* Çok hafif sarı zemin */
        color: #d4a017; /* Sarı yazı */
        padding-left: 25px; /* Hafif sağa kayma efekti */
    }
}