/* Gezi Projesi - Ana Stil Dosyası */

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
    }
    
    #home {
        min-height: 100vh;
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }
    
    .h-screen {
        min-height: 100vh;
    }
    
    #mobileMenuBtn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    #mobileMenu {
        max-height: 400px;
        overflow-y: auto;
    }
    
    /* Alt sayfa mobil düzeltmeleri */
    .sub-page section:first-of-type {
        padding-top: 150px !important;
        margin-top: 0 !important;
    }
    
    .sub-page #navbar {
        min-height: 100px;
        padding: 20px 0;
    }
    
    .sub-page #logo {
        height: 60px !important;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stage-card {
    flex: 0 0 auto;
    width: 320px;
}

@media (min-width: 768px) {
    .stage-card {
        width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .stage-card {
        width: calc(33.333% - 16px);
    }
}

#stagesWrapper {
    touch-action: pan-y;
    user-select: none;
}

.support-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.support-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Etap Sayfaları İçin Stiller */
.gallery-slider {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.experience-card {
    background: linear-gradient(135deg, rgba(197, 48, 48, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    border: 1px solid rgba(197, 48, 48, 0.2);
}

.location-item {
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e5e7eb;
}

.location-item:hover {
    transform: translateX(10px);
    background-color: rgba(197, 48, 48, 0.05);
    border-color: rgba(197, 48, 48, 0.2);
}

/* Yeni Renk Şeması */
body {
    background-color: #f8fafc;
    color: #1f2937;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Ferah tasarım için spacing */
.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.gap-12 {
    gap: 3rem;
}

/* Tüm etap sayfaları için genel stiller */
.bg-gray-900 {
    background-color: #f9fafb !important;
}

.bg-gray-800 {
    background-color: #ffffff !important;
}

.text-white {
    color: #1f2937 !important;
}

.text-gray-300 {
    color: #6b7280 !important;
}

.text-gray-400 {
    color: #6b7280 !important;
}

.bg-blue-600 {
    background-color: #c53030 !important;
}

.hover\:bg-blue-700:hover {
    background-color: #9c2a2a !important;
}

.bg-gray-700 {
    background-color: #1e40af !important;
}

.hover\:bg-gray-600:hover {
    background-color: #1d4ed8 !important;
}

/* Navigasyon güncellemeleri */
nav.nav-blur {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid #e5e7eb;
}

nav a {
    color: #374151 !important;
}

nav a:hover {
    color: #c53030 !important;
}

/* Section arka planları */
section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

section:nth-child(even) {
    background-color: #f9fafb;
}

section:nth-child(odd) {
    background-color: #ffffff;
}

/* Başlık renkleri */
h1, h2 {
    color: #c53030 !important;
}

h3, h4 {
    color: #1f2937 !important;
}

/* Modern Animations */
@keyframes bounce-slow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradient-x {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animation Classes */
.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-slide-in-down {
    animation: slide-in-down 0.8s ease-out forwards;
}

.animate-slide-in-up {
    animation: slide-in-up 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-gradient-x {
    animation: gradient-x 15s ease infinite;
}

.animate-shimmer {
    animation: shimmer 3s ease-in-out infinite;
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Enhanced Stage Cards */
.stage-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.stage-card:hover::before {
    left: 100%;
}

.stage-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Staggered Animation Delays */
.animate-fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.animate-fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.animate-fade-in-up:nth-child(6) { animation-delay: 0.6s; }
.animate-fade-in-up:nth-child(7) { animation-delay: 0.7s; }

/* Modern Animations for Homepage */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(197, 48, 48, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(197, 48, 48, 0.6);
    }
}

/* Animation Classes */
.animate-slide-in-left {
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-in-right {
    animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-rotate-in {
    animation: rotateIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-flip-in {
    animation: flipIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-zoom-in {
    animation: zoomIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    animation: typewriter 3s steps(40, end), blink 0.75s step-end infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Staggered Animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

/* Enhanced Card Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.neon-glow {
    box-shadow: 0 0 20px rgba(197, 48, 48, 0.3);
    transition: all 0.4s ease;
}

.neon-glow:hover {
    box-shadow: 0 0 40px rgba(197, 48, 48, 0.6);
}

/* Modern Stage Card Enhancements */
.stage-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    position: relative;
    overflow: hidden;
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.stage-card:hover::before {
    left: 100%;
}

.stage-card:hover {
    transform: translateY(-12px) scale(1.03) rotateY(5deg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

/* Enhanced Etap Cards */
.etap-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.etap-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(197, 48, 48, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.etap-card:hover::after {
    opacity: 1;
}

.etap-card:hover {
    transform: translateY(-8px) scale(1.02) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Floating Elements */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

.float-animation:nth-child(2n) {
    animation-delay: -2s;
}

.float-animation:nth-child(3n) {
    animation-delay: -4s;
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll;
    }
    
    .stage-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    .etap-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}