/* TEMEL AYARLAR */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background: #0B0F19; color: #e5e7eb; line-height: 1.6; overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* HEADER */
header { height: 80px; background: rgba(11, 15, 25, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-area { display: flex; align-items: center; position: relative; }
.logo-lottie-container { position: absolute; left: -110px; top: 50%; transform: translateY(-50%); z-index: 10; }
.logo { margin-left: 40px; color: white; font-weight: 700; z-index: 11; }
nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    border-radius: 12px;
    opacity: 0.6;
    position: relative;
}

nav a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    color: #6c63ff;
}

nav a.active {
    opacity: 1;
    color: #ffffff !important;
    background: rgba(108, 99, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(108, 99, 255, 0.5);
    font-weight: 600;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #6c63ff;
    border-radius: 10px;
    box-shadow: 0 0 10px #6c63ff;
}


/* HERO */
.hero { position: relative; padding: 100px 0; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-text { z-index: 2; max-width: 700px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: white; }
.hero h1 span { background: linear-gradient(90deg, #00f5ff, #6c63ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-animation { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 1; opacity: 0.7; }

/* KARTLAR */
.services { padding: 100px 0; background: #080b12; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.card { background: #111827; padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); transition: 0.4s; height: 100%; }
.card:hover { transform: translateY(-10px); border-color: #6c63ff; box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2); }
.card-link { text-decoration: none; color: inherit; }
.btn-text { color: #6c63ff; font-weight: bold; margin-top: 15px; display: inline-block; }

/* DETAY BÖLÜMLERİ */
.detail-section { padding: 100px 0; }
.alt-bg { background: linear-gradient(135deg, #1a1422 0%, #2a253a 100%); }
.detail-flex { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.detail-flex.reverse { flex-direction: row-reverse; }
.detail-anim, .detail-text { flex: 1; min-width: 350px; }
.detail-text h2 { font-size: 2.8rem; color: white; margin-bottom: 20px; }
.detail-text h2 span { color: #998bff; }
.tags { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tag { border: 1px solid #00f5ff; color: #00f5ff; padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; }

/* BUTONLAR */
.btn { display: inline-block; padding: 15px 35px; background: linear-gradient(90deg, #6c63ff, #4b45b2); color: white; text-decoration: none; border-radius: 50px; font-weight: 600; transition: 0.3s; }
.btn:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4); }

/* WHATSAPP */
.whatsapp { position: fixed; bottom: 30px; right: 30px; z-index: 1000; transition: 0.3s; }
.whatsapp:hover { transform: scale(1.1); }
.whatsapp img { width: 60px; height: 60px; }

/* FOOTER & DİĞER */
footer { padding: 40px; text-align: center; background: #05070a; color: #64748b; }
.about, .contact { padding: 80px 0; text-align: center; }

/* Başlangıçta her şeyi gizle */
section {
    display: none;
}

/* Sadece aktif olanı göster */
section.active-section {
    display: block; /* Veya içeriğine göre flex */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}