/* ============================================
   PROFESYONEL OTO KURTARMA HİZMETLERİ
   Ana CSS Dosyası
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d32f2f;
    --secondary-color: #1976d2;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #4caf50;
    --warning-color: #ff9800;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #0f141a; /* koyu arka plan - görsel yansıması için */
    position: relative;
    /* Sayfa geçiş animasyonu başlangıç değeri */
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Sayfa arka planı (oto çekici fotoğrafı) ve geçişler */
body.page-loaded { opacity: 1; }
body.fade-out { opacity: 0; }

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(rgba(16,18,22,0.65), rgba(16,18,22,0.65)),
      url('images/arkplan.png') center/cover no-repeat fixed;
    filter: blur(2px);
    transform: scale(1.03);
    will-change: transform, filter;
}

/* ============================================
   HEADER VE NAVİGASYON
   ============================================ */

header {
    background-color: var(--dark-color);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-top {
    background-color: var(--primary-color);
    padding: 10px 0;
    font-size: 14px;
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.8;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 25px 20px;
    transition: all 0.3s;
    font-weight: 500;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: white;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    font-weight: bold;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   HERO BÖLÜMÜ
   ============================================ */

.hero {
    /* Arka plan fotoğrafının görünmesi için yarı saydam overlay */
    background: rgba(0, 0, 0, 0.45);
    color: white;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Sayfa Özel Arka Planları */
body.anasayfa-page::before {
    background:
      linear-gradient(rgba(16,18,22,0.65), rgba(16,18,22,0.65)),
      url('https://images.unsplash.com/photo-1542362567-b07e54358753?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat fixed;
}

body.hizmetler-page::before {
    background:
      linear-gradient(rgba(16,18,22,0.65), rgba(16,18,22,0.65)),
      url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat fixed;
}

body.hakkimizda-page::before {
    background:
      linear-gradient(rgba(16,18,22,0.65), rgba(16,18,22,0.65)),
      url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat fixed;
}

body.hizmet-bolgelerimiz-page::before {
    background:
      linear-gradient(rgba(16,18,22,0.65), rgba(16,18,22,0.65)),
      url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat fixed;
}

body.iletisim-page::before {
    background:
      linear-gradient(rgba(16,18,22,0.65), rgba(16,18,22,0.65)),
      url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat fixed;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero .cta-button {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    font-size: 16px;
    padding: 15px 40px;
}

.hero .cta-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ============================================
   CONTAINER VE LAYOUT
   ============================================ */

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

.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* ============================================
   KARTLAR VE GRID
   ============================================ */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    background-size: cover;
    background-position: center;
}

/* Hizmetler Sayfası Kartları */
.hizmetler-page .card:nth-child(1) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=800&auto=format&fit=crop') center/cover;
}

.hizmetler-page .card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover;
}

.hizmetler-page .card:nth-child(3) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover;
}

.hizmetler-page .card:nth-child(4) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=800&auto=format&fit=crop') center/cover;
}

.hizmetler-page .card:nth-child(5) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?q=80&w=800&auto=format&fit=crop') center/cover;
}

/* Anasayfa Hizmetler Kartları */
.anasayfa-page .section:nth-of-type(2) .card:nth-child(1) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=800&auto=format&fit=crop') center/cover;
}

.anasayfa-page .section:nth-of-type(2) .card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover;
}

.anasayfa-page .section:nth-of-type(2) .card:nth-child(3) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover;
}

.anasayfa-page .section:nth-of-type(2) .card:nth-child(4) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=800&auto=format&fit=crop') center/cover;
}

.anasayfa-page .section:nth-of-type(2) .card:nth-child(5) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?q=80&w=800&auto=format&fit=crop') center/cover;
}

/* Anasayfa Neden Biz Kartları */
.anasayfa-page .section:nth-of-type(3) .card:nth-child(1) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1611532736579-6b16e2b50449?q=80&w=800&auto=format&fit=crop') center/cover;
}

.anasayfa-page .section:nth-of-type(3) .card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover;
}

.anasayfa-page .section:nth-of-type(3) .card:nth-child(3) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1579621970563-430f63602d4b?q=80&w=800&auto=format&fit=crop') center/cover;
}

.anasayfa-page .section:nth-of-type(3) .card:nth-child(4) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover;
}

/* Hakkımızda Sayfası Kartları */
.hakkimizda-page .section:nth-of-type(2) .card:nth-child(1) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hakkimizda-page .section:nth-of-type(2) .card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

/* Hakkımızda Değerler Kartları */
.hakkimizda-page .section:nth-of-type(3) .card:nth-child(1) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1611532736579-6b16e2b50449?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hakkimizda-page .section:nth-of-type(3) .card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hakkimizda-page .section:nth-of-type(3) .card:nth-child(3) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hakkimizda-page .section:nth-of-type(3) .card:nth-child(4) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1579621970563-430f63602d4b?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hakkimizda-page .section:nth-of-type(3) .card:nth-child(5) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

/* Hizmet Bölgeleri Sayfası Kartları - Kocaeli İlçeleri */
.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(1) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(3) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(4) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(5) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(6) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(7) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1500382017468-7049fae79eef?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(8) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(9) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(10) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.hizmet-bolgelerimiz-page .section:nth-of-type(2) .card:nth-child(11) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

/* İletişim Sayfası Kartları */
.iletisim-page .section:nth-of-type(2) .card:nth-child(1) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1611532736579-6b16e2b50449?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.iletisim-page .section:nth-of-type(2) .card:nth-child(2) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.iletisim-page .section:nth-of-type(2) .card:nth-child(3) .card-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?q=80&w=800&auto=format&fit=crop') center/cover !important;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.card-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.card-link:hover {
    color: var(--secondary-color);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* ============================================
   FORM STILLERI
   ============================================ */

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ============================================
   RESPONSIVE TASARIM
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--dark-color);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    nav ul.active {
        max-height: 500px;
    }

    nav ul li a {
        padding: 15px 20px;
        border-bottom: 1px solid #444;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .header-top-content {
        flex-direction: column;
        gap: 10px;
    }

    .contact-info {
        gap: 15px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero {
        padding: 60px 20px;
        min-height: 350px;
    }

    .section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .card-image {
        height: 150px;
        font-size: 36px;
    }
}

