
html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #121212;       
    --bg-card: #1e1e1e;       
    --bg-secondary: #252525;  
    
    --brand-red: #d60000;     
    --brand-red-hover: #b00000;
    
    --text-main: #e0e0e0;     
    --text-muted: #aaaaaa;    
    
    --border-color: #333333;
}

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

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

h1, h2, h3, h4, .btn-teklif, .nav-links a { 
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header {
    background: rgba(18, 18, 18, 0.95); 
    position: fixed; top: 0; width: 100%; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border-color);
    border-top: 4px solid var(--brand-red);
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 15px 20px;
    height: 80px; 
}

.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-img { 
    height: 50px; 
    width: auto;
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); 
}
.logo-text { 
    font-size: 1.4rem; 
    font-weight: 700; 
    color: #fff; 
    letter-spacing: 1px; 
    position: relative; top: 4px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #fff; font-weight: 500; font-size: 0.95rem; letter-spacing: 1px; opacity: 0.8; }
.nav-links a:hover, .active-link { color: var(--brand-red) !important; opacity: 1 !important; }


.btn-teklif {
    background: var(--brand-red); color: white; padding: 10px 25px;
    border-radius: 4px; font-weight: 600; letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(214, 0, 0, 0.4); 
    border: none;
    display: flex; align-items: center; justify-content: center; 
}
.btn-teklif:hover { background: var(--brand-red-hover); transform: translateY(-2px); }
.mobile-menu-btn { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; justify-content: center; text-align: center; 
    position: relative;
}

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-content h1 { 
    font-size: 4rem; margin-bottom: 20px; color: white;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8); line-height: 1.1;
}
.hero-content h1 span { color: var(--brand-red); }
.hero-content p { 
    font-size: 1.2rem; margin-bottom: 40px; max-width: 700px; 
    margin-left: auto; margin-right: auto; color: #ddd; font-weight: 300; 
}

.btn-hero {
    background: transparent; color: white; padding: 15px 40px;
    font-size: 1.1rem; border: 2px solid var(--brand-red);
    font-weight: bold; font-family: 'Oswald', sans-serif; letter-spacing: 1px;
}
.btn-hero:hover { background: var(--brand-red); box-shadow: 0 0 20px var(--brand-red); }


.section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: white; margin-bottom: 10px; }
.section-title p { color: var(--text-muted); }
.section-title::after {
    content: ''; display: block; width: 60px; height: 3px; 
    background: var(--brand-red); margin: 20px auto 0;
}

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.service-card {
    background: var(--bg-card); padding: 40px 30px; text-align: center;
    border: 1px solid var(--border-color); border-radius: 8px; transition: 0.3s;
}

