/* Avukat Sitesi - Özel Stil */

:root {
    --primary-color: #1e3a5f; /* Lacivert */
    --secondary-color: #2c3e50; /* Antrasit */
    --light-bg: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.25rem;
}

.navbar-brand small {
    font-size: 0.75rem;
    font-weight: 400;
}

.navbar-brand .text-primary {
    font-size: 1.1rem;
    line-height: 1.2;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 0.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

/* Sections */
section {
    padding: 4rem 0;
}

.hero-section {
    padding: 5rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

/* Content Area */
.content-area {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.content-area p {
    margin-bottom: 1.5rem;
}

.content-area h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.content-area h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.content-area ul, .content-area ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-area li {
    margin-bottom: 0.5rem;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color) !important;
}

footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: white !important;
}

/* Forms */
.form-control {
    border-radius: 0.375rem;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 95, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Spacing */
.mb-section {
    margin-bottom: 4rem;
}

/* Statistics Section */
.bg-primary .display-3 {
    font-size: 3.5rem;
    font-weight: 700;
}

/* Badge Styles */
.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

/* Hero Section Improvements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

.bg-light section,
.bg-white section {
    padding: 4rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .display-2 {
        font-size: 2.5rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 4rem 0 3rem !important;
    }
    
    .bg-primary .display-3 {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
}