* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* --- MENÜ (HEADER) --- */
header {
    background: #1e1e1e;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: #f39c12;
}

/* --- ANA SAYFA (HERO & HİZMETLER) --- */
.hero-section {
    background: linear-gradient(rgba(18, 18, 18, 0.75), rgba(18, 18, 18, 0.95)), url('img/kolaj.png') center/cover no-repeat;
    padding: 160px 20px;
    text-align: center;
    border-bottom: 1px solid #2a2a2a;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #f39c12;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #f39c12;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #d68910;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #f39c12;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #f39c12;
    color: #121212;
}

/* HİZMET KARTLARI */
section#leistungen {
    padding: 80px 20px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #2a2a2a;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.15);
    border-color: #f39c12;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #f39c12;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: #f39c12;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.service-content p {
    color: #cccccc;
    font-size: 0.95rem;
}

/* --- GALERİ / REFERANSLAR SAYFASI --- */
.page-title {
    background: #1a1a1a;
    padding: 60px 20px;
    border-bottom: 1px solid #2a2a2a;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 10px;
}

.gallery-section {
    padding: 60px 20px;
    background-color: #121212;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px; 
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.gallery-box:hover img {
    transform: scale(1.1);
}

.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-box:hover .gallery-hover {
    opacity: 1;
}

.gallery-hover span {
    color: #f39c12;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #f39c12;
    padding: 8px 16px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* --- FOOTER --- */
footer {
    background: #0a0a0a;
    padding: 30px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.legal-links {
    margin-top: 15px;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.legal-links a:hover {
    color: #f39c12;
}

/* Werbethek Logo Stilleri */
.logo-container {
    display: inline-block;
    vertical-align: middle;
    padding: 5px 0;
}

.site-logo {
    height: 75px; /* Logoyu daha görünür yapmak için yüksekliği artırdık */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    padding: 2px 0; /* Menü sınırlarına yapışmaması için hafif boşluk */
}

    /* Fareyle üzerine gelindiğinde hafif bir esneklik katmak için */
    .site-logo:hover {
        transform: scale(1.05);
    }

/* Mobil Ekranlar İçin Düzenleme (Maksimum 768px genişlik) */
@media screen and (max-width: 768px) {

    /* Navigasyon barının dış kutusunu esnek yap ve taşmayı engelle */
    .header, nav, .nav-container {
        display: flex !important;
        flex-direction: column !important; /* Logo üstte, menü altta olsun */
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 10px 0 !important;
    }

        /* Menü linklerinin yan yana sığmıyorsa alt alta geçmesini sağla */
        .nav-links, nav ul, .menu {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important; /* Sığmayan link alt satıra insin */
            justify-content: center !important;
            gap: 10px !important;
            padding: 0 !important;
            margin-top: 10px !important;
            width: 100% !important;
        }

            .nav-links a, nav ul li a {
                font-size: 14px !important; /* Mobilde yazıları tık tık küçültelim */
                padding: 5px 8px !important;
            }

    /* Sayfanın sağa doğru kaymasını (yatay scroll) kökten engelleme */
    html, body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}