/* ===== 1. FONT VE DEĞİŞKENLER ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2ecc71;
    --dark-color: #111;
    --light-bg: #f9f9f9;
    --card-shadow: 0 15px 35px rgba(0,0,0,0.1);
    --design-dark: #34495e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #0f0f0f !important; 
    color: #ffffff !important; 
    overflow-x: hidden; 
}

/* Sayfa Karartma Perdesi */
body.menu-open::before {
    content: ''; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998;
}

/* ===== 2. KRİTİK HİZALAMA ===== */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-section {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.container h1 { margin-top: 50px; }

/* ===== 3. PREMIUM OVAL NAVBAR ===== */
.navbar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1200px;
    background: rgba(17, 17, 17, 0.85) !important;
    backdrop-filter: blur(12px); border-radius: 60px;
    padding: 10px 30px; display: flex; justify-content: space-between;
    align-items: center; z-index: 9999; box-shadow: 0 15px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
}

.nav-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo-box { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.logo-img { height: 45px; width: auto; }
.logo-text { color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; }

.nav-links { display: flex; list-style: none; gap: 10px; margin: 0; }
.nav-links a {
    color: #eee;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,255,157,0.25);
    transition: 0.3s;
}

.nav-links a:hover {
    border-color: rgba(0,255,157,0.7);
    box-shadow: 0 0 15px rgba(0,255,157,0.5), 0 0 25px rgba(0,255,157,0.3) inset;
    transform: translateY(-2px);
}

.nav-links a.active {
    background: rgba(0,255,157,0.15);
    border-color: rgba(0,255,157,0.7);
    color: #00ff9d;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0,255,157,0.5);
}
.nav-button { 
    background: var(--primary-color); color: #fff; text-decoration: none; 
    padding: 10px 22px; border-radius: 30px; font-weight: 600; font-size: 14px; transition: 0.3s; 
}
.nav-button:hover { transform: scale(1.05); background: #27ae60; }

/* ===== 4. HERO SLIDER & CONTENT ===== */
.hero-slider-premium { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.hero-swiper { width: 100%; height: 100%; }
.swiper-slide { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; height: 100vh; }

.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; }
.slide-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 2; }

.slide-content { position: relative; z-index: 3; color: #fff; max-width: 800px; padding: 120px 20px 0 20px; margin: 0 auto; }
.slide-content h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #fff; text-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.slide-content p { font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 40px; color: #f0f0f0; max-width: 800px; margin-left: auto; margin-right: auto; }

.premium-btn, .Teklif-Al {
    display: inline-block;
    padding: 15px 40px;
    background-color: #2ecc71;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #2ecc71;
}

.premium-btn:hover, .Teklif-Al:hover {
    background-color: transparent;
    color: #2ecc71 !important;
}

/* ===== 5. SAYILARLA EMKA & PROJELER ===== */
.counter-section { padding: 60px 20px; background-color: #111; color: #fff; }
.counter-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; }
.counter-item h2 { font-size: 3.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }

section { padding: 80px 20px; text-align: center; }
.projects-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.project-card { background: white; border-radius: 15px; overflow: hidden; width: 300px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: 0.3s; }
.project-card:hover { transform: translateY(-10px); }
.project-card img { width: 100%; height: 200px; object-fit: cover; cursor: pointer; }

/* ===== 6. TASARLA SAYFASI (ÖZEL KATMANLAR) ===== */
.design-wrapper { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 120px auto 50px; padding: 20px; justify-content: center; }
.preview-card { flex: 1 1 600px; background: #111; border-radius: 24px; padding: 20px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; align-items: center; }

.image-container-layered { position: relative; width: 100%; height: 450px; border-radius: 16px; overflow: hidden; background: #eef2f3; }
.image-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }

.color-swatch { width: 50px; height: 50px; border-radius: 50%; cursor: pointer; border: 3px solid rgba(0,0,0,0.1); }
.color-swatch.active { border-color: var(--primary-color); }

/* ===== 7. MODAL & EFEKTLER ===== */
.modal { display: none; position: fixed; z-index: 9999; inset: 0; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; }
.modal-content { max-width: 80%; max-height: 80%; border-radius: 10px; }

/* ===== 8. YARDIMCI ÖĞELER (WHATSAPP, İMLEÇ) ===== */
.whatsapp-float {
    position: fixed; bottom: 25px; right: 25px; width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; display: flex; justify-content: center; align-items: center;
    z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.whatsapp-float:hover { background: #1ebe57; transform: scale(1.1); }
.whatsapp-float img { width: 30px; height: 30px; }

#custom-cursor { position: fixed; width: 35px; height: 35px; background: url('imlec.png') no-repeat center; background-size: contain; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); }

/* ===== 9. MOBİL RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 250px; background: rgba(17, 17, 17, 0.95); flex-direction: column; padding-top: 100px; transition: 0.3s; }
    .nav-links.active { right: 0; }
    .hamburger { display: flex; z-index: 1000; }
    .slide-content h1 { font-size: 2.5rem; }
    .design-wrapper { flex-direction: column; }
}

/* Mobil küçük ekranlar */
@media (max-width: 480px) {
    .preview-card { min-height: 400px; padding: 20px; }
    .nav-button { display: none; }
}
.swiper-slide-active .slide-bg {
    animation: zoom 7s linear forwards;
}
@keyframes zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
/* ===== PREMIUM GLASS PROJECT CARDS ===== */

.project-card {
    position: relative;
    overflow: hidden;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 20px;
    border: 1px solid rgba(0,255,157,0.25);

    box-shadow:
        0 0 20px rgba(0,255,157,0.12),
        inset 0 0 15px rgba(0,255,157,0.05);

    transition: all 0.4s ease;
}

/* Hover efekti */
.project-card:hover {
    transform: translateY(-12px) scale(1.02);

    border: 1px solid rgba(0,255,157,0.6);

    box-shadow:
        0 0 35px rgba(0,255,157,0.4),
        0 0 70px rgba(0,255,157,0.2);
}

/* Görsel düzenleme */
.project-card img {
    width: 100%;
    display: block;
    border-radius: 20px 20px 0 0;
    transition: transform 0.6s ease;
}

/* Hover’da görsel hafif zoom */
.project-card:hover img {
    transform: scale(1.08);
}

/* İç yazılar */
.project-card h3 {
    color: #ffffff;
    margin-top: 20px;
}

.project-card p {
    color: #cccccc;
    padding: 0 15px 25px;
}

/* Hafif koyu overlay efekti */
.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}
/* ===== PREMIUM GLASS SECTION TITLE ===== */

#projeler {
    padding-top: 120px; /* yukarı taşıma efekti */
}

.section-title-glass {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    padding: 20px 50px;

    color: #ffffff;
    letter-spacing: 1px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 50px;
    border: 1px solid rgba(0,255,157,0.3);

    box-shadow:
        0 0 25px rgba(0,255,157,0.2),
        inset 0 0 20px rgba(0,255,157,0.05);

    transition: all 0.4s ease;
}

/* Hover’da hafif glow */
.section-title-glass:hover {
    border: 1px solid rgba(0,255,157,0.7);
    box-shadow:
        0 0 45px rgba(0,255,157,0.5),
        0 0 80px rgba(0,255,157,0.25);
}
.elfsight-container {
    display: flex;
    justify-content: center; /* Yatayda ortalar */
    width: 100%;
    margin-top: 40px;
}
/* --- Dropdown Menü Temel Ayarları --- */
.nav-item {
    position: relative; /* Alt menünün düzgün hizalanması için şart */
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Ana menünün hemen altına yerleşir */
    left: 50%;
    transform: translateX(-50%) translateY(15px); /* Hafif aşağıdan başlar */
    background: rgba(20, 20, 20, 0.98); /* Görseldeki koyu arka plan */
    backdrop-filter: blur(10px);
    min-width: 220px;
    border-radius: 20px;
    padding: 15px 0;
    list-style: none;
    
    /* Gizleme Ayarları */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    
    border: 1px solid rgba(46, 204, 113, 0.2); /* Neon yeşil ince çerçeve */
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 10000;
}

/* --- Hover (Üzerine Gelince) Gösterme --- */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px); /* Yukarı doğru süzülerek gelir */
}

/* --- Dropdown Link Stilleri --- */
.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    background: transparent !important; /* Arkaplanı temizle */
    box-shadow: none !important; /* Ana menüdeki neon gölgeyi burada kaldır */
    text-align: left;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    color: #2ecc71 !important; /* Üzerine gelince metin yeşil olur */
    background: rgba(46, 204, 113, 0.05) !important;
}
/* --- MOBİL MENÜ TASARIMI (900px Altı) --- */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 100000; }
.hamburger span { display: block; width: 28px; height: 3px; background: #fff; border-radius: 5px; transition: 0.3s; }
.mobile-close, .mobile-cta { display: none; }

@media (max-width: 900px) {
    .desktop-only { display: none; }
    .hamburger { display: flex; } /* Mobilde butonu göster */
    .mobile-close, .mobile-cta { display: block; }

    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(10, 10, 10, 0.98); flex-direction: column; justify-content: center;
        transition: 0.5s ease; z-index: 100000; backdrop-filter: blur(20px);
    }
    .nav-links.show { right: 0; } /* Menüyü açar */
    
    .nav-links li { margin: 15px 0; width: 100%; text-align: center; }
    .nav-links a { font-size: 1.5rem; display: block; }
    .mobile-close { position: absolute; top: 30px; right: 30px; font-size: 3.5rem; color: #2ecc71; cursor: pointer; }
    
    /* Mobilde Dropdown'ı Alt Alta Göster */
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; border: none; box-shadow: none; display: none; }
    .nav-item:hover .dropdown-menu { display: block; background: transparent; }
}
/* ============================= */
/* GERÇEK MOBİL DÜZELTME        */
/* ============================= */

