﻿/* ===== BASE STYLES ===== */
:root {
    --primary-blue: #0078D4;
    --secondary-blue: #106EBE;
    --dark: #000000;
    --light: #FFFFFF;
    --white: #FFFFFF; /* BUNU EKLE */
    --maroon: #800000;
    --skyblue: #87CEEB;
    --limegreen: #32CD32;
    --gray: #F3F3F3;
    --font-main: 'Segoe UI', system-ui, sans-serif;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background-color: var(--dark);
    color: var(--light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.nav {
    display: flex;
    gap: 2rem;
}

    .nav a {
        color: var(--light);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }

        .nav a:hover {
            color: var(--primary-blue);
        }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.slider-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0; /* Eklendi */
}

    .slide.active {
        opacity: 1;
        z-index: 1; /* Aktif slide en üstte */
    }


    .slide h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--dark);
        text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    }

.slide-3 h1 {
    color: white;
    position: absolute;
    bottom: 30px;
    left: 30px;
    text-align: left; /* Gerekirse sola hizalama */
}
.slide-2 h1 {
    color: whitesmoke;
 
}

.slide-1 h1 {
    color: aliceblue;
    position: absolute;
    bottom: 30px;
    left: 35px;
    text-align: left; /* Gerekirse sola hizalama */
}
/* Slider Navigation Arrows */
/* Slider Arrows (Daire OLMADAN) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

    .slider-arrow:hover {
        color: rgba(0, 0, 0, 0.9);
    }

.slide-1 {
    background-image: url('/assets/img/it.png'); /* Arka plan görseli */
}

.slide-2 {
    background-image: url('/assets/img/ai.jpg'); /* Arka plan görseli */
}

.slide-3 {
    background-image: url('/assets/img/iso.jpg'); /* Arka plan görseli */
}

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}


/* Slider Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

    .dot.active {
        background: white;
        transform: scale(1.2);
    }

/* ===== SERVICES SECTION ===== */
/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 4rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--maroon);
    }

/* Grid Layout */
.grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Card Base */
.service-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s forwards;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 100px;
}

    /* Staggered animation delays */
    .service-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .service-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .service-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .service-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .service-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .service-card:nth-child(6) {
        animation-delay: 0.6s;
    }

    /* Hover Effects */
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-blue);
        background-color: white;
    }

/* Card Content */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-container {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    color: var(--primary-blue);
}

    .icon-container svg {
        width: 28px;
        height: 28px;
        stroke: currentColor;
        transition: transform 0.4s ease;
    }

.service-card:hover .icon-container {
    transform: rotate(10deg) scale(1.1);
    background: rgba(0, 123, 255, 0.1);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin: 0;
    transition: color 0.3s ease;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}




/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 4rem 0;
    background-color: var(--gray);
}

.grid-3x1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--maroon);
}

    .feature h3 {
        color: var(--maroon);
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-section {
    padding: 4rem 0;
    background-color: var(--light);
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    max-width: 1200px;
    margin: 0 auto;
}

    .horizontal-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .horizontal-scroll::-webkit-scrollbar-thumb {
        background: var(--primary-blue);
        border-radius: 4px;
    }

.testimonial-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--limegreen);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 3rem 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

    .footer-links a {
        color: var(--primary-blue);
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: var(--light);
        }

.copyright {
    text-align: center;
    color: #777;
}

/* ===== FLOATING BUTTONS ===== */
.float-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.whatsapp-btn, .phone-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background-color: #25D366;
}

.phone-btn {
    background-color: var(--primary-blue);
}

    .whatsapp-btn:hover, .phone-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .whatsapp-btn svg, .phone-btn svg {
        width: 24px;
        height: 24px;
        fill: white;
    }

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 900px) {
    .grid-3x2, .grid-3x1 {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .grid-3x2, .grid-3x1 {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--dark);
        padding: 1rem 0;
    }

        .nav.active {
            display: flex;
        }

    .mobile-menu-btn {
        display: block;
    }

    .slide h1 {
        font-size: 2rem;
    }

    .slider-arrow {
        font-size: 1.5rem;
        padding: 8px 12px;
    }

    .slider-dots {
        bottom: 10px;
    }

    .testimonial-card {
        flex: 0 0 85%;
    }

    .float-buttons {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn, .phone-btn {
        width: 45px;
        height: 45px;
    }
}
.no-underline {
    text-decoration: none;
    color: inherit; /* isteğe bağlı: link rengi varsayılan yazı rengiyle aynı olsun */
}