html {
    scroll-behavior: smooth;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.project-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
}

.project-card:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* Gradient overlay for images */
.project-card img {
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Hero section gradient overlay */
.bg-gradient-overlay {
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

/* Nav link hover efekti */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Modal animasyonları */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#projectModal .bg-white {
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.backdrop-blur-sm {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Swiper styles */
.swiper {
    width: 100%;
    height: 400px;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
}

.swiper-pagination-bullet {
    background: white !important;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }

    .swiper {
        height: 300px;
    }
}

/* Modal scroll düzenlemesi */
.max-h-90vh {
    max-height: 90vh;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: .15em solid orange;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: 
        typing 3.5s cubic-bezier(0.4, 0, 0.2, 1),
        blink-caret .75s step-end infinite;
    will-change: width;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange }
}

/* Sliding Text Animation */
.slide-text {
    animation: slide 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes slide {
    0% { transform: translateY(0); }
    33% { transform: translateY(-33.33%); }
    66% { transform: translateY(-66.66%); }
    100% { transform: translateY(-100%); }
}

/* Hover Effects */
.transform {
    transition: all 0.3s ease;
}

.transform:hover {
    transform: translateY(-10px);
}

/* Mobil menü animasyonları */
#mobile-menu {
    transition: all 0.4s ease-in-out;
}

#mobile-menu.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: scale(1);
}

#mobile-menu a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

#mobile-menu a:hover {
    transform: translateX(10px);
    letter-spacing: 2px;
}

/* Font ayarları */
body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Menü öğeleri için özel font ayarı */
nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hero section için z-index düzeni */
.hero-section {
    position: relative;
    z-index: 10;
}

nav {
    z-index: 50;
}

/* Biz Kimiz section için animasyonlar */
.project-image {
    transition: transform 0.3s ease-in-out;
}

.project-image:hover {
    transform: scale(1.05);
}

/* Dekoratif üçgen animasyonu */
@keyframes slideIn {
    from {
        transform: translateX(-100%) skew(-12deg);
    }
    to {
        transform: translateX(0) skew(-12deg);
    }
}

.bg-emerald-100/ {
    animation: slideIn 1s ease-out forwards;
}

/* Modern dots pattern */
.dots-pattern {
    background-image: radial-gradient(circle, #10b981 1px, transparent 1px);
    background-size: 20px 20px;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* Smooth hover effect for images */
.hover\:shadow-emerald-500\/20:hover {
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.2);
}

/* Section Divider Styles */
.section-divider {
    padding: 4rem 0;
}

.section-divider .rotate-45 {
    animation: pulse 2s infinite;
}

.section-divider .rotate-45:nth-child(1) { animation-delay: 0s; }
.section-divider .rotate-45:nth-child(2) { animation-delay: 0.2s; }
.section-divider .rotate-45:nth-child(3) { animation-delay: 0.4s; }
.section-divider .rotate-45:nth-child(4) { animation-delay: 0.6s; }
.section-divider .rotate-45:nth-child(5) { animation-delay: 0.8s; }

@keyframes pulse {
    0%, 100% {
        transform: rotate(45deg) scale(1);
    }
    50% {
        transform: rotate(45deg) scale(1.2);
    }
} 
@keyframes titleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-titleFadeIn {
    animation: titleFadeIn 1s ease-out forwards;
}
@keyframes titleZoomIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-titleZoomIn {
    animation: titleZoomIn 2s ease-out forwards;
}
@keyframes letterSlideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

h2 span {
    display: inline-block;
    opacity: 0;
    animation: letterSlideIn 1s ease forwards;
}

h2 span:nth-child(odd) {
    animation-delay: 0.1s;
}

h2 span:nth-child(even) {
    animation-delay: 0.3s;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
