/* Zera Teknoloji - Ana Stil Dosyası */

/* ===== GENEL AYARLAR ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1E88E5;
    --secondary-color: #42A5F5;
    --dark-color: #1a1a1a;
    --black-color: #000000;
    --white-color: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #757575;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary-color);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    background-color: transparent;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(30, 136, 229, 0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    font-size: 0.85rem;
    color: #333333 !important;
    background-color: transparent !important;
}

.dropdown-menu a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding-left: 2rem;
}

/* Search Icon */
.search-icon button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.search-icon button svg {
    color: var(--primary-color);
    transition: var(--transition);
}

.search-icon button:hover {
    transform: scale(1.1);
    background: rgba(255, 193, 7, 0.1);
}

.search-icon button:hover svg {
    color: var(--secondary-color);
}

/* Search Box */
.search-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-box.active {
    opacity: 1;
    visibility: visible;
}

.search-box input {
    width: 90%;
    max-width: 600px;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    border: 3px solid var(--primary-color);
    border-radius: 50px;
    background: var(--white-color);
    outline: none;
}

.search-box button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    transform: rotate(90deg);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    font-size: 0.85rem;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

/* Animated Tech Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(30, 136, 229, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 136, 229, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(30, 136, 229, 0.03) 2px, rgba(30, 136, 229, 0.03) 4px);
        radial-gradient(circle at 40% 20%, rgba(255, 193, 7, 0.02) 0%, transparent 30%);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 193, 7, 0.03) 2px, rgba(255, 193, 7, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 193, 7, 0.03) 2px, rgba(255, 193, 7, 0.03) 4px);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Tech Animation Elements */
.tech-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Circuit Lines */
.circuit-line {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.5;
}

.circuit-1 {
    top: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite;
}

.circuit-2 {
    bottom: 15%;
    right: 8%;
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* AI Neural Network Nodes */
.ai-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #1E88E5;
    border-radius: 50%;
    box-shadow: 0 0 15px #1E88E5;
    animation: pulse 3s ease-in-out infinite;
}

.ai-node-1 { top: 20%; left: 15%; animation-delay: 0s; }
.ai-node-2 { top: 35%; left: 25%; animation-delay: 0.5s; }
.ai-node-3 { top: 50%; left: 10%; animation-delay: 1s; }
.ai-node-4 { top: 25%; right: 20%; animation-delay: 1.5s; }
.ai-node-5 { top: 40%; right: 12%; animation-delay: 2s; }
.ai-node-6 { top: 60%; right: 25%; animation-delay: 2.5s; }
.ai-node-7 { top: 70%; left: 30%; animation-delay: 0.8s; }
.ai-node-8 { top: 15%; left: 45%; animation-delay: 1.2s; }
.ai-node-9 { top: 55%; right: 40%; animation-delay: 1.8s; }
.ai-node-10 { top: 80%; right: 15%; animation-delay: 2.2s; }
.ai-node-11 { top: 12%; left: 35%; animation-delay: 0.3s; }
.ai-node-12 { top: 45%; left: 8%; animation-delay: 1.6s; }
.ai-node-13 { top: 65%; left: 18%; animation-delay: 2.1s; }
.ai-node-14 { top: 32%; right: 8%; animation-delay: 0.7s; }
.ai-node-15 { top: 75%; right: 30%; animation-delay: 1.3s; }

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Microchip Icons */
.chip-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

.chip-1 {
    top: 15%;
    right: 10%;
}

.chip-2 {
    bottom: 20%;
    left: 12%;
    animation-direction: reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Data Particles */
.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #1E88E5;
    border-radius: 50%;
    opacity: 0.7;
}

.particle-1 {
    top: 30%;
    left: 20%;
    animation: moveParticle 8s linear infinite;
}

.particle-2 {
    top: 45%;
    left: 35%;
    animation: moveParticle 10s linear infinite 2s;
}

.particle-3 {
    top: 55%;
    right: 30%;
    animation: moveParticle 12s linear infinite 4s;
}

.particle-4 {
    top: 70%;
    right: 15%;
    animation: moveParticle 9s linear infinite 1s;
}

.particle-5 {
    top: 25%;
    right: 40%;
    animation: moveParticle 11s linear infinite 3s;
}

.particle-6 {
    top: 35%;
    left: 50%;
    animation: moveParticle 13s linear infinite 5s;
}

.particle-7 {
    top: 65%;
    left: 20%;
    animation: moveParticle 10.5s linear infinite 2.5s;
}

.particle-8 {
    top: 15%;
    right: 25%;
    animation: moveParticle 14s linear infinite 6s;
}

.particle-9 {
    top: 75%;
    right: 35%;
    animation: moveParticle 9.5s linear infinite 1.5s;
}

.particle-10 {
    top: 40%;
    left: 60%;
    animation: moveParticle 11.5s linear infinite 4.5s;
}

.particle-11 {
    top: 22%;
    left: 42%;
    animation: moveParticle 9.8s linear infinite 3.2s;
}

.particle-12 {
    top: 50%;
    right: 18%;
    animation: moveParticle 12.5s linear infinite 5.5s;
}

.particle-13 {
    top: 62%;
    left: 28%;
    animation: moveParticle 10.2s linear infinite 2.8s;
}

.particle-14 {
    top: 18%;
    right: 42%;
    animation: moveParticle 13.5s linear infinite 6.5s;
}

.particle-15 {
    top: 78%;
    left: 38%;
    animation: moveParticle 11.2s linear infinite 4.2s;
}

@keyframes moveParticle {
    0% { 
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { 
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary-color);
    animation: fadeInUp 1.4s ease;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--gray-light);
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 2rem;
    overflow: hidden;
}

.card-icon svg {
    max-width: 100px;
    max-height: 100px;
    transition: transform 0.3s ease;
}

.card:hover .card-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.card-content .btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: var(--transition);
}

.card-content .btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
footer {
    background: #f8f9fa;
    color: var(--text-color);
    padding: 3rem 2rem 1rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section a {
    color: var(--text-color);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 136, 229, 0.2);
    color: var(--text-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.bg-light {
    background-color: var(--gray-light);
}

.bg-dark {
    background-color: var(--dark-color);
    color: var(--white-color);
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #2c3e50;
        display: flex;
        align-items: center;
        padding: 0 1rem;
    }
    
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 15px;
        left: 1rem;
        width: 40px;
        height: 40px;
        background-image: url('logo.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        border-radius: 8px;
        background-color: white;
        padding: 5px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(30, 136, 229, 0.1);
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        padding: 1rem;
        border-radius: 0;
        color: var(--text-color) !important;
    }
    
    .nav-menu a::before {
        content: '';
        width: 24px;
        height: 24px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
    }
    
    .nav-menu li:first-child a::before {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231E88E5" stroke-width="2"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>');
    }
    
    .nav-menu li:nth-child(2) a::before {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231E88E5" stroke-width="2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>');
    }
    
    .nav-menu li.dropdown > a::before {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231E88E5" stroke-width="2"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>');
    }
    
    .nav-menu li:last-child a::before {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231E88E5" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>');
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #ffffff;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        color: #333333 !important;
    }

    .dropdown > a::after {
        content: ' ▼';
        font-size: 0.7rem;
        margin-left: 0.5rem;
    }

    .language-switcher {
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
        border-top: 1px solid rgba(30, 136, 229, 0.1);
    }

    .hero {
        min-height: 500px;
        padding: 3rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.3rem;
        gap: 0.5rem;
    }

    .logo-image {
        height: 50px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 2rem 1rem;
    }
}