@media (max-width: 992px) {

    /* Grid tek kolona düşsün */
    .main-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        margin-top: 120px;
    }

    /* Preview alanı */
    .preview-card {
        width: 100%;
        min-height: auto;
        padding: 20px;
    }

    /* 3D sahne küçülsün */
    .scene-3d {
        height: 260px;
    }

    /* CUBE ORANSAL KÜÇÜLME */
  .cube-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 380 / 220;
    }

    /* Fiyat etiketi yukarı sabit olmasın */
    .price-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }

    /* Kontrol panel */
    .control-panel {
        width: 100%;
        padding: 25px 20px;
    }

    /* Butonlar tek kolon */
    .btn-grid {
        grid-template-columns: 1fr !important;
    }

    /* Seçim butonları */
    .btn-choice {
        width: 100%;
        font-size: 0.95rem;
    }

    /* Renk swatch ortala */
    .swatch-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* PDF buton */
    .wa-btn {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }

    /* Contact kartlar */
    .premium-contact-card {
        min-width: 100%;
    }
}
@media (max-width: 768px) {

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .preview-card {
        padding: 20px;
        min-height: auto;
    }

    .scene-3d {
        height: auto;
    }

    .cube-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        transform: rotateX(-15deg) rotateY(-30deg);
    }

    .control-panel {
        width: 100%;
        padding: 25px 18px;
    }

    .btn-grid {
        grid-template-columns: 1fr;
    }

    .price-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 15px;
    }
}
body{
background:#0f0f0f;
overflow-x:hidden;
}

