/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;  /* body bölümün yazıtipi */
    line-height: 1.6;
    padding-top: 76px;
}

/* Header Stilleri */
header {
	font-family: "Exo 2", sans-serif; /* header bölümün yazıtipi */
    background-color: #333;
    padding: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Ana İçerik Stilleri */
main {
	font-family: "Exo 2", sans-serif; /* ana bölümün yazıtipi */
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

/* Animasyonlar için geçişler */
.card, .btn, .nav-link {
    transition: all 0.3s ease;
}

/* Proje kartları için özel stil */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    height: 250px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .project-card {
        height: 200px;
    }
}

/* Modern Footer Stilleri */
.bg-darker {
    background-color: #111;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: "\F285";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    color: #007bff;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 20px;
}

.contact-info .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.footer-cta {
    background: linear-gradient(90deg, #007bff, #0062cc);
}

/* Projeler bölümü için ek stiller */
.project-item .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.project-item .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.project-item .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item .card:hover .card-img-top {
    transform: scale(1.05);
}

.category-buttons .btn {
    border-radius: 30px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.category-buttons .btn.active {
    background-color: var(--bs-primary);
    color: white;
}

/* Modern Slider Styles */
.modern-slider {
	width: 100%;
    aspect-ratio: 15/9;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
    will-change: opacity, visibility;
}

.slider-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    z-index: 3;
}

.slider-caption .btn {
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #007bff;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.slider-caption .btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-control:hover {
    background-color: rgba(255,255,255,0.5);
}

.slider-control.prev {
    left: 15px;
}

.slider-control.next {
    right: 15px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
    background-color: white;
    transform: scale(1.2);
}

/* Animasyonların yeniden tanımlanması */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s forwards;
    animation-fill-mode: both;
    backface-visibility: hidden;
    perspective: 1000px;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
    .modern-slider {
        aspect-ratio: 15/9;
    }
    
    .slider-caption {
        padding: 15px;
    }
    
    .slider-caption h3 {
        font-size: 1.2rem;
    }
    
    .slider-caption p {
        font-size: 0.9rem;
    }
}

@media (min-width: 1200px) {
    .modern-slider {
        max-height: 540px;
    }
}

.slider-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    z-index: 2;
}

.slider-caption {
    z-index: 4; /* Overlay'in üzerinde görünmesi için */
}

.slider-caption h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.slider-caption p {
    max-width: 80%;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}