/* --- DEĞİŞKENLER & SIFIRLAMA --- */
:root {
    --primary-color: #0056b3; 
    --primary-hover: #004494;
    --dark-bg: #12151a; 
    --light-bg: #ffffff;
    --section-bg: #f8faff;
    --card-bg: #eaf3ff; 
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #666666;
    --font-main: 'Poppins', sans-serif;
    --font-hand: 'Permanent Marker', cursive;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
    color: var(--text-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.mt-4 { margin-top: 2rem; }

/* --- ORTAK BUTON STİLLERİ --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    transform: translateY(-3px);
}

/* --- ORTAK BÖLÜM STİLLERİ --- */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--section-bg);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.section-title {
    font-size: 36px;
    color: var(--dark-bg);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.text-center {
    text-align: center;
}

.text-center .section-title {
    margin-left: auto;
    margin-right: auto;
}

/* --- HEADER --- */
.header {
    background-color: var(--light-bg);
    padding: 15px 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    color: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-bg);
}

.logo-subtitle {
    font-weight: 500;
    font-size: 12px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-gray);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--dark-bg);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 700px;
    background: url('img/hero.jpg') center/cover no-repeat;
    padding-top: 80px;
    padding-bottom: 120px;
    /* Sağ alt köşeyi 120px yaparak arka planın o dik inen kısmını ovalleştirdik */
    border-radius: 0 0 120px 20px; 
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10, 15, 25, 0.95) 0%, rgba(10, 15, 25, 0.7) 100%);
    /* Siyah saydam katmanın (overlay) köşesini de ana fotoğrafla aynı olacak şekilde ovalleştirdik */
    border-radius: 0 0 120px 20px;
}

/* Ana beyaz kutumuz (Üstteki içe kıvrımı koruyoruz) */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60%;
    height: 220px;
    background-color: var(--light-bg);
    border-top-right-radius: 100px; /* Orijinal üst kavis duruyor */
    border-bottom-right-radius: 0; /* Altı düz bıraktık ki rampa ile birleşsin */
    z-index: 1;
}

/* İşte senin kırmızıyla çizdiğin o dışa doğru yayılan kavis (rampa) efekti */
.hero::before {
    content: '';
    position: absolute;
    bottom: -2px; /* Zeminle aynı hizada */
    left: 60%; /* Ana beyaz kutunun tam bittiği yerden başlıyor */
    width: 90px; /* Kavisin dışa doğru ne kadar uzayacağı (gözüne küçük gelirse artırabilirsin) */
    height: 90px; /* Kavisin ne kadar yukarıdan başlayacağı */
    /* Sağ üstten merkeze doğru şeffaf, geri kalanı beyaz olan ters kavis şekli */
    background: radial-gradient(circle at top right, transparent 89px, var(--light-bg) 90px);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-content {
    max-width: 550px;
    margin-top: 20px;
}

.hero-content h1 {
    font-size: 52px;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visuals {
    position: absolute;
    right: -100px; 
    bottom: -470px; 
    width: 500px;
    z-index: 10;
}

.hero-car {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.new-badge {
    position: absolute;
    top: -60px;
    right: 80px;
    color: var(--text-light);
    transform: rotate(15deg);
}

.new-text {
    font-family: var(--font-hand);
    font-size: 40px;
    display: block;
}

.badge-arrow {
    font-size: 24px;
    margin-left: 50px;
}

/* --- ÖZELLİK KARTLARI --- */
.features-wrapper {
    position: absolute;
    bottom: 20px;
    left: 100px;
    width: 60%;
    z-index: 3;
}

.features-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    width: 180px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary-color);
    background-color: #fff;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.drawn-arrow {
    color: var(--primary-color);
    font-size: 40px;
    /* Okun yönünü kutulara (sola) çevirdik */
    transform: rotate(-55deg); 
    /* Kutulara biraz daha yaklaştırmak için boşluğu azalttık */
    margin-left: 55px; 
    margin-top: 70px;
}

.header-action {
    background-color: var(--light-bg);
    padding: 20px 30px 35px 30px; 
    border-radius: 0 0 25px 40px; 
    margin-top: -15px; 
    margin-bottom: -50px; 
    position: relative;
    z-index: 101;
}

.header-action::before,
.header-action::after {
    content: '';
    position: absolute;
    top: 60px; 
    width: 50px;
    height: 30px;
    background-color: transparent;
}

.header-action::before {
    left: -30px;
    border-top-right-radius: 30px;
    box-shadow: 15px -15px 0 0 var(--light-bg);
}

.header-action::after {
    right: -30px;
    border-top-left-radius: 30px;
    box-shadow: -15px -15px 0 0 var(--light-bg);
}

/* --- HAKKIMIZDA YENİ TASARIM --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Görsel Kümesi */
.about-images-wrapper {
    position: relative;
    padding-right: 50px;
    padding-bottom: 50px;
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 250px;
    height: 250px;
    background-color: var(--primary-color);
    opacity: 0.08;
    border-radius: 30px;
    z-index: 1;
    transform: rotate(-10deg);
}

.about-image-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 2;
}

.about-image-main img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.about-image-second {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: 20px;
    overflow: hidden;
    border: 10px solid var(--light-bg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    z-index: 3;
}

.about-image-second img {
    width: 100%;
    display: block;
}

/* Tecrübe Rozeti ve Efekti */
.experience-badge {
    position: absolute;
    top: 40%;
    left: -40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 8px solid var(--light-bg);
    box-shadow: 0 10px 25px rgba(0,86,179,0.3);
    z-index: 4;
}

.pulse-anim {
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(0,86,179,0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0,86,179,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,86,179,0); }
}

