/* =========================================
   1. GENEL AYARLAR
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* body {
    background-color: #5ACDC9;
    color: white;
} */


body {
    /* Eski düz renk yerine modern çapraz geçişli gradient */
    background: linear-gradient(135deg, #5ACDC9 0%, #2fa7a2 100%);
    
    /* Arka planı sabitleyerek modern bir kaydırma efekti verir */
    background-attachment: fixed;
    
    /* İçerik az olsa bile arka planın tüm ekranı kaplamasını sağlar */
    min-height: 100vh;
    
    /* Yazı rengi */
    color: white;
}

.container {
    width: 90%; 
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   2. HEADER (ÜST KISIM)
   ========================================= */
header {
    background-color: #b2ebf2; 
    background-image: linear-gradient(180deg, #e0f7fa 0%, #80deea 100%);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #4dd0e1;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 60px;
    margin-bottom: 15px;
}

.logo {
    width: 150px;
    height: auto;
    position: absolute;
    left: 0;
    top: 65%;
    transform: translateY(-50%);
}

.site-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title h1 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #006064;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.site-title h2 {
    font-size: 24px;
    font-weight: 800;
    color: #00838f;
    margin: 0;
    text-transform: uppercase;
}

/* =========================================
   3. NAVİGASYON (MASAÜSTÜ)
   ========================================= */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    padding: 5px 0;
}

nav ul li a {
    text-decoration: none;
    color: #006064;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: #0097a7;
    opacity: 1;
}

nav ul li a.active {
    color: #d81b60;
    border-bottom: 2px solid #d81b60;
}

/* Dropdown (Masaüstü) */
nav ul li ul {
    display: none; 
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00bcd4;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    flex-direction: column;
    padding: 8px 0;
    border-radius: 6px;
    margin-top: 5px;
    
    /* BURASI EKLENDİ: Üst menüden gelen 35px boşluğu iptal eder */
    gap: 0; 
}

nav ul li ul::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #00bcd4 transparent;
}

nav ul li ul::after {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

nav ul li:hover > ul {
    display: flex;
}

nav ul li ul li {
    width: 100%;
}

nav ul li ul li a {
    color: white;
    padding: 10px 15px;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 500;
    text-transform: none;
}

nav ul li ul li a:hover {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* =========================================
   HAMBURGER MENÜ BUTONU (Masaüstünde Gizli)
   ========================================= */
.menu-toggle {
    display: none; /* Masaüstünde gizle */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    right: 0; /* Sağ köşeye yasla */
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #006064; /* Çizgi rengi */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* =========================================
   4. HERO SLIDER
   ========================================= */
.hero-section {
    margin: 30px auto;
    position: relative;
    max-width: 1000px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background-color: #fff;
    height: 450px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease-in-out;
}

.hero-image.fade-out { opacity: 0.4; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}
.arrow-left { left: 20px; }
.arrow-right { right: 20px; }

/* =========================================
   5. STATİK İÇERİK
   ========================================= */
.static-content {
    margin: 30px auto;
    max-width: 1000px;
    background-color: #fff; 
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #333;
    text-align: left;
    line-height: 1.6;
}
.static-content img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.static-content h2, .static-content h3, .static-content p { color: #333; }
.static-content h3 { border-bottom: 2px solid #5ACDC9; display: inline-block; margin-top: 30px; }

/* =========================================
   6. TABLO
   ========================================= */
.page-title {
    color: #333; margin-bottom: 20px; font-size: 26px; border-bottom: 3px solid #5ACDC9; display: inline-block; padding-bottom: 10px;
}
.table-responsive { overflow-x: auto; }
.service-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 14px; text-align: left;}
.service-table th { background-color: #5ACDC9; color: white !important; padding: 15px; }
.service-table td { padding: 15px; border: 1px solid #ddd; color: #333; }
.service-table tr:nth-of-type(even) { background-color: #f9f9f9; }

/* =========================================
   7. İLETİŞİM
   ========================================= */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.contact-text-area, .map-area { flex: 1; min-width: 300px; }
.map-area { height: 450px; background-color: #eee; border-radius: 8px; overflow: hidden; }
.contact-details a { color: #00796b; font-weight: 500; }

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    background-color: transparent; color: white; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.4);
}
.footer-columns { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 40px; text-align: left; }
.col { flex: 1; min-width: 220px; margin-bottom: 20px; }
.col h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background-color: white; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 13px; color: #e0f7fa; line-height: 1.5; }
.contact-icon { width: 20px; height: 20px; margin-right: 12px; flex-shrink: 0; fill: white; }
.contact-text strong { color: white; font-weight: 600; }
.hours-table { width: 100%; font-size: 13px; color: #e0f7fa; }
.hours-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.copyright { text-align: center; padding: 20px; font-size: 12px; color: rgba(255,255,255,0.8); background-color: rgba(0,0,0,0.05); }

/* =========================================
   9. MOBİL VE TABLET UYUMLULUK (GÜNCELLENDİ)
   ========================================= */
@media (max-width: 1024px) {
    
    /* 1. HEADER DÜZENİ */
    .header-top {
        min-height: 70px;
        justify-content: center; /* Başlığı ortada tut */
        padding: 0 40px; /* Başlığın sağa sola çarpmasını engelle */
    }
    
    /* Sol Logo */
    .logo {
        width: 100px;
        top: 50%;
        left: 0;
    }

    /* Başlık */
    .site-title h1 { 
        font-size: 14px; 
        letter-spacing: 0.5px;
        line-height: 1.2;
    }
    .site-title h2 { 
        font-size: 18px; 
        line-height: 1.2;
    }

    /* 2. HAMBURGER MENÜ İKONU (DÜZELTİLDİ) */
    .menu-toggle {
        display: flex;
        /* ESKİSİ: right: 0; idi (Çok sağdaydı) */
        /* YENİSİ: */
        right: 20px;  /* Kenardan 20px içeri aldık */
        
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    /* 3. MENÜ LİSTESİ */
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #b2ebf2;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 0;
        gap: 0;
        border-top: 1px solid #4dd0e1;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 0;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        font-size: 15px;
        color: #006064;
    }

    /* Mobilde Dropdown */
    nav ul li ul {
        position: static;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 188, 212, 0.1);
        display: none; 
        min-width: 100%;
        margin-top: 0;
        border-radius: 0;
    }
    
    nav ul li:hover ul {
        display: flex; 
    }
    
    nav ul li ul::before { display: none; }
    nav ul li ul::after { display: none; }

    /* 4. DİĞER RESPONSIVE AYARLAR */
    .container {
        width: 95%;
    }

    .hero-section { 
        height: 250px; 
        margin-top: 20px;
    }

    .footer-columns { 
        flex-direction: column; 
        gap: 40px;
    }

    .contact-wrapper {
        flex-direction: column;
    }
    
    .static-content {
        padding: 20px;
    }
}