@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary: #df1b3f;
    --primary-glow: rgba(223, 27, 63, 0.4);
    --accent: #2e60ff;
    --text-main: #fcfcfc;
    --text-muted: #9aa0a6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; }

/* Navbar */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

nav .logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
}

nav .logo span { color: var(--primary); }

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav ul li a:hover { color: var(--primary); }

/* Nav Actions (Buttons in Header) */
.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.nav-btn-phone {
    background: transparent;
    border: 1px solid var(--border-color);
}
.nav-btn-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.nav-btn-whatsapp {
    background: #25D366; /* Official WhatsApp color */
    border: 1px solid #25D366;
}
.nav-btn-whatsapp:hover {
    background: #1ebc59;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    background: #050505;
    overflow: hidden;
}

.video-bg-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.video-bg-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(90deg, #0a0a0cf5 0%, #0a0a0ca1 50%, #0a0a0c4f 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Outfit';
    transition: 0.3s;
    border: 1px solid transparent;
}

.btn:hover {
    background: transparent;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Brands Marquee / Partner Ribbon */
.brands-section {
    background: #000;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.brands-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.brand-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}
.brand-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #444; /* Subtle dark metallic */
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    cursor: default;
}
.brand-logo:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.4);
}

/* Sections */
.section { padding: 6rem 5%; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: 0.3s;
}
.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}
.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.btn-text {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}
.btn-text:hover {
    color: #fff;
    letter-spacing: 1px;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: white;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--primary);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.video-info { padding: 1.5rem; }
.video-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-date { color: var(--text-muted); font-size: 0.85rem; }

/* Video Detail Page */
.video-detay {
    padding: 8rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}
.player-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}
.player-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.video-meta h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.video-meta p { color: var(--text-muted); white-space: pre-wrap;}

/* Footer */
.footer {
    background: #050505;
    border-top: 1px solid var(--border-color);
    padding: 5rem 5% 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
}
/* Search Module Elementleri */
.search-module {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.search-input:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}
.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(223, 27, 63, 0.4), inset 0 2px 4px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.08);
}
select.search-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* ========================================= */
/* MOBIL UYUMLULUK (Responsive Design)       */
/* ========================================= */
@media (max-width: 950px) {
    /* Navbar Akıllı Konumlandırma */
    nav {
        padding: 1rem 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .nav-brand {
        width: 100%;
    }
    
    .hamburger {
        display: block !important;
    }
    
    nav .logo img {
        max-height: 36px !important;
    }
    
    /* Hamburger Menüsü & Linkler */
    nav ul.nav-links {
        display: none; /* Checkbox hack ile açılır */
        flex-direction: column;
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255,255,255,0.05);
        padding: 1rem;
        border-radius: 8px;
        gap: 1.2rem;
        text-align: center;
    }
    
    #menu-toggle:checked ~ ul.nav-links {
        display: flex;
        animation: fadeInDown 0.3s ease forwards;
    }
    
    nav ul li a {
        font-size: 1rem;
        display: block;
        padding: 0.5rem;
    }

    /* Telefonlarda Menü ve Sosyal İkonların Hizalanması */
    .nav-right {
        width: 100%;
        flex-direction: column;
        gap: 1.2rem !important;
    }
    .social-icons {
        border-right: none !important;
        padding-right: 0 !important;
        justify-content: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-bottom: 0.8rem;
    }

    /* Müşteri İletişim Butonları %50 - %50 Alan Kaplayacak */
    .nav-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 0.8rem;
    }
    .nav-btn {
        flex: 1; /* %50 - %50 genişlik oranı */
        justify-content: center;
        padding: 0.8rem 0;
        font-size: 0.85rem;
        text-align: center;
    }
    .nav-btn-phone, .nav-btn-whatsapp {
        font-size: 0.9rem; /* Yazılar artık tamamen net görünecek */
    }
    
    /* Hero Section Karşılama Ekranı Mobilleştirilmesi */
    .hero {
        padding-top: 12rem;
    }
    .hero-content {
        margin-top: 2rem;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    
    /* Seksiyon ve Blok Boşluk Dağılımı */
    .section {
        padding: 4rem 5%;
    }
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Arama Modülü (Filtreleme Kutuları Mobilde Alt Alta Dizilsin) */
    .search-module form {
        flex-direction: column;
    }
    .search-input {
        width: 100%;
    }
    
    /* Alt Bilgi Footer Dağılımı */
    .footer {
        padding: 3rem 5% 2rem;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
