/* CSS/style.css - Zer Prime Ana Stil Dosyası */

/* 1. GENEL AYARLAR & DEĞİŞKENLER */ 
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
} 

:root { 
    --blue: #00296b; 
    --cyan: #00bcd4; 
    --white: #ffffff; 
    --dark: #1a1a1a; 
    --nav-gradient: linear-gradient(to right, #a5c8d0 0%, #00bcd4 15%, #003c71 40%, #001a4d 60%, #008fa1 85%, #b0c4cc 100%);
}

html { 
    scroll-behavior: smooth; 
}

body { 
    background: #fff;
    padding-top: 100px; 
    color: #333; 
    overflow-x: hidden; 
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. NAVİGASYON (HEADER) */ 
nav { 
    background: var(--nav-gradient); 
    height: 100px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 5%; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

.logo-area { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}
.main-logo { 
    height: 60px; 
    width: auto; 
    max-width: 150px; 
    object-fit: contain; 
}

.header-socials { 
    display: flex; 
    gap: 15px; 
}
.header-socials a { 
    color: #fff; 
    font-size: 16px; 
    transition: 0.3s; 
    text-decoration: none; 
}
.header-socials a:hover { 
    color: var(--cyan); 
    transform: scale(1.2); 
}

.nav-container { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

/* Mobil Menü Butonu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 5px; 
}
.nav-links > li { 
    position: relative; 
}
.nav-links > li > a { 
    text-decoration: none; 
    color: #fff; 
    font-weight: 700; 
    font-size: 11px; 
    padding: 35px 12px; 
    display: block; 
    text-transform: uppercase; 
    transition: 0.3s; 
}

.nav-links > li > a:hover {
    color: var(--cyan);
}

/* DROPDOWN */
.dropdown { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: var(--white); 
    min-width: 250px; 
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
    border-top: 3px solid var(--cyan); 
    z-index: 1001; 
}

.sub-dropdown { 
    position: relative; 
}
.sub-menu { 
    display: none; 
    position: absolute; 
    top: 0; 
    left: 100%; 
    background: var(--white); 
    min-width: 260px; 
    border-left: 3px solid var(--cyan); 
    box-shadow: 4px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
}

.nav-links li:hover > .dropdown, 
.sub-dropdown:hover > .sub-menu { 
    display: block; 
}

.dropdown a { 
    padding: 12px 20px; 
    display: block; 
    color: var(--blue) !important; 
    text-decoration: none; 
    border-bottom: 1px solid #f0f0f0; 
    font-size: 13px; 
    font-weight: 600; 
}
.dropdown a:hover { 
    background: #f8f9fa; 
    color: var(--cyan) !important; 
    padding-left: 25px; 
    transition: 0.3s; 
}

.lang-box { 
    display: flex; 
    gap: 10px; 
    border-left: 1px solid rgba(255,255,255,0.3); 
    padding-left: 15px; 
    margin-left: 10px; 
    align-items: center; 
} 
.lang-box a { 
    text-decoration: none; 
    color: #fff; 
    font-weight: 800; 
    font-size: 11px; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    opacity: 0.7; 
    transition: 0.3s; 
} 
.lang-box a:hover { opacity: 1; }
.lang-box img { width: 18px; }

/* 3. HERO (SLIDER) ALANI */
.hero-section { 
    position: relative; 
    width: 100%; 
    height: calc(100vh - 100px); 
    min-height: 600px; 
    overflow: hidden; 
    background: #000; 
} 
.slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    transition: opacity 1s ease-in-out; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 1; 
}
.slide.active { 
    opacity: 1; 
    z-index: 2; 
}
.hero-img-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
} 
.hero-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: brightness(0.4); 
} 
.hero-text-content { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
    color: #fff; 
    padding: 0 5%; 
    max-width: 1100px; 
} 
.hero-text-content h1 { 
    font-size: 58px; 
    font-weight: 900; 
    text-transform: uppercase; 
    text-shadow: 4px 4px 15px rgba(0,0,0,0.8); 
    line-height: 1.1; 
    margin-bottom: 20px; 
} 
.hero-text-content h1 span { color: var(--cyan); } 
.hero-text-content p { 
    font-size: 24px; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6); 
    line-height: 1.5; 
}

