/* Custom styles for Uyuz Bilgi Merkezi website */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Hero section */
.hero {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.hero h1 {
    color: #0d6efd;
    font-weight: 600;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-title {
    color: #0d6efd;
    font-weight: 600;
}

/* Thumbnails in gallery */
.thumbnail {
    transition: opacity 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: 200px;
    object-fit: cover;
}

.thumbnail:hover {
    opacity: 0.8;
}

/* Navigation */
.navbar {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #343a40;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .thumbnail {
        height: 150px;
    }
}

/* Accessibility improvements */
.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
}

/* Content sections */
section {
    padding: 3rem 0;
}

section h2 {
    color: #0d6efd;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Alert boxes */
.alert {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.alert h4 {
    color: inherit;
    font-weight: 600;
}

/* Image styling */
.img-fluid {
    border-radius: 0.5rem;
}

/* Table styling for content pages */
table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

table th,
table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Article content styling */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    margin-top: 1.5rem;
    color: #0d6efd;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* References section */
.references {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.references h3 {
    margin-top: 0;
}

.references ol {
    padding-left: 1.5rem;
}

/* Contact form styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-control {
    border-radius: 0.25rem;
    padding: 0.75rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
