/* Sanat Topluluğu Ana CSS Dosyası */

:root {
    --primary-black: #1a1a1a;
    --accent-yellow: #ffd700;
    --pure-white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --medium-gray: #6c757d;
    --border-color: #dee2e6;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--pure-white);
    padding-top: 80px; /* navbar yüksekliği için */
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--pure-white) !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 400;
    padding: 0.75rem 1rem !important;
    transition: var(--transition);
    border-radius: 5px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-yellow) !important;
    background-color: rgba(255,215,0,0.1);
}

.dropdown-menu {
    background: var(--primary-black);
    border: 1px solid var(--accent-yellow);
    border-radius: 10px;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-medium);
}

.dropdown-item {
    color: var(--pure-white);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--accent-yellow);
    color: var(--primary-black);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffd700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: grain 20s linear infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(5%, -10%); }
    30% { transform: translate(-10%, 5%); }
    40% { transform: translate(10%, 10%); }
    50% { transform: translate(-5%, -5%); }
    60% { transform: translate(5%, 5%); }
    70% { transform: translate(-10%, -10%); }
    80% { transform: translate(10%, -5%); }
    90% { transform: translate(-5%, 10%); }
}

.hero-title {
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-weight: 300;
    line-height: 1.6;
}

.floating-elements {
    position: relative;
    height: 400px;
}

.float-element {
    position: absolute;
    color: var(--accent-yellow);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.element-1 { top: 10%; left: 20%; animation-delay: 0s; }
.element-2 { top: 30%; right: 10%; animation-delay: 1.5s; }
.element-3 { bottom: 30%; left: 10%; animation-delay: 3s; }
.element-4 { bottom: 10%; right: 30%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-yellow);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-warning {
    background: var(--accent-yellow);
    color: var(--primary-black);
    box-shadow: var(--shadow-light);
}

.btn-warning:hover {
    background: #e6c200;
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-dark {
    background: var(--primary-black);
    color: var(--pure-white);
    box-shadow: var(--shadow-light);
}

.btn-dark:hover {
    background: var(--dark-gray);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-dark {
    border: 2px solid var(--primary-black);
    color: var(--primary-black);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary-black);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--pure-white);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--medium-gray);
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Stats */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-yellow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0;
    font-weight: 500;
}

/* Cards */
.card-base {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: none;
}

.card-base:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

/* Project Cards */
.project-card {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: none;
    height: 100%;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.project-status {
    background: var(--accent-yellow);
    color: var(--primary-black);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-size: 1.2rem;
}

.project-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Category Cards */
.category-card {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 2px solid transparent;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-yellow);
}

.category-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
}

.category-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-size: 1.3rem;
}

.category-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Training Cards */
.training-card {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: none;
    height: 100%;
    position: relative;
}
.training-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.training-date {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.date-box {
    background: var(--accent-yellow);
    color: var(--primary-black);
    padding: 0.5rem;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
    box-shadow: var(--shadow-light);
}

.date-box .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.date-box .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

.training-content {
    padding: 1.5rem;
    padding-top: 2rem;
}

.training-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-size: 1.2rem;
}

.training-instructor {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.training-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.training-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.training-time {
    color: var(--medium-gray);
}

.training-price {
    color: var(--primary-black);
    font-weight: 600;
}

.training-price.free {
    color: var(--accent-yellow);
    font-weight: 700;
}

/* Publication Cards */
.publication-card {
    background: var(--pure-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: none;
    height: 100%;
}
.publication-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.publication-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.publication-card:hover .publication-image img {
    transform: scale(1.05);
}

.publication-type {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-black);
    color: var(--pure-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.publication-content {
    padding: 1.5rem;
}

.publication-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-size: 1.2rem;
    line-height: 1.4;
}

.publication-excerpt {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.publication-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Gallery */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--accent-yellow);
    font-size: 2rem;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--pure-white);
    padding: 1rem;
}

.gallery-caption h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary-black) !important;
}

.footer-title {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-yellow);
    color: var(--primary-black);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--pure-white);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.contact-info {
    color: rgba(255,255,255,0.8);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.contact-item i {
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-divider {
    border-color: var(--dark-gray);
    opacity: 0.3;
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav-link:hover {
    color: var(--accent-yellow);
}

.separator {
    color: var(--medium-gray);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    color: var(--primary-black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-black);
    color: var(--accent-yellow);
    transform: translateY(-3px);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
}

.cta-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--pure-white);
}

.cta-subtitle {
    font-weight: 300;
    opacity: 0.9;
    color: rgba(255,255,255,0.8);
}

/* Utilities */
.text-warning {
    color: var(--accent-yellow) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-elements {
        height: 200px;
    }
    
    .float-element {
        font-size: 1.5rem;
    }
    
    .stats-row .col-4 {
        margin-bottom: 1rem;
    }
    
    .training-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .publication-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .category-card,
    .training-card,
    .project-card,
    .publication-card {
        margin-bottom: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--accent-yellow);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}