/* Custom CSS for animations and additional styles */

/* Header Styles */
header {
    transition: all 0.3s ease;
}

header a {
    position: relative;
}

header a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

header a:hover::after {
    width: 100%;
}

/* Logo linkinde alt çizgi olmasın */
header a.logo-link::after {
    display: none;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Section transitions */
section {
    scroll-margin-top: 0;
}

/* Modal styles */
#imageModal {
    backdrop-filter: blur(5px);
}

#imageModal img {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slider Styles */
.slider-section {
    height: calc(100vh - 4rem); /* 64px header height for mobile */
}

@media (min-width: 768px) {
    .slider-section {
        height: calc(100vh - 5rem); /* 80px header height for desktop */
    }
}

.slider-slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-dot.active {
    background-color: #1f2937 !important;
    transform: scale(1.2);
}

.slider-arrow {
    opacity: 0.8;
}

.slider-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .animate-fade-in {
        animation-duration: 0.8s;
    }
    
    .slider-arrow {
        display: none;
    }
}

