@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

* {
    -webkit-user-select: none !important; /* Safari */
    -moz-user-select: none !important; /* Firefox */
    -ms-user-select: none !important; /* IE 10+ */
    user-select: none !important; /* Standard */
}

#canvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.buttons {
    margin-top: 30px;
}

.btn {
    text-decoration: none;
    color: #fff;
    background-color: #8a2be2;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #7324b8;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #8a2be2;
}

.btn-secondary:hover {
    background-color: #8a2be2;
}

.services-section {
    padding: 100px 0;
    text-align: center;
    background-color: transparent;
    min-height: 100vh; /* Tam ekran yüksekliği */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}



.services-section h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    font-size: 3em;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    gap: 30px;
}



.service-box {
    text-align: center;
    padding: 50px 30px;
    border: 1px solid #333;
    border-radius: 10px;
    flex-basis: 300px;
    flex-grow: 1;
    max-width: 350px;
    transition: transform 0.5s, box-shadow 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box.ajans:hover {
    box-shadow: 0 0 30px 5px #00aaff;
}

.service-box.haber:hover {
    box-shadow: 0 0 30px 5px #ff0000;
}

.service-box.akademi:hover {
    box-shadow: 0 0 30px 5px #ffaa00;
}

.service-box h2 {
    font-size: 3rem;
    margin: 0;
    font-weight: normal;
}

.service-box h3 {
    font-size: 2.5rem;
    margin: 10px 0 30px 0;
}

.service-box .ajans {
    color: #00aaff;
}

.service-box .haber {
    color: #ff0000;
}

.service-box .akademi {
    color: #ffaa00;
}

.service-box img {
    margin-bottom: 30px;
}



.video-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.video-popup-content {
    position: relative;
    padding: 20px;
    width: 80%;
    max-width: 700px;
}

.close-btn {
    color: #fff;
    position: absolute;
    top: -25px;
    right: -10px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Glitch Efekti Kaldirildi */

#dynamic-text {
    font-size: 2rem;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    animation: blink-caret .75s step-end infinite;
    display: inline-block;
    vertical-align: bottom;
}

.hero-content {
    text-align: center;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgba(255, 255, 255, 0.75); }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
        flex-basis: auto;
    }
}

footer {
    padding: 20px 0;
    text-align: center;
}

.social-media-icons a {
    color: #fff;
    margin: 0 15px;
    font-size: 2rem;
    transition: color 0.3s;
}

.social-media-icons a:hover {
    color: #8a2be2;
}

.server-stats-button-container {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .server-stats-button-container {
        display: none;
    }
}

.server-stats-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.server-stats-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}