/* Tekrar eden parcalar: sunucu karti, kisi karti, ozellik ve showcase ogeleri. */

/* Okunabilirlik: paragraf ve içerik metni en az 16px (1rem) */
p, .description-text, .help-text, .server-description, .server-status-text,
.server-gamemode, .showcase-description, .feature-description, .help-text-container .help-text {
    font-size: 1rem;
}
.people {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}
.person-card-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
.person-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}
.person-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}
.person-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}
.person-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
.server-card {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: clamp(520px, 70vh, 900px) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    flex-direction: column !important;
    background-image: var(--server-bg, url('https://wallpapers.com/images/hd/scp-facility-monochrome-q8a4bdb4jne89gn1.jpg')) !important;
    background-size: cover !important;
    background-position: var(--server-bg-pos, center center) !important;
    background-repeat: no-repeat !important;
    background-color: #0a0a0f !important;
    margin: 0 !important;
    left: 50%;
    transform: translateX(-50%);
}

/* Blur alanı */
.server-content-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

/* İçerik - blur'un içinde */
.server-content {
    position: relative;
    z-index: 2;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 8vw, 6rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
}
.server-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    width: 100%;
}
.server-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.server-name-logo {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.server-logo-blur {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
}
.server-description {
    color: #fff;
    font-size: 1.1rem;
    margin: 1.5rem 0 0 0;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
    max-width: 900px;
}
.server-status-text {
    color: #fff;
    font-size: 1rem;
    margin: 1rem 0 2rem 0;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.server-info {
    text-align: left;
}
.server-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.server-gamemode {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}
.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 350px;
    max-width: 400px;
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-sizing: border-box;
}
.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}
.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 0.4rem;
    display: block;
    filter: brightness(0) invert(1);
}
.feature-icon-svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon-svg svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
.showcase-item {
    margin-bottom: 5rem;
    position: relative;
}
.showcase-item:last-child {
    margin-bottom: 0;
}
.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.showcase-text {
    color: #ffffff;
}
.showcase-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.showcase-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}
.showcase-video {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.showcase-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Alternate layout for showcase items */
.showcase-item:nth-child(even) .showcase-content {
    direction: rtl;
}
.showcase-item:nth-child(even) .showcase-content > * {
    direction: ltr;
}

/* Team Section */
.team-section {
    padding: 5rem 2rem;
    background: #0a0a0f;
}
.team-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
    .people {
        gap: 1.5rem;
        padding: 1rem 0;
    }
    .person-card {
        min-width: 180px;
        padding: 1.2rem;
    }
    .server-card {
        min-height: 600px !important;
    }
    .server-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .server-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-left: 1rem;
    }
    .server-header h3 {
        font-size: 1.5rem;
    }
    .server-description {
        font-size: 1rem;
        padding-left: 1rem;
        margin-top: 1rem;
    }
    .server-status-text {
        padding-left: 1rem;
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .people {
        gap: 1rem;
    }
    .person-card {
        min-width: 150px;
        padding: 1rem;
    }
    .person-avatar {
        width: 120px;
        height: 120px;
    }
    .person-name {
        font-size: 1.2rem;
    }

    /* Server cards küçük ekran */
    .server-card {
        min-height: 500px !important;
    }
    .server-content {
        padding: 1rem;
        gap: 1rem;
    }
    .server-header h3 {
        font-size: 1.2rem;
    }
    .server-description {
        font-size: 1rem;
        padding-left: 0.5rem;
    }
    .server-status-text {
        padding-left: 0.5rem;
        font-size: 1rem;
    }
}


@media (max-width: 1024px) {
    .server-card {
        min-height: clamp(480px, 65vh, 820px) !important;
    }
    .server-content {
        padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 6vw, 3.5rem);
        gap: 1.75rem;
    }
}


@media (max-width: 768px) {
    .server-card {
        min-height: clamp(420px, 75vh, 700px) !important;
    }
    .server-content {
        padding: clamp(1.8rem, 6vw, 2.4rem) clamp(1.25rem, 7vw, 2rem);
        gap: 1.5rem;
    }
    .server-header {
        padding-left: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .server-description,
    .server-status-text {
        margin-left: 0;
        max-width: 100%;
    }
    .server-name-logo {
        max-height: 120px;
    }
}


@media (max-width: 480px) {
    .server-card {
        min-height: clamp(380px, 80vh, 600px) !important;
    }
    .server-content {
        padding: clamp(1.4rem, 6vw, 1.8rem) clamp(1rem, 7vw, 1.6rem);
        gap: 1.25rem;
    }
    .server-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    .server-status-text {
        font-size: 1rem;
    }
    .server-name-logo {
        max-height: 100px;
    }
}


@media (max-width: 768px) {
    .showcase-item {
        margin-bottom: 3rem;
    }
    .showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .showcase-title {
        font-size: 1.5rem;
    }
    .showcase-description {
        font-size: 1rem;
    }
    .showcase-item:nth-child(even) .showcase-content {
        direction: ltr;
    }
    .feature-item {
        min-width: 200px;
        max-width: 250px;
        width: 220px;
        padding: 1rem;
    }
}


@media (max-width: 480px) {
    .feature-item {
        min-width: 180px;
        max-width: 220px;
        width: 200px;
        padding: 0.9rem;
    }
}
