/* --- YBG TEMEL AYARLAR --- */
:root {
    --primary-color: #1a252f; /* Kurumsal Koyu Lacivert */
    --accent-color: #d35400; /* Dikkat Çekici Turuncu/Kiremit */
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #fff;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* --- NAVBAR --- */
.navbar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}


.nav-links {
    list-style: none !important; 
    display: flex !important;    
    align-items: center;
    gap: 30px;           
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}
/* --- SAYFA YUMUŞAK AÇILIŞ ANİMASYONU --- */
@keyframes pageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageFadeIn 0.6s ease-out forwards;
}
/* --- BUTONLAR --- */
.btn-primary, .btn-primary-small {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
}
.btn-primary-small { padding: 8px 15px; }
.btn-primary:hover, .btn-primary-small:hover {
    background-color: #e67e22;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
}
.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* --- VİTRİN (HERO) --- */
.hero {
    position: relative;
    height: 80vh;
    background-image: url('https://images.unsplash.com/photo-1556909211-36987daf7b4d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 37, 47, 0.8); /* Koyu Transparan Katman */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero .highlight {
    color: var(--accent-color);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- ÖZELLİKLER (FEATURES) --- */
.features {
    background-color: #fff;
    padding: 50px 0;
    margin-top: -50px; /* Hero'nun üzerine hafif bindirme */
    position: relative;
    z-index: 3;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-box i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* --- HİZMETLER --- */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
}





/* --- NAV-LINKS KESİN ÇÖZÜM --- */
.nav-links {
    list-style: none !important;
    display: flex !important;
    flex-direction: row !important; /* Alt alta gelmesini engeller */
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 768px) {
    .nav-links { display: none; /* Mobilde hamburger menü yapılabilir */ }
    .hero h1 { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
    .features { margin-top: 0; border-radius: 0; box-shadow: none; }
}

/* --- YBG MOBİL HAMBURGER MENÜ --- */
.menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    z-index: 9999; /* Çarpı işareti menünün üstünde kalsın diye */
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Mobilde hamburgeri göster */
    }

    .nav-links {
        position: fixed !important; /* Sayfadan bağımsız ekrana sabitler */
        top: 0 !important;
        right: -100% !important; /* Ekranın sağ tarafında gizli bekle */
        width: 70% !important; /* Ekranın %70'ini kaplar */
        height: 100vh !important; /* Tam boy */
        background-color: var(--primary-color) !important;
        flex-direction: column !important; /* Alt alta diz */
        justify-content: center !important; /* Dikeyde ortala */
        align-items: center !important; /* Yatayda ortala */
        gap: 40px !important;
        z-index: 9998 !important;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5) !important;
        transition: right 0.4s ease-in-out !important; /* Şık kayma animasyonu */
    }

    /* JavaScript tıklandığında bu sınıfı ekleyip menüyü ekrana sokacak */
    .nav-links.mobile-active {
        right: 0 !important; 
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 20px;
    }
}