/* Minimalist Hukuk Bürosu Teması - Premium Revizyon */
:root {
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --light-bg: #ffffff;
    --light-surface: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --accent-gray: #e9ecef;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--light-bg);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* Bol Boşluk (Whitespace) Sınıfları */
.section-padding {
    padding: 100px 0;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-gray);
    padding: 1.2rem 0;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--text-secondary) !important;
    }

/* Hero Slider */
.hero-slider {
    height: 80vh;
    min-height: 600px;
    background-color: var(--dark-bg);
}

.carousel-item {
    height: 80vh;
    min-height: 600px;
}

.carousel-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

.carousel-caption {
    bottom: 30%;
    text-align: left;
    max-width: 800px;
}

    .carousel-caption h1 {
        font-size: 3.5rem;
        font-weight: 300;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }



/* 1. Definitive Mobile Hero Text düzeltmesi */
/* Küçük telefonlar ( < 576px ) */
@media (max-width: 575.98px) {
    .carousel-caption {
        bottom: 8% !important;
        left: 5% !important;
        right: 5% !important;
        width: 90% !important;
        padding: 0 !important;
        text-align: center !important; /* Mobilde ortalamak daha şık */
    }

        .carousel-caption h1 {
            font-size: 1.5rem !important; /* Çok daha küçük font */
            line-height: 1.2 !important;
            letter-spacing: 0.5px !important;
            font-weight: 500 !important;
            overflow-wrap: break-word !important; /* Kelimeyi (Ör: CezaHukuku) zorla böler */
            word-wrap: break-word !important;
            margin-bottom: 8px !important;
        }

        .carousel-caption p.fs-5 {
            font-size: 0.9rem !important;
            line-height: 1.5 !important;
        }

    .hero-slider, .carousel-item {
        height: 60vh !important; /* Mobil cihazlarda yüksekliği kısalttık */
        min-height: 350px !important;
    }
}

/* 2. Tablet Hero Text düzeltmesi*/
/* Tablet ve Phablet ( 576px - 767px ) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
}

/* 3. Definitive Tablet Footer Fix ) */
/* Footer'daki uzun metinlerin (adres, e-posta) kolonları patlatmasını engeller */
.footer ul li, .footer p {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-all !important; 
}

/* Tablet dikey modunda (md breakpoint) ikonların sığması için */
@media (min-width: 768px) and (max-width: 991.98px) {
    .footer ul li {
        display: flex;
        align-items: start;
    }

        .footer ul li i {
            margin-top: 5px; /* İkonu bölünen metne hizala */
        }
}

/* Premium Hizmet Kartları (sen.av.tr stili) */
.service-card {
    background: var(--light-bg);
    border: 1px solid var(--accent-gray);
    padding: 40px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
    /* Hover (Üzerine gelindiğinde siyah arka plan ve beyaz yazı efekti) */
    .service-card:hover {
        background: var(--dark-bg);
        border-color: var(--dark-bg);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

        .service-card:hover .service-title,
        .service-card:hover .service-desc,
        .service-card:hover .service-icon i,
        .service-card:hover .service-link {
            color: var(--light-bg) !important;
        }

.service-icon i {
    font-size: 2.2rem;
    color: var(--dark-bg);
    transition: color 0.4s ease;
}

.service-title {
    margin-top: 25px;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: color 0.4s ease;
}

.service-desc {
    color: var(--text-secondary);
    margin-top: 15px;
    flex-grow: 1;
    font-size: 0.95rem;
    transition: color 0.4s ease;
}
/* Ok detaylı İncele Linki */
.service-link {
    margin-top: 25px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: color 0.4s ease;
}

    .service-link i {
        margin-left: 8px;
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

.service-card:hover .service-link i {
    transform: translateX(8px);
}

/* Anasayfa Hizmet Sliderı İçin Ok İşaretleri (Premium Revizyon) */


/* Footer (Renk Hatası Düzeltildi) */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-surface); /* Koyu gri olan metinleri daha açık yaptık */
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
}

    .footer h5 {
        color: #ffffff !important;
    }

    .footer .text-muted {
        color: #999999 !important;
    }
    /* text-muted sınıfını daha okunabilir gri yaptık */
    .footer a.text-muted {
        color: #999999 !important;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a.text-muted:hover {
            color: #ffffff !important;
        }
/* Üzerine gelince beyaz */

.footer-legal-text {
    color: #888888;
    font-size: 0.85rem;
    border-top: 1px solid #333333;
    padding-top: 20px;
    margin-top: 40px;
}

