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

@font-face {
    font-family: 'Mine_Player';
    src: url('../fonts/mine_player.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary-color: #4a6cf7;
    --secondary-color: #1e293b;
    --text-color: #ffffff;
    --background-color: #0f172a;
    --accent-color: #53FC18; /* Yeşil renk değiştirildi */
    --accent-color-light: #7AFF4D; /* Açık yeşil renk değiştirildi */
    --accent-color-dark: #3CD600; /* Koyu yeşil renk değiştirildi */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Raleway', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--background-color);
    height: 100vh;
    cursor: url('../images/kazma.png') 0 0, auto;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    width: 0%;
    transition: width 0.3s ease;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.scroll-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
}

.scroll-marker {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-marker::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translateX(-50%);
}

.scroll-marker.active::before {
    background-color: var(--accent-color);
    transform: translateX(-50%) scale(1.5);
}

.scroll-marker:hover::before {
    background-color: var(--accent-color-light);
}

/* Sosyal medya ikonları için özel stiller */
.social-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 5px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    opacity: 1;
}

.social-icon:hover img {
    transform: scale(1.2);
}

/* Mobil uyumluluk için güncelleme */
@media (max-width: 768px) {
    .social-links {
        gap: 15px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
}

/* Logo */
.logo {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    width: 250px;
    height: auto;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.logo img {
    width: 100%;
    height: auto;
}

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

/* İlk bölümü varsayılan olarak görünür yap */
#anasayfa {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 1;
    pointer-events: auto;
    background-image: url('../images/arka.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Sayfa geçiş efektleri */
.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 20px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.1) 0%, rgba(30, 41, 59, 0.1) 100%);
    opacity: 0;
    transition: opacity 1.2s ease;
}

.section.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 1;
    pointer-events: auto;
}

.section.active::before {
    opacity: 1;
}

.section:nth-child(odd) {
    background-color: var(--primary-color);
}

.section:nth-child(even) {
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0;
    padding: 0 20px 0 100px;
    position: relative;
    z-index: 2;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 700px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.content-wrapper.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

h1 {
    font-family: 'Mine_Player', sans-serif;
    font-size: 5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

h2 {
    font-family: 'Mine_Player', sans-serif;
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

p {
    font-family: 'Raleway', 'Arial', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.slogan {
    font-family: 'Raleway', 'Arial', sans-serif;
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--accent-color-dark);
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: 800px;
}

.highlight {
    color: var(--accent-color);
}

/* Buton stilleri güncellendi */
.button {
    display: inline-block;
    padding: 15px 30px;
    background-image: url('../images/buttons.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: #000000; /* Yazı rengi siyah olarak değiştirildi */
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 200px; /* Buton genişliği artırıldı */
    height: 60px; /* Buton yüksekliği */
    line-height: 30px; /* Metin dikey hizalama */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
}

.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2); /* Hover durumunda parlaklık artışı */
}

/* Arka plan görselleri */
#hakkimizda {
    background-image: url('../images/arka1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#topluluk {
    background-image: url('../images/arka2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#etkinlikler {
    background-image: url('../images/arka3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#iletisim {
    background-image: url('../images/arka4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ekip üyeleri için stiller */
.team-images {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
    padding: 20px;
    justify-content: center;
    height: 100%;
}

.team-member {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(139, 195, 74, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    text-decoration: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.team-member:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 195, 74, 0.5);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.team-member:hover img {
    transform: scale(1.1);
}

.member-name {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(15, 23, 42, 0.8);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member:hover .member-name {
    opacity: 1;
    bottom: -25px;
}

/* Mobil uyumluluk için güncelleme */
@media (max-width: 768px) {
    .team-images {
        right: 20px;
        gap: 20px;
    }
    
    .team-member {
        width: 80px;
        height: 80px;
    }
    
    .member-name {
        font-size: 12px;
        padding: 3px 10px;
    }
}

/* Link stilleri */
a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-light);
}

/* Parallax Image */
.parallax-image {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 200px;
    height: 200px;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.parallax-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

.section.active .parallax-image img {
    animation: float 6s ease-in-out infinite;
}

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

/* Üst Navigasyon Çizgisi */
.top-nav-line {
    position: fixed;
    top: 60px;
    left: 100px;
    width: 800px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.top-nav-links {
    position: fixed;
    top: 20px;
    left: 100px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    z-index: 1000;
}

.top-nav-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 3px;
    font-family: 'Mine_Player', sans-serif;
}

.top-nav-link:hover {
    color: var(--accent-color);
}

.top-nav-link.active {
    color: var(--accent-color);
}

/* Minecraft Kırma Efekti */
.breaking-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.breaking-effect.active {
    display: block;
}

.breaking-crack {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url('../images/crack.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.breaking-crack.active {
    opacity: 1;
}

.breaking-crack-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.breaking-crack-item {
    position: absolute;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: none !important;
    transition: opacity 0.3s ease;
}

.breaking-crack-item.active {
    opacity: 1;
}

/* 4 farklı gri tonu için sınıflar - sabit renkler */
.breaking-crack-item.color-1 {
    background-color: rgba(0, 0, 0, 0.9);
}

.breaking-crack-item.color-2 {
    background-color: rgba(50, 50, 50, 0.8);
}

.breaking-crack-item.color-3 {
    background-color: rgba(100, 100, 100, 0.7);
}

.breaking-crack-item.color-4 {
    background-color: rgba(150, 150, 150, 0.6);
}

.breaking-explosion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10000;
}

.breaking-explosion.active {
    opacity: 1;
}

/* Kazma Sayacı */
.pickaxe-counter {
    position: fixed;
    top: 100px;
    right: 30px;
    transform: none;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    flex-direction: row;
    gap: 10px;
}

.diamond-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.counter-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
}

.player-name-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.player-name-input {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    padding: 8px 12px;
    color: var(--text-color);
    font-size: 16px;
    width: 200px;
    outline: none;
    transition: all 0.3s ease;
}

.player-name-input:focus {
    border-color: var(--accent-color-light);
    box-shadow: 0 0 10px rgba(83, 252, 24, 0.3);
}

.player-name-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.save-score-btn {
    background-color: var(--accent-color);
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-score-btn:hover {
    background-color: var(--accent-color-light);
    transform: translateY(-2px);
}

.save-score-btn:active {
    transform: translateY(0);
} 