/* Genel Stiller */
:root {
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow: 0 2px 20px rgba(0,0,0,0.05);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(45deg, #1a237e, #0d47a1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Cards */
.card {
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    margin-top: auto;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff !important;
}

/* Forms */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Modern ve tutarlı buton stili */
.btn {
    border-radius: 8px !important;
    font-weight: 500;
    min-width: 110px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(13,110,253,0.07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn i {
    margin-right: 4px;
}
.btn-primary, .btn-primary:focus {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    color: #fff;
}
.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    background: #fff;
}
.btn-outline-primary:hover {
    background: #0d6efd;
    color: #fff;
}
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}
.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
    color: #fff;
}
.btn-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: #fff;
}
.btn-info:hover {
    background-color: #31d2f2;
    border-color: #31d2f2;
    color: #fff;
}
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}
.btn-secondary:hover {
    background-color: #565e64;
    border-color: #565e64;
    color: #fff;
}
.btn-sm {
    font-size: 0.95rem;
    padding: 0.35rem 0.9rem;
    min-width: 90px;
}
.btn-lg {
    font-size: 1.15rem;
    padding: 0.7rem 1.6rem;
    min-width: 130px;
}
/* Buton ile input yan yana ise input'a margin-right ekle */
.input-group .form-control {
    margin-right: 8px;
}
/* Arama/filtre kutusu ile butonun rengi farklı olsun */
input[type="search"], .form-control[type="search"] {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-size: 1rem;
    min-height: 44px;
}
input[type="search"]:focus, .form-control[type="search"]:focus {
    border-color: #0d6efd;
    background: #fff;
    outline: none;
}
/* Yan yana butonlar için spacing */
.btn + .btn {
    margin-left: 8px;
}

/* Gallery */
.gallery-item {
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .min-vh-75 {
        min-height: 50vh;
    }
}

/* Custom Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Slider Styles */
.carousel {
    margin-bottom: 0;
    width: 100%;
}

.carousel-item {
    height: 300px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%);
}

.bg-gradient {
    background: linear-gradient(45deg, #1a237e, #0d47a1);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0;
    text-align: center;
    max-width: 100%;
}

.carousel-caption .container {
    padding: 0 15px;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    color: #fff;
}

.carousel-caption p {
    font-size: 1rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-caption .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Slider Kontrolleri */
.carousel-control-prev,
.carousel-control-next {
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 15px;
    height: 15px;
}

.carousel-indicators {
    margin-bottom: 0.5rem;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 200px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 180px;
    }
    
    .carousel-caption h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption .btn {
        padding: 0.25rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 25px;
        height: 25px;
        margin: 0 0.25rem;
    }
    
    .carousel-control-prev {
        left: 5px;
    }
    
    .carousel-control-next {
        right: 5px;
    }
    
    .carousel-indicators {
        margin-bottom: 0.25rem;
    }
}

/* Board Section Styles */
.board-section {
    background: linear-gradient(45deg, #1a237e, #0d47a1);
    color: white;
    padding: 80px 0;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    z-index: 1000;
    display: block;
    visibility: visible;
    margin-top: 80px;
}

.board-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.board-section h1 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.board-section p {
    color: #ffffff;
    opacity: 0.9;
}

body .main-content-section {
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .board-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .board-section {
        padding: 40px 0;
    }
}

/* Form Stilleri */
.form-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
    outline: none;
}

/* Upload Alanı */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
    margin-bottom: 25px;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: #f0f9ff;
}

.upload-area i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.upload-area h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.upload-area p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Önizleme */
.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: #fff;
    transform: scale(1.1);
}

/* İlerleme Çubuğu */
.upload-progress {
    margin-top: 30px;
    display: none;
}

.progress-item {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.progress-bar {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 0.3s ease;
}

/* Butonlar */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-btn {
    padding: 12px 25px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-btn.primary {
    background: var(--primary-color);
    color: #fff;
}

.form-btn.primary:hover {
    background: var(--primary-hover);
}

.form-btn.secondary {
    background: var(--bg-light);
    color: var(--text-light);
}

.form-btn.secondary:hover {
    background: var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .form-section {
        padding: 40px 0;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .upload-area {
        padding: 25px;
    }
    
    .upload-preview {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Alert */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    min-width: 300px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
} 