/* ===== GOOGLE FONTS & VARIABLE SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #202c65;     /* Kurumsal Koyu Mavi */
    --secondary: #cbd4ff;   /* Vurgu / Hover Açık Mavi */
    
    /* Nötr Renkler */
    --text-dark: #334155;   /* Göz yormayan koyu gri */
    --text-light: #64748b;  /* Açık gri alt metinler */
    --bg-light: #f8fafc;    /* Ferah arka plan */
    --bg-white: #ffffff;    /* Saf beyaz */
    --border-color: #e2e8f0;
    
    /* Koyu Alanlar İçin Slate Tonları */
    --dark-slate: #0f172a;
    --darker-slate: #020617;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== SIFIRLAMA & RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* YARDIMCI SINIFLAR */
.section-padding {
    padding: 90px 0;
}
.bg-light {
    background-color: var(--bg-light);
}
.bg-dark {
    background-color: var(--dark-slate);
}
.text-white {
    color: var(--bg-white);
}
.position-relative {
    position: relative;
}

/* BAŞLIKLAR */
.subtitle {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.25;
    color: var(--primary);
}
.section-title.center {
    text-align: center;
}

/* BUTONLAR */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary);
    color: white; 
}
.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(203, 212, 255, 0.5);
}
.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(32, 44, 101, 0.3);
}
.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}
.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* ===== ÜST BİLGİ (TOP BAR) ===== */
.top-bar {
    background-color: var(--primary);
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 12px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-info span {
    margin-right: 25px;
}
.contact-info i {
    color: var(--secondary);
    margin-right: 8px;
}
.top-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* ===== NAVBAR ===== */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}
.logo img {
    height: 52px;
    max-height: 58px;
    width: auto;
    display: block;
    transition: var(--transition);
    object-fit: contain;
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.hamburger:hover {
    background-color: var(--primary);
    color: white;
}

/* AÇILIR MENÜ (DROPDOWN) DESKTOP */
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid var(--border-color);
}
.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.9rem !important;
}
.dropdown-menu a::after {
    display: none !important; 
}
.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary) !important;
    padding-left: 25px !important;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 580px;
    overflow: hidden;
    background-color: var(--dark-slate);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
    display: flex;
    align-items: center;
}
.slide.active {
    opacity: 1;
    z-index: 1;
}
.slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    max-width: 780px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out 0.3s;
}
.hero-content h1,
.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: white;
}
.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    color: #cbd5e1;
    max-width: 620px;
}
.badge {
    background-color: rgba(203, 212, 255, 0.2);
    color: #e0e7ff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(203, 212, 255, 0.4);
    display: inline-block;
    margin-bottom: 20px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Slider Okları */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    font-size: 1.1rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}
.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }

/* Alt Noktalar (Dots) */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active, .dot:hover {
    background: var(--secondary);
    transform: scale(1.25);
}

/* ===== HİZMETLERİMİZ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.service-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img img {
    transform: scale(1.08);
}
.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}
.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary);
    transition: var(--transition);
    align-self: flex-start;
}
.service-card:hover .read-more {
    background-color: var(--primary);
    color: white;
    transform: translateX(5px);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(32, 44, 101, 0.1);
    border-color: var(--secondary);
}

/* ===== HAKKIMIZDA ===== */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1rem;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-box {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.stat-box:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(32, 44, 101, 0.08);
}
.stat-box h3 {
    font-size: 2.4rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 6px;
}
.stat-box p {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ===== SEKTÖRLER ===== */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.sector-card {
    background: var(--bg-white);
    padding: 28px 15px;
    text-align: center;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
}
.sector-card:hover {
    border-color: var(--secondary);
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(32, 44, 101, 0.06);
}
.sector-card i {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    transition: var(--transition);
}
.sector-card:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}
.sector-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== SÜREÇLER ===== */
.process-flex {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 50px;
}
.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}
.process-step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -50%;
    width: 100%;
    height: 2px;
    border-top: 2px dashed rgba(255, 255, 255, 0.2);
    z-index: 1;
}
.process-step:last-child::after {
    display: none;
}
.step-num {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border: 2px solid var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(203, 212, 255, 0.2);
}
.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: white;
}
.process-step p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-slate);
    color: white;
    padding-top: 70px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}
.footer-col .footer-logo {
    height: 50px;
    max-height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
    display: block;
}
.footer-col p {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}
.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul a {
    color: #94a3b8;
    font-size: 0.95rem;
}
.footer-col ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-4px);
}
.contact-col p {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
    font-size: 0.95rem;
}
.contact-col i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 1rem;
}
.footer-bottom {
    background: var(--darker-slate);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
    background-color: #20ba5a;
}
.whatsapp-float i {
    line-height: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   ========================================================================== */

/* ===== TABLET (max-width: 992px) ===== */
@media (max-width: 992px) {
    .section-padding {
        padding: 70px 0;
    }
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.8rem;
    }
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .process-flex {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 30px;
    }
    .process-step::after {
        display: none;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ===== MOBILE & SMALL TABLETS (max-width: 768px) ===== */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .nav-inner {
        height: 75px;
    }
    .logo img {
        height: 42px;
        max-height: 46px;
    }
    .hamburger {
        display: flex;
    }
    .navbar .btn {
        display: none;
    }
    
    /* Mobil Drawer Menü */
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 15px 20px 25px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        gap: 0;
        text-align: left;
        border-top: 1px solid var(--border-color);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.25s ease forwards;
    }
    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }
    .nav-links a {
        padding: 14px 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark);
    }
    .nav-links a::after {
        display: none;
    }
    .nav-links a:hover, .nav-links a.active {
        color: var(--primary);
    }

    /* Mobil Dropdown Menü */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: none;
        background: var(--bg-light);
        border-radius: 6px;
        padding: 5px 0;
        margin-bottom: 10px;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }

    /* Hero Slider Mobil */
    .hero-slider {
        height: auto;
        min-height: 520px;
        padding: 40px 0 50px;
    }
    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-bottom: 35px;
    }
    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }
    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 14px;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }
    .badge {
        font-size: 0.8rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .slider-btn {
        display: none !important;
    }
    .slider-dots {
        bottom: 15px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-img {
        height: 200px;
    }
    .service-content {
        padding: 20px;
    }

    /* About Section */
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-box {
        padding: 20px 10px;
    }
    .stat-box h3 {
        font-size: 1.8rem;
    }
    .stat-box p {
        font-size: 0.75rem;
    }

    /* Sectors Grid */
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .sector-card {
        padding: 20px 10px;
    }

    /* Process Steps */
    .process-flex {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .process-step {
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 10px;
        padding: 20px;
        text-align: left;
    }
    .step-num {
        margin: 0 0 15px 0;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    /* Footer Mobil */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* ===== EXTRA SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .section-padding {
        padding: 45px 0;
    }
    .section-title h2 {
        font-size: 1.65rem;
        margin-bottom: 30px;
    }
    .hero-content h1,
    .hero-content h2 {
        font-size: 1.75rem;
    }
    .stat-box h3 {
        font-size: 1.6rem;
    }
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 25px;
        bottom: 16px;
        right: 16px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}