.exp-years {
    display: block;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.exp-text {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Metin ve İçerik Kısmı */
.about-content .highlight {
    color: var(--primary-color);
}

.lead-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    background: linear-gradient(to right, rgba(0,86,179,0.05), transparent);
    border-radius: 0 10px 10px 0;
    padding: 15px 0 15px 20px;
}

/* Özellik Kutuları */
.about-features-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--light-bg);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,86,179,0.1);
}

.afi-icon {
    width: 55px;
    height: 55px;
    background-color: var(--card-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}

.about-feature-item:hover .afi-icon {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.afi-text h4 {
    font-size: 17px;
    color: var(--dark-bg);
    margin-bottom: 4px;
}

.afi-text p {
    font-size: 13px;
    color: var(--text-gray);
}

/* Aksiyon ve İmza Bölümü */
.about-action {
    display: flex;
    align-items: center;
    gap: 40px;
}

.owner-sign {
    display: flex;
    flex-direction: column;
}

.owner-name {
    font-family: var(--font-hand);
    font-size: 26px;
    color: var(--primary-color);
    transform: rotate(-3deg);
    line-height: 1;
}

.owner-title {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
    font-weight: 500;
}

/* --- HAKKIMIZDA MOBİL UYUM GÜNCELLEMELERİ --- */
@media (max-width: 1024px) {
    .about-grid { gap: 40px; }
    .about-images-wrapper { padding-right: 30px; padding-bottom: 30px; }
    .about-image-second { width: 65%; border-width: 8px; }
    .experience-badge { width: 120px; height: 120px; left: -20px; }
    .exp-years { font-size: 28px; }
}

@media (max-width: 850px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-images-wrapper { max-width: 600px; margin: 0 auto; padding-right: 20px; padding-bottom: 20px; }
    .experience-badge { left: auto; right: -10px; top: -20px; }
    .about-content { padding: 0 10px; }
    .hero, .section, .footer {
    overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .about-images-wrapper { padding-right: 15px; padding-bottom: 15px; }
    .about-image-second { width: 70%; border-width: 5px; }
    .experience-badge { width: 100px; height: 100px; right: -5px; top: -15px; border-width: 4px; padding: 10px;}
    .exp-years { font-size: 22px; margin-bottom: 2px;}
    .exp-text { font-size: 11px; }
    .about-action { flex-direction: column; align-items: flex-start; gap: 25px; }
    .about-feature-item { padding: 12px 15px; gap: 15px; }
    .afi-icon { width: 45px; height: 45px; font-size: 18px; }
    .afi-text h4 { font-size: 15px; }
    .lead-text { font-size: 14px; }
}

/* --- HİZMETLER --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-box {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.service-box:hover::before {
    height: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box:hover h3, .service-box:hover p {
    color: var(--text-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--card-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-box:hover .service-icon {
    background-color: rgba(255,255,255,0.2);
    color: var(--text-light);
}

.service-box h3 {
    font-size: 20px;
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.service-box p {
    font-size: 14px;
    line-height: 1.7;
}

/* --- CTA BÖLÜMÜ --- */
.cta {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('https://images.unsplash.com/photo-1625047509168-a71c6f959553?q=80&w=1974&auto=format&fit=crop') center/cover fixed;
    padding: 80px 0;
    text-align: center;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-content {
    text-align: left;
    max-width: 600px;
}

.cta-content h2 {
    color: var(--text-light);
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

.cta-button .btn {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-color: var(--light-bg);
}

.cta-button .btn:hover {
    background-color: transparent;
    color: var(--text-light);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-bg);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col.branding p {
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col.links ul li a {
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col.links ul li a i {
    font-size: 10px;
    color: var(--primary-color);
}

.footer-col.links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    background-color: #0b0d10;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom .developer {
    color: var(--text-light);
}

.footer-bottom .developer strong {
    color: var(--primary-color);
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 42px; }
    .hero-visuals { width: 500px; bottom: -100px; right: -50px;}
    .features-wrapper { width: 100%; position: relative; bottom: 0; margin-top: 40px; left: 0;}
    .hero::after { display: none; } 
    .hero { padding-bottom: 40px; }
    .about-grid { gap: 30px; }
    .cta-container { flex-direction: column; text-align: center; gap: 30px; }
    .cta-content { text-align: center; }
}

@media (max-width: 850px) {

    .hero::before {
        display: none;
    }

        .hero::after {
        display: none;
    }


    /* Header Mobilde */
    .nav-links, .header-action { display: none; } 
    .mobile-menu-btn { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--light-bg);
        padding: 20px 20px 90px 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 15px;
        z-index: 99;
        text-align: center;
    }
    
    .header-action::before, 
    .header-action::after {
        display: none; 
    }

    .header-action.active {
        display: flex;
        justify-content: center;
        position: absolute;
        top: calc(100% + 220px); 
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        z-index: 100;
    }

    /* Hero Mobilde */
    .hero-container { flex-direction: column; align-items: center; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-visuals { position: relative; bottom: 0; right: 0; width: 100%; max-width: 400px; margin-top: 40px;}
    .new-badge { right: 20px; top: -30px; }
    
    /* Diğer Bölümler */
    .features-wrapper { position: static; margin-top: 20px; }
    .features-container { flex-wrap: wrap; justify-content: center; }
    .drawn-arrow { display: none; } 
    
    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 500px; margin: 0 auto 40px; }
    .experience-badge { right: 0; bottom: -20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom .container { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 32px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .feature-card { width: 100%; max-width: 250px; }
    .section-title { font-size: 28px; }
    .cta-container { padding: 30px 20px; }
    .cta-content h2 { font-size: 24px; }
}