/* ============================================
   İZMİR SERVİS - STYLE.CSS
   Temiz ve Optimize Edilmiş Versiyon
============================================ */

/* ============================================
   1. CSS VARIABLES
============================================ */
:root {
    --mavi-koyu: #0d47a1;
    --mavi-orta: #1976d2;
    --mavi-acik: #42a5f5;
    --kirmizi-koyu: #c62828;
    --kirmizi-orta: #e53935;
    --beyaz: #ffffff;
    --siyah: #212121;
    --gri-koyu: #424242;
    --gri-orta: #757575;
    --gri-acik: #f5f5f5;
}

/* ============================================
   2. RESET
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gri-koyu);
    line-height: 1.7;
    background: var(--beyaz);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   3. HEADER
============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--beyaz);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.navbar {
    padding: 0.8rem 0;
}

.navbar-brand .logo {
    max-width: 250px;
    height: auto;
}

.navbar-nav .nav-link {
    color: var(--gri-koyu);
    font-weight: 600;
    padding: 0.6rem 1rem;
    margin: 0 0.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--beyaz);
    background: linear-gradient(135deg, var(--mavi-koyu), var(--mavi-acik));
}

.navbar-toggler {
    border: 2px solid var(--mavi-orta);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mavi-koyu), var(--mavi-acik));
    border: none;
    color: var(--beyaz);
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

/* ============================================
   4. HERO SECTION
============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--mavi-koyu) 0%, var(--mavi-orta) 60%, var(--kirmizi-orta) 100%);
    padding: 140px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/slider/hero-bg.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    color: var(--beyaz);
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
}

.hero-text .lead {
    color: var(--beyaz);
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin: 0.5rem;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--beyaz);
    color: var(--beyaz);
}

.btn-outline-light:hover {
    background: var(--beyaz);
    color: var(--mavi-koyu);
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* ============================================
   5. ABOUT SECTION
============================================ */
.about-section {
    padding: 80px 0;
}

.section-subtitle {
    color: var(--mavi-orta);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--siyah);
    margin: 1rem 0;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gri-acik);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--mavi-orta);
}

/* ============================================
   6. SERVICES SECTION
============================================ */
.services-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gri-acik) 0%, var(--beyaz) 100%);
}

.service-card {
    background: var(--beyaz);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(13, 71, 161, 0.2);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9), rgba(197, 40, 40, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    font-size: 3rem;
    color: var(--beyaz);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mavi-koyu);
    margin-bottom: 1rem;
}

.service-content p {
    font-size: 1rem;
    color: var(--gri-koyu);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--beyaz);
    background: linear-gradient(135deg, var(--mavi-koyu), var(--mavi-acik));
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateX(5px);
}

/* ============================================
   7. CTA SECTION
============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--mavi-koyu), var(--mavi-orta), var(--kirmizi-orta));
}

.cta-section h2 {
    color: var(--beyaz);
    font-size: 2.5rem;
    font-weight: 900;
}

.cta-section p {
    color: var(--beyaz);
    font-size: 1.2rem;
}

.cta-section .btn-light {
    background: var(--beyaz);
    color: var(--mavi-koyu);
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 900;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: scale(1.05);
}

/* ============================================
   8. FOOTER
============================================ */
.footer {
    background: linear-gradient(180deg, var(--siyah), var(--mavi-koyu));
    color: var(--beyaz);
    padding: 60px 0 20px;
}

.footer h5 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--kirmizi-orta);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--beyaz);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--kirmizi-orta);
    margin-right: 0.5rem;
}

/* ============================================
   9. RESPONSIVE
============================================ */
@media (max-width: 991px) {
    .navbar-brand .logo {
        max-width: 200px;
    }
    
    .navbar-collapse {
        background: var(--beyaz);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .navbar-nav .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }
    
    .hero-section {
        min-height: 600px;
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .navbar-brand .logo {
        max-width: 160px;
    }
    
    .hero-section {
        min-height: 500px;
        padding: 90px 0 50px;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text .lead {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


/* BREADCRUMB SECTION DÜZELTMESİ */
.breadcrumb-section {
    position: relative;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 60%, #e53935 100%);
    overflow: hidden;
    margin-top: 0;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/breadcrumb/page-header-bg.webp') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.breadcrumb-section h1 {
    position: relative;
    z-index: 10;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
}

.breadcrumb {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffffff;
}

.breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.6);
    padding: 0 0.5rem;
}

/* PAGE CONTENT BOŞLUK DÜZELTMESİ */
.page-content {
    padding: 80px 0;
    background: #ffffff;
}

.content-box {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border-left: 5px solid #1976d2;
}

.content-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #0d47a1;
}

.content-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1976d2;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-box h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #424242;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #424242;
    margin-bottom: 1rem;
}

.content-box ul,
.content-box ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-box li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: #424242;
}

/* MOBİL DÜZENLEME */
@media (max-width: 767px) {
    .breadcrumb-section {
        padding: 120px 0 60px;
    }
    
    .breadcrumb-section h1 {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 60px 0;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .content-box h2 {
        font-size: 1.6rem;
    }
    
    .content-box h3 {
        font-size: 1.3rem;
    }
}

/* HERO OVERLAY GÜÇLENDİRME */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/slider/hero-bg.webp') center center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

/* Ek overlay katmanı */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 71, 161, 0.7);
    z-index: 2;
}

/* HERO METİNLERİ KALINLAŞTIRMA */
.hero-text h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
}

.hero-text .lead {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* MOBİLDE GÖRSELI GİZLE */
@media (max-width: 991px) {
    .hero-image {
        display: none;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        font-weight: 900;
    }
    
    .hero-text .lead {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .hero-section {
        min-height: 600px;
        padding: 120px 0 60px;
    }
}

@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 1.75rem;
        font-weight: 900;
    }
    
    .hero-text .lead {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .hero-section {
        min-height: 500px;
        padding: 100px 0 50px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
        font-weight: 700;
    }
}