/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #212529;
}

a {
    color: #dc3545;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #b02a37;
    text-decoration: underline;
}

/* Header Stiller */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.logo-icon i {
    color: white;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #495057;
}

.nav-link:hover, .nav-link.active {
    color: #dc3545;
}

/* Hero Section */
.hero-section {
    background-image: url('../img/traffic-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    position: relative;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.search-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

/* Features Section */
.features-section {
    background-color: #f8f9fa;
}

.feature-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: #f8d7da;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #dc3545;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Updates Section */
.update-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.update-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.update-icon {
    width: 48px;
    height: 48px;
    background-color: #f8d7da;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.update-icon i {
    font-size: 1.25rem;
    color: #dc3545;
}

/* CTA Section */
.cta-section {
    background-color: #dc3545;
    color: white;
}

/* Search Results */
.search-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2rem;
}

.result-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1rem;
    overflow: hidden;
}

.result-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.result-header:hover {
    background-color: #f8f9fa;
}

.toggle-icon {
    transition: transform 0.3s;
}

.result-header.active .toggle-icon {
    transform: rotate(180deg);
}

.result-body {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* About Page */
.about-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.about-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.about-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-content ul li {
    margin-bottom: 0.5rem;
}

/* Contact Page */
.contact-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: #f8d7da;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: #dc3545;
}

.contact-form-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Privacy Page */
.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-content p, .privacy-content ul {
    margin-bottom: 1.5rem;
}

.privacy-content ul {
    padding-left: 1.5rem;
}

.privacy-content ul li {
    margin-bottom: 0.5rem;
}

/* Footer */
.main-footer {
    background-color: #212529;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-contact a {
    color: #adb5bd;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-contact a:hover {
    color: white;
    text-decoration: none;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .contact-card {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 1rem;
    }
}