/* Balkanlar Tuna - Custom CSS */

:root {
    --primary-color: #2c5d8c;
    --secondary-color: #a88c66;
    --accent-color: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Content Layout */
.main-content {
    flex: 1;
    min-height: calc(100vh - 200px); /* Footer yüksekliği için boşluk bırak */
}

/* Bootstrap Color Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1e4a6f;
    border-color: #1e4a6f;
}

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

.btn-secondary:hover {
    background-color: #8f7555;
    border-color: #8f7555;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    font-size: 0.875rem;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Language Dropdown */
.dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a6f 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/public/assets/images/hero-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0.5rem;
    transition: all 0.3s ease;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Donation Cards */
.donation-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.donation-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #1e4a6f);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.donation-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.donation-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Project Progress */
.progress {
    height: 10px;
    border-radius: 10px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.6s ease;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.project-stats .stat {
    text-align: center;
}

.project-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.project-stats .stat-label {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Event Card */
.event-card {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Blog Card */
.blog-card .card-body {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta span {
    margin-right: 1rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), #1e4a6f);
    color: white;
    padding: 3rem 0;
    border-radius: 20px;
    margin: 3rem 0;
}

.newsletter h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form .btn {
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    background-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: #1a1a1a !important;
    color: #ffffff;
}

.footer h5, .footer h6 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer .text-light {
    color: #cccccc !important;
}

.footer a.text-light:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-consent .btn {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 93, 140, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .donation-card {
        margin-bottom: 2rem;
    }
    
    .newsletter h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .btn {
        display: block;
        margin: 0.5rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* 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);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light-primary {
    background-color: rgba(44, 93, 140, 0.1);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}

.rounded-xl {
    border-radius: 20px !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4a6f 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/public/assets/images/pattern.png') repeat;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: rgba(255, 255, 255, 0.5);
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content h1, .page-content h2, .page-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

/* 404 Error Page */
.error-content .display-1 {
    font-size: 8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-actions .btn {
    margin: 0.5rem;
}

/* Gallery Styles */
.page-gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.page-gallery img:hover {
    transform: scale(1.05);
}

/* ==================== SLIDER STYLES ==================== */

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider .carousel {
    height: 100%;
}

.hero-slider .carousel-inner {
    height: 100%;
}

.hero-slider .carousel-item {
    height: 100%;
    position: relative;
}

.hero-slider .slider-image {
    height: 100%;
    width: 100%;
    display: block;
}

.hero-slider .slider-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slider Link */
.slider-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.slider-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Slider Caption */
.hero-slider .carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 3rem;
    max-width: 90%;
    width: auto;
}

.hero-slider .slider-content {
    text-align: center;
}

.hero-slider .slider-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-slider .slider-buttons .btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(44, 93, 140, 0.3);
    transition: all 0.3s ease;
}

.hero-slider .slider-buttons .btn:hover {
    background: #1e4a6f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 93, 140, 0.4);
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 8%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

/* Carousel Indicators */
.hero-slider .carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-slider .carousel-caption {
        bottom: 15%;
        padding: 1.5rem 2rem;
    }
    
    .hero-slider .slider-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-slider .slider-buttons .btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 12%;
    }
    
    .hero-slider .carousel-indicators {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-slider .carousel-caption {
        bottom: 10%;
        padding: 1rem 1.5rem;
        max-width: 95%;
    }
    
    .hero-slider .slider-title {
        font-size: 1.5rem;
    }
    
    .hero-slider .slider-buttons .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/* Slider Loading Animation */
.hero-slider .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.hero-slider .carousel-item.active {
    opacity: 1;
}

/* Slider Fade Effect */
.hero-slider .carousel-inner .carousel-item {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

/* Enhanced Hover Effects */
.hero-slider .slider-link:hover .slider-image img {
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.hero-slider .slider-link:hover .carousel-caption {
    transform: translateX(-50%) translateY(-10px);
    transition: transform 0.3s ease;
}
