@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 15%, #16213e 35%, #0f3460 50%, #533a7d 70%, #8b5a8c 85%, #a0616a 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background elements */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.shape:nth-child(1) { width: 120px; height: 80px; border-radius: 15px; top: 20%; left: 10%; animation-delay: 0s; transform: rotate(15deg); }
.shape:nth-child(2) { width: 90px; height: 140px; border-radius: 12px; top: 60%; right: 15%; animation-delay: 2s; transform: rotate(-20deg); }
.shape:nth-child(3) { width: 100px; height: 60px; border-radius: 10px; bottom: 20%; left: 20%; animation-delay: 4s; transform: rotate(25deg); }
.shape:nth-child(4) { width: 80px; height: 120px; border-radius: 8px; top: 10%; right: 30%; animation-delay: 1s; transform: rotate(-10deg); }
.shape:nth-child(5) { width: 110px; height: 70px; border-radius: 14px; bottom: 40%; right: 20%; animation-delay: 3s; transform: rotate(30deg); }
.shape:nth-child(6) { width: 95px; height: 95px; border-radius: 20px; top: 40%; left: 5%; animation-delay: 5s; transform: rotate(-15deg); }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--start-rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(calc(var(--start-rotation, 0deg) + 180deg)); }
}

/* Glass container styles */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* Header */
header { padding: 20px; }
.container { max-width: 1200px; margin: 0 auto; }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 45px;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 100;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.logo:hover .logo-icon svg {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}

/* Hamburger Menü Butonu (Mobil) */
.hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 12px;
    transition: 0.3s;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a, .nav-links button {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.install-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    padding: 0.3rem 1rem !important;
    border-radius: 40px !important;
    color: white !important;
    cursor: pointer;
    margin-left: 0.5rem;
}

/* Page system */
.page {
    display: none;
    min-height: 100vh;
    padding: 40px 20px 20px;
}

.page.active { display: block; }

.content-wrapper { min-height: calc(100vh - 300px); }

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 40px;
    margin-bottom: 40px;
}

.hero-image img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Features - Desktop */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    color: white;
    transition: transform 0.25s ease, box-shadow 0.3s;
    cursor: default;
}

.feature-card.clickable { cursor: pointer; }
.feature-card.clickable:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.card-link {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.9rem;
    width: fit-content;
    word-break: break-all;
}

/* Footer */
#footer {
    margin-top: 60px;
    padding: 30px 0;
}

.footer-content {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.footer-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.admin-link {
    background: rgba(100, 150, 255, 0.3);
    border-radius: 20px;
    font-weight: bold;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Stats, Team, Services, Contact (kısa gösterim) */
.stats, .team-grid, .services-grid, .contact-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card, .team-member, .service-card, .contact-form, .contact-info {
    padding: 30px;
    color: white;
}

/* ========== MOBİL RESPONSIVE - HAMBURGER MENÜ ========== */
@media (max-width: 768px) {
    /* Hero banner GİZLİ */
    .hero-desktop-only {
        display: none !important;
    }
    
    /* Hamburger menü göster */
    .hamburger {
        display: block !important;
        position: relative;
        z-index: 1002;
    }
    
    /* Menü - başlangıçta gizli, açılır menü */
    .nav-links {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(20, 25, 40, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        padding: 20px !important;
        flex-direction: column !important;
        gap: 12px !important;
        z-index: 9999 !important;  /* Yüksek z-index! */
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 0 0 20px 20px !important;
        margin-top: 10px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Menü açıkken göster */
    .nav-links.active {
        display: flex !important;
    }
    
    /* Menü içindeki linkler */
    .nav-links a, .nav-links button {
        width: 100% !important;
        text-align: center !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        margin: 0 !important;
        color: white !important;
        text-decoration: none !important;
        border: none !important;
    }
    
    .nav-links a:hover, .nav-links button:hover {
        background: rgba(255, 255, 255, 0.25) !important;
    }
    
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.3) !important;
    }
    
    /* İndir butonu özel stil */
    .install-btn {
        background: rgba(100, 150, 255, 0.6) !important;
        margin-left: 0 !important;
    }
    
    /* Kartlar - Kompakt 2 Satırlı */
    .features {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 1rem !important;
    }
    
    .feature-card {
        width: 100% !important;
        padding: 10px 14px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 12px !important;
    }
    
    .feature-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.2rem !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .feature-card h3 {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
        flex: 1 !important;
        text-align: left !important;
    }
    
    .feature-card p {
        font-size: 0.7rem !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        flex: 2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: left !important;
    }
    
    .card-link {
        width: 100% !important;
        margin-top: 4px !important;
        padding-top: 4px !important;
        font-size: 0.65rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Diğer mobil düzenlemeler */
    .hero {
        padding: 20px !important;
    }
    
    .about-content, .contact-grid {
        grid-template-columns: 1fr !important;
    }
    
    .team-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-links {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .logo {
        font-size: 22px !important;
    }
    
    .logo-icon {
        width: 40px !important;
        height: 40px !important;
    }
    
    nav {
        padding: 15px 20px !important;
    }
}