.miras-grid { 
    display: flex; 
    gap: 20px; 
    margin-top: 30px; 
    text-align: left; 
}
.miras-item { 
    flex: 1; 
    background: rgba(0, 41, 107, 0.5); 
    backdrop-filter: blur(5px); 
    padding: 20px; 
    border-radius: 8px; 
    border-top: 4px solid var(--cyan); 
}
.miras-item h3 { color: var(--cyan); margin-bottom: 10px; font-size: 18px; }
.miras-item p { font-size: 15px !important; color: #fff; }

/* 4. İÇERİK YAPILARI */
.infra-section {  
    position: relative; 
    padding: 100px 5%;  
    background: url('../images/robotik-uretim-altyapi.jpg') no-repeat center center fixed;  
    background-size: cover; 
    min-height: 600px; 
    display: flex; 
    align-items: center;  
}
.infra-section::before {  
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;  
    background: rgba(0, 41, 107, 0.75); 
    z-index: 1;  
}
.infra-container { 
    position: relative; 
    z-index: 2; 
    max-width: 1300px; 
    margin: 0 auto; 
    width: 100%; 
}
.infra-main-title { 
    font-size: 36px; 
    color: #fff; 
    font-weight: 800; 
    margin-bottom: 50px; 
    text-transform: uppercase; 
    border-left: 8px solid var(--cyan); 
    padding-left: 20px; 
}

.infra-grid-layout { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 50px; 
    align-items: center; 
}
.infra-image { 
    flex: 1.2; 
    min-width: 300px; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3); 
    border: 2px solid rgba(255,255,255,0.1); 
}
.infra-image img { width: 100%; height: auto; display: block; }

.infra-items { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    min-width: 300px; 
}
.infra-card {  
    display: flex; 
    gap: 20px; 
    padding: 25px;  
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    border-radius: 15px; 
    border: 1px solid rgba(255,255,255,0.1); 
    transition: 0.3s;  
}
.infra-card:hover { 
    transform: translateX(10px); 
    border-left: 4px solid var(--cyan); 
}
.card-num { font-size: 24px; font-weight: 900; color: var(--cyan); }
.card-text h3 { color: #fff; font-size: 20px; }

/* REKABET AVANTAJLARI BÖLÜMÜ */
.glass-diff-section {
    position: relative;
    padding: 100px 5%;
    background: linear-gradient(135deg, #001a4d 0%, #003c71 100%);
}

.glass-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.glass-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: 0.3s;
}

.glass-item:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
}

.glass-item i {
    font-size: 40px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.glass-item h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.glass-item p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

/* 5. FOOTER & WHATSAPP */ 
footer { 
    background: var(--nav-gradient); 
    color: #fff; 
    padding: 50px 5% 20px; 
    position: relative;
    z-index: 100;
} 
.footer-grid { 
    display: flex; 
    justify-content: space-between; 
    gap: 30px; 
    max-width: 1300px; 
    margin: 0 auto; 
    flex-wrap: wrap; 
} 
.footer-col { 
    flex: 1; 
    min-width: 200px; 
}
.footer-logo { 
    width: 160px; 
    height: auto; 
    margin-bottom: 20px; 
    display: block; 
}
.footer-col h4 { 
    margin-bottom: 20px; 
    border-bottom: 2px solid var(--cyan); 
    display: inline-block; 
    text-transform: uppercase; 
    padding-bottom: 5px; 
    color: #fff;
} 
.footer-col p, .footer-col a { 
    font-size: 13px; 
    color: #fff; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 8px; 
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--cyan);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 13px;
}

.whatsapp-float { 
    position: fixed; 
    width: 60px; 
    height: 60px; 
    bottom: 30px; 
    right: 30px; 
    background-color: #25d366; 
    color: #FFF; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 30px; 
    z-index: 1000; 
    text-decoration: none; 
}

/* 6. MEDIA QUERIES - MOBİL AYARLAR */
@media (max-width: 1024px) {
    nav { 
        height: 80px; 
        z-index: 1000;
    }
    body { 
        padding-top: 80px; 
    }
    .mobile-menu-btn { 
        display: flex; 
    }
    
    .nav-container { 
        position: fixed; 
        top: 80px; 
        left: -100%; 
        width: 100%; 
        height: calc(100vh - 80px); 
        background: var(--nav-gradient); 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 40px 5%; 
        transition: 0.5s; 
        overflow-y: auto;
        z-index: 999;
    }
    .nav-container.active { 
        left: 0; 
    }

    .nav-links { 
        flex-direction: column; 
        width: 100%; 
    }
    .nav-links > li { 
        width: 100%; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
    }
    .nav-links > li > a { 
        padding: 20px 0; 
        font-size: 16px; 
    }

    .dropdown, .sub-menu { 
        position: static; 
        width: 100%; 
        display: none; 
        background: rgba(255,255,255,0.1); 
        box-shadow: none;
        margin-left: 20px;
    }
    .dropdown.active, .sub-menu.active { 
        display: block; 
    }
    .dropdown a { 
        color: #fff !important; 
    }

    .lang-box { 
        border: none; 
        padding: 20px 0; 
        margin: 0; 
        width: 100%;
        justify-content: center;
    }
    .header-socials { 
        display: none; 
    }
    
    .hero-text-content h1 { 
        font-size: 32px; 
    }
    .miras-grid, .infra-grid-layout { 
        flex-direction: column; 
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-col {
        flex: 1 1 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .infra-main-title { 
        font-size: 24px; 
        text-align: center; 
        border-left: none;
        padding-left: 0;
        border-top: 4px solid var(--cyan);
        padding-top: 10px;
    }
    
    .hero-text-content h1 {
        font-size: 28px;
    }
    
    .hero-text-content p {
        font-size: 18px;
    }
    
    .glass-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid { 
        text-align: center; 
    }
}