.service-card:hover { transform: translateY(-10px); background: #252525; border-color: var(--brand-red); }

.icon-box {
    width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border-radius: 50%;
    margin: 0 auto 25px; transition: 0.3s;
}
.service-card i { font-size: 2.2rem; color: #fff; display: block; line-height: 1; }
.service-card:hover .icon-box { background: var(--brand-red); }
.service-card h3 { margin-bottom: 15px; color: white; font-size: 1.4rem; letter-spacing: 0.5px; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; }


.why-us { background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.features-text h2 { color: white; font-size: 2.2rem; margin-bottom: 20px; }
.features-text .lead { color: #ccc; margin-bottom: 40px; font-size: 1.05rem; }

.feature-item { display: flex; gap: 20px; margin-bottom: 30px; }
.feature-item i { 
    color: var(--brand-red); font-size: 1.5rem; 
    background: rgba(214, 0, 0, 0.1); width: 50px; height: 50px; 
    display: flex; align-items: center; justify-content: center; border-radius: 10px;
}
.feature-item h4 { font-size: 1.2rem; margin-bottom: 5px; color: white; }
.feature-item p { margin-bottom: 0; font-size: 0.9rem; color: var(--text-muted); }

.features-img img { 
    width: 100%; border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    border: 1px solid var(--border-color);
    filter: grayscale(20%); transition: 0.5s;
}
.features-img img:hover { filter: grayscale(0%); }


.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: 0 5px 20px rgba(0,0,0,0.6);
    z-index: 2000; transition: 0.3s;
}
.whatsapp-float:hover { background: #128c7e; transform: scale(1.1); }


.contact-section { background: #161616; border-top: 1px solid var(--border-color); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; }

.contact-form h3, .contact-info h3 {
    color: white; margin-bottom: 25px; font-size: 1.5rem;
    border-left: 4px solid var(--brand-red); padding-left: 15px;
}
.form-group { margin-bottom: 20px; }
.form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

input, textarea {
    width: 100%; padding: 15px; background: rgba(255,255,255,0.05);
    border: 1px solid #333; color: white; font-family: 'Montserrat', sans-serif;
    border-radius: 4px; transition: 0.3s;
}
input:focus, textarea:focus { border-color: var(--brand-red); background: rgba(255,255,255,0.1); outline: none; }

.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.info-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    background: var(--bg-card); border: 1px solid #333;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--brand-red); font-size: 1.2rem;
}
.info-item h4 { color: white; margin-bottom: 5px; font-size: 1.1rem; }
.info-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }


footer { 
    background: #000; color: #666; padding: 40px 0; 
    text-align: center; border-top: 1px solid var(--border-color); 
}
footer strong { color: #fff; }


.page-header {
    margin-top: 80px; padding: 60px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center;
    text-align: center; border-bottom: 2px solid var(--brand-red);
}
.page-header h1 { font-size: 3rem; color: white; margin-bottom: 10px; letter-spacing: 2px; }
.page-header p { color: #ccc; font-size: 1.1rem; }


.gallery-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    background: transparent; border: 1px solid #444; color: #aaa;
    padding: 10px 25px; cursor: pointer; font-family: 'Oswald', sans-serif;
    letter-spacing: 1px; transition: 0.3s; border-radius: 4px;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--brand-red); border-color: var(--brand-red);
    color: white; box-shadow: 0 0 15px rgba(214, 0, 0, 0.3);
}

.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px; min-height: 500px;
    opacity: 1; transform: scale(1);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.gallery-item {
    position: relative; height: 300px; overflow: hidden;
    border-radius: 8px; border: 1px solid #333; cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute; bottom: -100%; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    transition: 0.4s ease-in-out; padding: 20px;
}
.gallery-item:hover .gallery-overlay { bottom: 0; }
.gallery-overlay h4 {
    color: white; font-size: 1.3rem; margin-bottom: 8px;
    border-bottom: 2px solid var(--brand-red); padding-bottom: 5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;  
    max-width: 100%; display: block;           
}
.gallery-overlay p { color: #ccc; font-size: 0.95rem; }


.modal {
    display: none; position: fixed; z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%; 
    background-color: rgba(0, 0, 0, 0.95); 
    backdrop-filter: blur(8px);
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal.show-modal { opacity: 1; }

.modal-content {
    background-color: #1a1a1a; border: 1px solid #333; border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    display: flex; overflow: hidden; position: relative;
    max-width: 90vw; max-height: 90vh; width: auto; height: auto;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.close-modal {
    position: fixed; top: 30px; right: 30px;
    color: #fff; font-size: 40px; font-weight: 300;
    cursor: pointer; z-index: 10002; transition: 0.3s; line-height: 1;
}
.close-modal:hover { color: var(--brand-red); transform: rotate(90deg); }

.nav-btn {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; color: rgba(255, 255, 255, 0.4);
    font-size: 3rem; cursor: pointer; z-index: 10002; padding: 20px; transition: 0.3s;
}
.nav-btn:hover { color: var(--brand-red); scale: 1.2; }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.modal-image-area {
    background: #000; display: flex; flex-direction: column;
    justify-content: center; align-items: center; padding: 20px; flex-shrink: 0;
}
#modalMainImg {
    display: block; max-height: 70vh; max-width: 60vw;
    width: auto; height: auto; object-fit: contain;
    transition: opacity 0.3s ease;
}

.modal-thumbnails {
    display: flex; gap: 10px; margin-top: 15px; overflow-x: auto;
    max-width: 60vw; padding-bottom: 5px;
}
.modal-thumbnails::-webkit-scrollbar { height: 6px; }
.modal-thumbnails::-webkit-scrollbar-track { background: #111; }
.modal-thumbnails::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.modal-thumbnails img {
    width: 60px; height: 45px; object-fit: cover; cursor: pointer;
    border-radius: 4px; opacity: 0.5; transition: 0.2s; border: 2px solid transparent;
}
.modal-thumbnails img:hover { opacity: 0.8; }
.modal-thumbnails img.active-thumb { opacity: 1; border-color: var(--brand-red); transform: scale(1.05); }

.modal-info-area {
    width: 350px; padding: 30px; display: flex; flex-direction: column;
    background: #1e1e1e; border-left: 1px solid #333; flex-shrink: 0;
}
#modalTitle {
    color: white; font-size: 1.8rem; line-height: 1.2;
    margin-bottom: 10px; font-family: 'Oswald', sans-serif;
    word-wrap: break-word; overflow-wrap: break-word; word-break: break-word; max-width: 100%;
}
.modal-category { color: var(--brand-red); text-transform: uppercase; font-weight: bold; font-size: 0.85rem; margin-bottom: 20px; letter-spacing: 1px; }

.modal-desc-scroll {
    color: #ccc; font-size: 0.95rem; line-height: 1.6;
    margin-bottom: 20px; flex-grow: 1; max-height: 400px; overflow-y: auto; padding-right: 10px;
}
.modal-desc-scroll::-webkit-scrollbar { width: 6px; }
.modal-desc-scroll::-webkit-scrollbar-track { background: #222; }
.modal-desc-scroll::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }
.modal-btn { margin-top: auto; text-align: center; }

@media (max-width: 900px) {
    .modal-content { flex-direction: column; width: 95vw; max-height: 95vh; overflow-y: auto; }
    .modal-image-area { width: 100%; padding: 10px; }
    #modalMainImg { max-width: 100%; max-height: 45vh; }
    .modal-thumbnails { max-width: 100%; justify-content: flex-start; }
    .modal-info-area { width: 100%; border-left: none; border-top: 1px solid #333; padding: 20px; height: auto; }
    .nav-btn { font-size: 2rem; padding: 10px; background: rgba(0,0,0,0.5); border-radius: 50%; }
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
    .close-modal { top: 10px; right: 10px; background: rgba(0,0,0,0.5); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 24px; }
    .modal-desc-scroll { max-height: 150px; }
}


body.reels-page {
    background-color: #121212;
    overflow: hidden; 
    margin: 0; padding: 0;
}
.page-content-wrapper {
    position: relative; width: 100%; height: 100vh;
    padding-top: 100px; box-sizing: border-box;
    display: flex; justify-content: center; overflow: hidden;
}
.reels-layout {
    display: flex; width: 100%; max-width: 1600px; height: 100%; overflow: hidden;
}
.video-sidebar {
    width: 350px; height: 100%; background: #1a1a1a;
    border-right: 1px solid #333; display: flex; flex-direction: column; flex-shrink: 0;
}
.sidebar-header { padding: 20px; background: #121212; border-bottom: 2px solid var(--brand-red); }
.sidebar-header h3 { color: white; margin: 0; font-size: 1.2rem; font-family: 'Oswald', sans-serif; letter-spacing: 1px; }

.library-grid {
    flex: 1; overflow-y: auto; padding: 15px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start;
}
.library-grid::-webkit-scrollbar { width: 6px; }
.library-grid::-webkit-scrollbar-track { background: #111; }
.library-grid::-webkit-scrollbar-thumb { background: var(--brand-red); border-radius: 3px; }

.library-item {
    position: relative; aspect-ratio: 9 / 16; background: #000;
    border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: 0.2s;
}
.library-item video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: 0.3s; }
.library-item:hover { border-color: var(--brand-red); transform: scale(1.02); z-index: 2; }
.library-item:hover video { opacity: 1; }
.library-item.active-thumb { border-color: var(--brand-red); box-shadow: 0 0 10px rgba(214,0,0,0.5); }
.library-item.active-thumb video { opacity: 1; }

.player-area {
    flex: 1; background: radial-gradient(circle, #222 0%, #121212 100%);
    display: flex; justify-content: center; align-items: center; position: relative; height: 100%;
}
.phone-frame {
    width: 450px; height: 90%; max-height: 850px; aspect-ratio: 9 / 16;
    background: #000; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 1px solid #333; position: relative;
    overflow-y: scroll; scroll-snap-type: y mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.phone-frame::-webkit-scrollbar { display: none; }
.reel-item {
    width: 100%; height: 100%; scroll-snap-align: start;
    position: relative; background: #000;
}
.reel-item video { width: 100%; height: 100%; object-fit: cover; }
.reel-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; pointer-events: none;
}
.reel-info h3 { color: white; font-family: 'Oswald', sans-serif; font-size: 1.6rem; margin-bottom: 5px; text-shadow: 0 2px 5px rgba(0,0,0,1); }
.reel-info p { color: #ddd; font-size: 1rem; text-shadow: 0 1px 3px rgba(0,0,0,1); }

.mute-btn {
    position: absolute; top: 20px; right: 20px; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2);
    color: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mute-btn:hover { background: var(--brand-red); border-color: var(--brand-red); }
.nav-controls {
    position: absolute; right: 40px; display: flex; flex-direction: column; gap: 15px;
}
.control-btn {
    width: 50px; height: 50px; border-radius: 50%; background: #252525; border: 1px solid #444; color: white;
    font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.control-btn:hover { background: var(--brand-red); transform: scale(1.1); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}
.scroll-hint {
    position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.7); text-align: center; font-size: 0.9rem; pointer-events: none;
    animation: bounce 2s infinite; z-index: 5;
}
.scroll-hint i { display: block; font-size: 1.2rem; margin-top: 5px; }

@media (max-width: 1024px) {
    .video-sidebar { display: none; }
    .page-content-wrapper { padding-top: 80px; }
    .phone-frame { width: 100%; height: 100%; border-radius: 0; border: none; max-height: none; }
    .nav-controls { display: none; }
}


.mobile-menu-btn {
    display: none; 
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    z-index: 2000;
}



@media (max-width: 1024px) {
    
    .navbar {
        height: 70px; 
        padding: 0 15px;
        justify-content: space-between; 
    }

    .logo-container {
        flex: 1; 
        justify-content: flex-start;
    }
    .logo-img {
        display: block; 
        height: 35px; 
        width: auto;
        margin-right: 8px;
    }
    .logo-text {
        font-size: 1rem; 
        white-space: nowrap;
    }


    .btn-teklif {
        position: relative; right: auto; top: auto; transform: none; 
        padding: 8px 12px;
        font-size: 0.75rem; 
        display: flex; align-items: center; justify-content: center; 
        margin-right: 15px; 
        white-space: nowrap;
    }


    .mobile-menu-btn {
        display: block;
        position: static; 
        font-size: 1.6rem;
    }


    .nav-links {
        display: none; 
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: rgba(18, 18, 18, 0.98); 
        flex-direction: column; align-items: center; justify-content: center;
        z-index: 1500; gap: 30px;
    }
    .nav-links.active { display: flex; }
    .nav-links li a { font-size: 1.5rem; display: block; padding: 10px; letter-spacing: 2px; }


    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .features-img {
        display: none !important; 
    }

    .features-text {
        text-align: center;
        padding: 0 10px;
    }
    .features-text h2 { font-size: 1.8rem; }

    .feature-item {
        flex-direction: column; 
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .feature-item i {
        margin-bottom: 15px; 
        width: 60px; height: 60px; font-size: 1.8rem; 
    }

    .feature-item div { width: 100%; } 


    .contact-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    
    input, textarea {
        font-size: 1rem; 
    }
}


/* --- HERO BÖLÜMÜ ANA AYARLAR --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Ekranın tam yüksekliğini kaplar */
    min-height: 600px; /* Çok küçük ekranlarda içeriğin sıkışmasını önler */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000 !important; /* Video yüklenene kadar siyah kalsın */
}

/* 1. KATMAN: VİDEO (TAM EKRAN KAPLAMA) */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videoyu ekranı tamamen kaplayacak şekilde kırpar/sığdırır */
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* 2. KATMAN: KARARTMA FİLTRESİ */
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* Videonun üzerindeki siyahlık düzeyi */
    z-index: 2;
}

/* 3. KATMAN: İÇERİK (YAZILAR) */
.hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center; /* Yazıları mobilde ortalar */
    padding: 0 20px;
    width: 100%;
    max-width: 800px;
}

/* MOBİL İÇİN ÖZEL DOKUNUŞLAR */
@media (max-width: 768px) {
    .hero {
        height: 80vh; /* Mobilde adres çubuğu sorunları için biraz daha kısa tutulabilir */
    }
    
    .hero-content h1 {
        font-size: 2.5rem; /* Mobilde başlığı biraz küçültüyoruz */
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}