@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Satisfy&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.back-button {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-button a {
    text-decoration: none;
    color: #000;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 2px;
}

.back-button a::before {
    content: '←';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.back-button a:hover {
    background: #000;
    color: #fff;
}

.back-button a:hover::before {
    transform: translateX(-5px);
}

.page-title {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;
    margin: 0;
    z-index: 100;
    color:#000;
    animation: fadeOut linear forwards;
    animation-timeline: scroll();
    animation-range: 0 100vh;
}
@keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.hero-slide {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 100px;
    left: 60px;
    z-index: 2;
    max-width: 800px;
}

.hero-text {
    position: relative;
}

.hero-number {
    font-size: 200px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    top: -100px;
    left: -20px;
    color: #fff;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #fff;
}

.hero-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.1);
}

.swiper-pagination {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    bottom: 40px !important;
    left: auto !important;
    right: 120px !important;
    width: auto !important;
}

.projects-container {
    padding: 100px 40px;
}

.project-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    position: relative;
}

.project-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-section:nth-child(odd) {
    flex-direction: row;
}

.project-section:nth-child(even) {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.8s ease;
}

.project-section:hover .project-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.project-info {
    flex: 1;
    padding: 60px;
}

.project-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.project-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.project-meta {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.project-location, 
.project-year {
    font-size: 12px;
    color: #000;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-number {
    position: absolute;
    font-size: 120px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.5s ease;
    mix-blend-mode: difference;
}

.project-section:nth-child(odd) .project-number {
    left: -20px;
    top: 0;
}

.project-section:nth-child(even) .project-number {
    right: -20px;
    top: 0;
}

.project-section:hover .project-number {
    color: rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

/* Responsive */
@media (max-width: 1024px) {
    .project-section {
        flex-direction: column !important;
        padding: 60px 0;
    }

    .project-image {
        width: 100%;
        height: 50vh;
    }

    .project-info {
        padding: 40px 0;
    }

    .project-number {
        font-size: 100px;
    }
    
    .project-section:nth-child(odd) .project-number,
    .project-section:nth-child(even) .project-number {
        left: -10px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 20px;
        top: 20px;
        mix-blend-mode: difference;
    }

    .back-button {
        bottom: 20px;
        left: 20px;
    }

    .projects-container {
        padding: 60px 20px;
    }

    .project-info h2 {
        font-size: 24px;
    }

    .project-info p {
        font-size: 14px;
    }

    .project-meta {
        gap: 20px;
    }

    .project-number {
        font-size: 80px;
    }
    
    .project-section:nth-child(odd) .project-number,
    .project-section:nth-child(even) .project-number {
        left: -5px;
    }

    .hero-content {
        left: 40px;
        bottom: 80px;
    }

    .hero-number {
        font-size: 100px;
        top: -60px;
        left: -10px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-meta {
        font-size: 12px;
        gap: 20px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .swiper-pagination {
        right: 80px !important;
        bottom: 30px !important;
    }

    .back-button a {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Hata Mesajları */
.error-message, 
.no-projects {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin: 20px;
}

.error-message {
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.1);
}
