/* =========================================
   1. DEĞİŞKENLER (RENK PALETİ)
   ========================================= */
:root {
    /* Ana Renkler */
    --primary-dark: #0a192f;   /* Arkaplan */
    --primary-light: #172a45;  /* Kartlar */
    
    /* Vurgu Renkleri */
    --accent: #ffc107;         /* Altın Sarısı */
    --accent-secondary: #007bff; /* Mavi */
    
    /* Metin Renkleri */
    --text-white: #e6f1ff;
    --text-muted: #8892b0;
    
    /* Gradyanlar */
    --gradient-gold: linear-gradient(135deg, #ffc107 0%, #ffdb58 100%);
    --gradient-blue: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
}

/* =========================================
   2. GENEL SIFIRLAMA VE AYARLAR
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Yatay taşmayı engeller */
    position: relative; /* GSAP için sabitleme */
}

html {
    scroll-behavior: auto !important; /* Lenis Smooth Scroll için gerekli */
}

body {
    background-color: var(--primary-dark);
    color: var(--text-white);
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Yardımcı Sınıflar */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* =========================================
   3. PRELOADER (YÜKLEME EKRANI)
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   4. NAVBAR (MENÜ)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(15px); /* Buzlu cam efekti */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 25, 47, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.active{
    color: var(--accent) !important;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

/* Logo Kapsayıcısı */
.brand-logo {
    display: flex;
    align-items: center; /* Dikeyde ortalar */
    gap: 10px; /* İki blok arasındaki boşluk */
    text-decoration: none;
    line-height: 1; /* Satır aralıklarını sıkılaştırır */
}

/* Sol Taraf: KARDEŞLER */
.brand-main {
    font-family: 'Manrope', sans-serif;
    font-weight: 800; /* Çok kalın */
    font-size: 2rem; /* Mobilde küçülteceğiz */
    color: #ffffff; /* Beyaz */
    letter-spacing: -1px; /* Harfleri hafif birbirine yaklaştırır */
}

/* Sağ Taraf: Grup Kutusu */
.brand-sub-group {
    display: flex;
    flex-direction: column; /* Alt alta dizer */
    justify-content: center;
    border-left: 2px solid #ffc107; /* Araya sarı çizgi (İsteğe bağlı) */
    padding-left: 8px; /* Çizgi ile yazı arası boşluk */
}

/* Sağ Taraf: Mekanik & Tesisat Yazıları */
.brand-sub {
    font-family: 'Manrope', sans-serif;
    font-weight: 600; /* Orta kalınlık */
    font-size: 0.85rem;
    color: #ffc107; /* Sarı Renk */
    letter-spacing: 2px; /* Harf aralarını açarak modern hava katar */
    text-transform: uppercase;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .brand-main {
        font-size: 1.5rem; /* Mobilde biraz küçülsün */
    }
    .brand-sub {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}

/* Linkler */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Sağ Taraf Butonlar */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-nav {
    background: var(--gradient-gold);
    color: var(--primary-dark) !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Mobil Menü Butonu (Burger) */
.mobile-toggle {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    display: none; /* Mobilde görünür olacak */
}

/* Mobil Menü İçeriği */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--primary-light);
    z-index: 1002;
    padding: 30px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-open .mobile-menu-overlay { opacity: 1; visibility: visible; }
.mobile-menu-open .mobile-menu-container { right: 0; }

.close-menu {
    font-size: 1.5rem;
    margin-bottom: 30px;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-links a {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-contact-btn {
    background: var(--accent);
    color: var(--primary-dark) !important;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
}

/* =========================================
   5. HERO SECTION (GİRİŞ BÖLÜMÜ)
   ========================================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.8) 30%, rgba(10, 25, 47, 0.5));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.15);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 13px 35px;
    border-radius: 4px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.stats-wrapper {
    display: flex;
    gap: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
}

/* =========================================
   6. BENTO GRID (HİZMETLER)
   ========================================= */
.section-header {
    margin-bottom: 60px;
}

.section-header.center-align {
    text-align: center;
}

.sub-title {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    auto-rows: minmax(220px, auto);
}

.bento-item {
    background: var(--primary-light);
    border-radius: 16px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-7px);
    border-color: var(--accent-secondary);
}

.bento-item.large {
    grid-column: span 2;
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-icon {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 20px;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Dekoratif Arka Plan İkonu */
.bg-icon {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 10rem;
    opacity: 0.03;
    color: white;
    z-index: 1;
    transition: 0.5s;
}

.bento-item:hover .bg-icon {
    transform: scale(1.1) rotate(-10deg);
    opacity: 0.05;
}

/* Stil Varyasyonları */
.style-1 .bento-icon { color: var(--accent); }
.style-2 { background: var(--gradient-blue); }
.style-2 .bento-icon, .style-2 h3 { color: white; }
.style-3 .bento-icon { color: #ff5722; }

/* =========================================
   7. SHOWCASE (TELEFON BÖLÜMÜ)
   ========================================= */
.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.text-wrapper {
    flex: 1;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
}

.text-wrapper h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.text-wrapper p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.check-list li {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* Telefon Çerçevesi */
.phone-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 50px;
    box-shadow: 0 0 0 10px #1a1a1a, 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.phone-screen video,
.phone-screen img.placeholder-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 5;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   8. S.S.S. (AKORDİYON)
   ========================================= */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--primary-light);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    transition: 0.3s;
}

.accordion-header i {
    color: var(--accent);
    transition: 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
    color: var(--accent);
}

.accordion-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.accordion-body p {
    padding-bottom: 25px;
    color: var(--text-muted);
}

/* =========================================
   9. FOOTER
   ========================================= */
.main-footer {
    background: #050d1a;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-col h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.info-col p {
    color: var(--text-muted);
    margin-bottom: 25px;
    text-align: center;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.links-col li, .contact-col li {
    margin-bottom: 15px;
}

.links-col a {
    color: var(--text-muted);
    transition: 0.3s;
}

.links-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-col li {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    align-items: center;
}

.contact-col i { color: var(--accent); }
.contact-col a { color: var(--text-muted); }

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}


/* =========================================
   11. RESPONSIVE (MOBİL UYUMLULUK)
   ========================================= */
@media (max-width: 992px) {
    .hero-content {
        padding: 0px 50px 50px;
    }
    .hero-title { font-size: 3rem; }
    .nav-links, .desktop-only{ display: none; }
    .mobile-toggle { display: block; }
    
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.large { grid-column: span 1; }
    
    .showcase-row, .showcase-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .brand-main {
    font-size: 1.2rem;
}
    
    .phone-wrapper { order: 1; }
    .text-wrapper { order: 2; text-align: center; }
    
    .check-list li { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .btn-nav {
    padding: 5px 15px;
}
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .stats-wrapper { flex-wrap: wrap; gap: 30px; }
    .logo {
    font-size: 1.2rem;
}
}


/* =========================================
            Powered by Onur Karahan
            -----------------------
   github.com/karahan-code
   codepen.io/karahan-code
   linkedin.com/in/onur-karahan/
   ========================================= */