/* static/css/style.css */

/* Ana CSS Stillleri */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    padding-top: 76px; /* Navbar yüksekliği */
}

/* Navbar */
.navbar-brand {
    font-size: 1.2rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%) !important;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    border-radius: 15px 15px 0 0;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: auto;
}

/* Utility Classes */
.text-decoration-none {
    text-decoration: none !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* Blog Specific Styles */
.blog-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2, .blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Event Styles */
.event-meta {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event-meta .row > div {
    margin-bottom: 0.5rem;
}

/* Profile Styles */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    padding: 3rem 0;
    border-radius: 0 0 20px 20px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-info .list-group-item {
    border: none;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

/* Member Grid */
.member-grid .card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.member-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Team Styles */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-avatar {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Loading Spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Search Bar */
.search-form {
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.search-form .form-control {
    border: none;
    border-radius: 50px;
    padding-left: 20px;
}

.search-form .btn {
    border-radius: 50px;
    padding: 8px 20px;
}

/* Alert Messages */
.alert {
    border-radius: 12px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d1f2eb;
    color: #0c5460;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* ============================================ */
/* MODERN FOOTER STYLES - YENİ EKLENEN BÖLÜM */
/* ============================================ */

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 20px 0;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #2980b9, #1abc9c, #16a085);
}

.modern-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(26, 188, 156, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section {
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-about {
    max-width: 350px;
}

.footer-about p {
    line-height: 1.7;
    color: #bdc3c7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.social-links-modern {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links-modern .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links-modern .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
    display: block;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom-left {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Footer Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-about {
        max-width: 100%;
    }

    .social-links-modern {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        padding-left: 20px;
    }

    .footer-links a::before {
        left: 5px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .social-links-modern .social-link {
        width: 40px;
        height: 40px;
    }

    .modern-footer {
        padding: 30px 0 15px 0;
    }
}


/* static/js/custom.js */