/* GundogduTech - Master CSS Revision (2026) */

:root {
    --primary: #1b69fc;
    --primary-hover: #1558d6;
    --dark: #0f172a;
    --dark-deep: #080a0f;
    --text: #64748b;
    --bg: #ffffff;
    --light-gray: #f8fafc;
    --glass: rgba(255, 255, 255, 0.9);
}

/* 1. Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--dark); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none !important; color: inherit; transition: 0.3s ease; }

/* 2. Loader */
#loader { position: fixed; inset: 0; background: #fff; z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.8s; }
.loader-img { width: 220px; animation: breathe 2s infinite ease-in-out; }
.loader-line { width: 200px; height: 3px; background: #f0f0f0; border-radius: 10px; overflow: hidden; margin-top: 20px; }
.line-fill { width: 0%; height: 100%; background: var(--primary); animation: fill 1.8s forwards; }
@keyframes fill { to { width: 100%; } }
@keyframes breathe { 0%, 100% { opacity: 0.5; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1); } }

/* 3. Navbar & Logo */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: var(--glass); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,0.05); height: 85px; display: flex; align-items: center; transition: 0.3s; }
.nav-container { max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary) !important; color: #fff !important; padding: 12px 25px; border-radius: 50px; font-weight: 700 !important; }

/* 4. Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 5% 60px; background: radial-gradient(circle at 80% 20%, #f0f7ff 0%, #ffffff 100%); }
.badge { background: #eef2ff; color: var(--primary); padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 800; margin-bottom: 25px; display: inline-block; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.1; letter-spacing: -3px; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { max-width: 700px; margin: 0 auto 40px; color: var(--text); font-size: 1.15rem; }

/* Hero Buttons */
.hero-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn { padding: 16px 35px; border-radius: 12px; font-weight: 700; transition: 0.3s; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--primary) !important; color: #fff !important; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(27,105,252,0.3); }
.btn-secondary { background: #fff !important; color: var(--dark) !important; border-color: #e2e8f0 !important; }
.btn-secondary:hover { border-color: var(--primary) !important; transform: translateY(-5px); }

/* 5. Tech Bar */
.tech-bar { background: var(--dark); padding: 20px 0; overflow: hidden; }
.tech-track { display: flex; gap: 60px; animation: scroll 30s linear infinite; white-space: nowrap; }
.tech-track span { color: rgba(255,255,255,0.3); font-weight: 800; font-size: 13px; letter-spacing: 2px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 6. Bento Grid Services */
.services { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 50px; font-weight: 800; letter-spacing: -2px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-item { background: var(--dark); color: #fff; border-radius: 30px; padding: 40px; transition: 0.4s; }
.bento-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.bento-item h3 { margin-bottom: 15px; font-size: 24px; }
.bento-item p { color: rgba(255,255,255,0.6); }
.bento-item.primary-card { background: var(--primary); }
.large { grid-column: span 2; }
.tall { grid-row: span 2; }

/* 7. Global Section & Stats */
.global-section { padding: 100px 5%; text-align: center; background: var(--light-gray); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 50px auto 0; }
.stat h4 { font-size: 3rem; color: var(--primary); font-weight: 800; }

/* 8. Hamburger & Mobile Menu (Kritik Bölge) */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 2000; position: relative; }
.hamburger span { width: 28px; height: 3px; background: var(--dark); border-radius: 10px; transition: 0.4s; transform-origin: center; }

/* X Animasyonu */
.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--primary); }
.hamburger.is-active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--primary); }