.bg-animated{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:
radial-gradient(circle at 20% 30%, rgba(46,204,113,0.15), transparent 50%),
radial-gradient(circle at 80% 70%, rgba(46,204,113,0.12), transparent 50%);
animation:spin 25s linear infinite;
z-index:-1;
filter:blur(60px);
}

@keyframes spin{
0%{transform:rotate(0deg) scale(1);}
50%{transform:rotate(180deg) scale(1.1);}
100%{transform:rotate(360deg) scale(1);}
}
/* ===== MOBİL NAVBAR ===== */
.hamburger{
display:none;
flex-direction:column;
gap:6px;
cursor:pointer;
}

.hamburger span{
width:26px;
height:3px;
background:white;
border-radius:4px;
transition:.3s;
}

@media(max-width:900px){

.nav-links{
position:fixed;
top:0;
right:-100%;
height:100vh;
width:75%;
background:#0f0f0f;
flex-direction:column;
justify-content:center;
align-items:center;
gap:25px;
transition:.4s ease;
z-index:9998;
box-shadow:-10px 0 30px rgba(0,0,0,.5);
}

.nav-links.show{
right:0;
}

.nav-links a{
font-size:1.4rem;
}

.hamburger{
display:flex;
}

.nav-button{
display:none;
}

.mobile-close{
position:absolute;
top:25px;
right:30px;
font-size:2.5rem;
color:var(--green);
cursor:pointer;
}
}