.mobile-menu { position: fixed; inset: 0; background: #fff; z-index: 1050; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: translateX(100%); transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { font-size: 2rem; font-weight: 800; margin: 15px 0; }

/* 9. Footer (Dolu Dolu) */
footer { background: var(--dark-deep); color: #fff; padding: 80px 5% 30px; }
.footer-main { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: var(--primary); margin-bottom: 20px; font-size: 17px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; color: #94a3b8; font-size: 14px; }
.footer-logo { height: 50px; margin-bottom: 20px; }
.footer-bottom { max-width: 1300px; margin: 60px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; font-size: 13px; color: #475569; }

/* 10. Responsive */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .bento-grid { grid-template-columns: 1fr; }
    .large, .tall { grid-column: span 1; grid-row: span 1; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .footer-main { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
}

/* --- SERVICES HERO --- */
.services-hero {
    padding: 160px 5% 80px;
    text-align: center;
    background: #fff;
}

/* --- PARTNERS LOGO SLIDER --- */
.partners {
    padding: 60px 0;
    background: #1b69fc;
    overflow: hidden;
    width: 100%;
}
.partner-title {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 2px;
}
.logo-slider {
    display: flex;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); /* Kenarları yumuşakça siler */
}
.logo-track {
    display: flex;
    gap: 100px; /* Logolar arası mesafe */
    width: max-content; /* İçerik kadar genişle */
    animation: scrollLogos 15s linear infinite; /* 15s - hızı buradan ayarla */
}
.logo-track img {
    height: 150px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: 0.3s;
}
.logo-track img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Pistin tam ortasına (yarısına) geldiğinde sıçramadan başa döner */
        transform: translateX(calc(-50%));
    }
}
/* --- BENTO SERVICES DETAY --- */
.services-detail {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.services-detail .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

/* --- TECH PAGE STYLES --- */
.tech-page { padding-top: 100px; }

.tech-hero {
    text-align: center;
    padding: 100px 5% 60px;
    background: radial-gradient(circle at 50% 100%, #f0f7ff 0%, #ffffff 100%);
}

.tech-categories { padding: 60px 5%; max-width: 1400px; margin: 0 auto; }

.tech-group { margin-bottom: 80px; }

.group-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 5px solid var(--primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.tech-card {
    background: var(--white);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
}

.tech-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    object-fit: contain;
}

.tech-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.tech-card p {
    color: var(--text);
    font-size: 0.95rem;
}

/* Hover Efekti: Kart Maviye Döner */
.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(27, 105, 252, 0.1);
}

.tech-card:hover h3 { color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-hero h1 { font-size: 2.2rem; }
}

/* --- ABOUT PAGE STYLES --- */
.about-page { padding-top: 100px; }

.about-flex { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
    padding: 80px 5%; 
    max-width: 1400px; 
    margin: 0 auto; 
}

/* Resim Çerçevesi Efekti */
.about-image { flex: 1; position: relative; }
.image-frame {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.image-frame img { width: 100%; display: block; filter: saturate(1.1); }

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 20px 30px;
    border-radius: 20px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(27, 105, 252, 0.4);
}

.about-content { flex: 1.2; }
.about-content h1 { font-size: 3.5rem; margin: 20px 0; letter-spacing: -2px; }

.vision-mission { display: flex; gap: 30px; margin-top: 40px; }
.vm-item h4 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }

/* Rakamlar Bölümü */
.about-stats { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    background: var(--dark); 
    padding: 80px 5%; 
    text-align: center; 
}
.stat-item h2 { color: #1b69fc; font-size: 3.5rem; margin-bottom: 10px; }
.stat-item p { color: rgba(255,255,255,0.6); font-weight: 600; }

/* Neden Biz Kartları */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 60px 5%; max-width: 1400px; margin: 0 auto; }
.why-card { padding: 40px; border: 1px solid #eee; border-radius: 30px; transition: 0.3s; }
.why-card span { font-size: 3rem; font-weight: 900; opacity: 0.1; display: block; margin-bottom: -30px; }
.why-card:hover { border-color: var(--primary); transform: translateY(-10px); }

/* Responsive */
@media (max-width: 1024px) {
    .about-flex { flex-direction: column; text-align: center; gap: 50px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .why-grid { grid-template-columns: 1fr; }
}
/* --- CONTACT PAGE STYLES --- */
.contact-page { padding-top: 100px; min-height: 90vh; }

.contact-hero { text-align: center; padding: 60px 5%; }

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 100px;
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Sol kart daha geniş */
    gap: 40px;
}

/* Sol Kart: İletişim Bilgileri */
.contact-info-card {
    background: var(--white);
    padding: 50px;
    border-radius: 35px;
    border: 1px solid #eef2ff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

.contact-info-card h3 { font-size: 2rem; margin-bottom: 20px; }
.contact-info-card p { color: var(--text); margin-bottom: 40px; }

.info-items { display: flex; flex-direction: column; gap: 30px; }
.info-item { display: flex; gap: 20px; align-items: flex-start; }
.info-icon {
    font-size: 24px;
    background: var(--light-gray);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.info-item h4 { font-size: 1.1rem; margin-bottom: 5px; }

/* Sağ Taraf: Sosyal Butonlar */
.social-quick-access {
    background: var(--dark);
    padding: 50px;
    border-radius: 35px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-buttons { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }

.social-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 18px;
    font-weight: 700;
    transition: 0.3s;
    color: white !important;
}

.social-btn img { width: 28px; height: 28px; filter: brightness(0) invert(1); }

/* WhatsApp Yeşili */
.whatsapp { background: #25D366; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2); }
.whatsapp:hover { transform: scale(1.03); background: #20bd5a; }

/* Instagram Gradyanı */
.instagram { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.2);
}
.instagram:hover { transform: scale(1.03); opacity: 0.9; }

/* Responsive */
@media (max-width: 968px) {
    .contact-container { grid-template-columns: 1fr; }
}