* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive;
}

@keyframes popAndFade {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.5) rotate(10deg); opacity: 0.5; }
    100% { transform: scale(2) rotate(20deg); opacity: 0; }
}

@keyframes pixel-explosion {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx, 50px), var(--ty, 50px)) scale(0); opacity: 0; }
}

@keyframes float-up {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes rainbow-bg {
    0% { background-color: #ff0000; }
    17% { background-color: #ff8000; }
    33% { background-color: #ffff00; }
    50% { background-color: #00ff00; }
    67% { background-color: #0000ff; }
    83% { background-color: #8000ff; }
    100% { background-color: #ff0000; }
}

.pixel-particle {
    --tx: random(-50px, 50px);
    --ty: random(-50px, 50px);
    pointer-events: none;
}

/* New Twitter Bar Styles */
.twitter-bar {
    background: #1DA1F2; /* X's brand color */
    padding: 20px 5%;
    text-align: center;
    border-top: 4px solid black;
    border-bottom: 4px solid black;
}

.twitter-content {
    max-width: 800px;
    margin: 0 auto;
}

.twitter-bar h3 {
    color: white;
    font-size: 14px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.twitter-follow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: white;
    border: 4px solid black;
    color: #1DA1F2;
    text-decoration: none;
    transition: all 0.3s;
}

.twitter-follow:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.8);
    color: #000;
}

.twitter-icon {
    vertical-align: middle;
}

body {
    background-color: white;
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAABp0lEQVR4nO2XP0vDQBjGn0ZBcHLUwRA6OLq4OPkBdHASv4HgJzB+AUcHwU+giIOTs4vo4OSgg4M4OIiU0kJpS/9oex7vQppcker1mvQG8cJvSO7y/p57c7nLGUURUcSyLLJtmxzHoXq9TvV6nRzHIdM0SZZlchwn8gw55wQAhBBQFAU8z0Mul0M2m0U2m4XneZBlGYQQ+L4f+gwxDMZYBQAsy0I6nUYqlYJpmkin09B1HZqmwbbtSDEiG2iappLP51EqlVAoFFAoFFAqlZDP56FpWmwDsixD13Xoug5FUaAoCnRdh6ZpkGU5tgEAEEJACIEQIrSBVruNdruNTqeDbreLoaEhFAoFjIyMYHx8HJOTk5iamopsgDHWBwClFGNjYxgdHcXExARmZ2dRrVaxvb2Nvb09HB0d4fT0FI1GA81mE0KI0GYiGwAAzjlUVcX8/DyWl5exubmJvb097O/v4/j4GGdnZ7i4uMD19TWen5/x8fGB7+/v0GZiGQAAxhhGRkawsLCA1dVVbGxsYGdnB4eHhzg5OUGtVsPl5SVub2/R6/Xw+fkZ2kgsA38F5xye50FVVWiaBlVV4XkeOOehv/8XvwC1P+GQqHs4YQAAAABJRU5ErkJggg=='), auto;
}

.contact-section {
    text-align: center;
    padding: 50px 5%;
    background: white;
}

/* About Us Section Styles */
.about-section {
    text-align: center;
    padding: 50px 5%;
    background: #f0f0f0;
}

.about-text {
    max-width: 800px;
    margin: 20px auto;
    font-size: 12px;
    line-height: 1.6;
    color: #2C3E50;
}

/* Our Works Section Styles */
.works-section {
    text-align: center;
    padding: 50px 5%;
    background: white;
}

.works-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.work-item {
    width: 100%;
    max-width: 250px;
    padding: 20px;
    border: 4px solid black;
    background: #004cffd4;
    color: white;
    transition: all 0.3s;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.8);
}

.work-item h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.work-item p {
    font-size: 10px;
}

/* Footer Styles */
.footer {
    background: black;
    color: white;
    padding: 40px 5% 20px;
    border-top: 4px solid #004cffd4;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 14px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    font-size: 10px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #ffffff33;
}

.footer-bottom p {
    font-size: 10px;
    color: #ffffffcc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        font-size: 10px;
    }

    .work-item {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 12px;
    }

    .footer-section p {
        font-size: 8px;
    }

    .footer-bottom p {
        font-size: 8px;
    }

    .work-item {
        max-width: 150px;
    }

    .work-item h3 {
        font-size: 12px;
    }

    .work-item p {
        font-size: 8px;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: white;
    border-bottom: 4px solid black;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.head-title {
    text-align: center;
    padding: 120px 20px 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #2C3E50;
    max-width: 800px;
    margin: 0 auto;
}

.head-title .emoji {
    font-size: 24px;
    vertical-align: middle;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: black;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: #4ECDC4;
}

nav a:hover::after {
    content: '►';
    position: absolute;
    right: -20px;
    animation: bounce 0.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.services-tree {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    position: relative;
    margin-top: 50px;
}

.service-card {
    width: 100%;
    max-width: 250px;
    height: 180px;
    border: 4px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #004cffd4;
    position: relative;
    transition: all 0.3s;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateY(10deg);
    box-shadow: 10px 10px 0 rgba(0,0,0,0.8);
}

.service-card h3 {
    color: white;
    position: relative;
    z-index: 1;
    font-size: 14px;
    padding: 10px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.online-services {
    text-align: center;
    padding: 50px 5%;
}

.service-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.pixel-button {
    padding: 15px 30px;
    text-decoration: none;
    background: white;
    border: 4px solid black;
    font-family: 'Press Start 2P', cursive;
    cursor: inherit;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.pixel-button:visited {
    color: #2b6aff; /* Tıklanmış linkin rengini beyaz yap */
}

.pixel-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: 0.5s;
}

.pixel-button:hover::before {
    left: 100%;
}

.pixel-button::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    background: black;
    z-index: -1;
    transition: 0.2s;
}

.pixel-button:hover {
    transform: translate(2px, 2px);
    color: #2b6aff;
}

.contact-section {
    text-align: center;
    padding: 50px 5%;
    background: white;
}

.email-container {
    margin-top: 30px;
    display: inline-block;
    position: relative;
}

.email-mosaic {
    padding: 15px 30px;
    background: white;
    border: 4px solid black;
    position: relative;
    filter: blur(5px);
    transition: all 0.5s;
    cursor: pointer;
}

.email-mosaic.revealed {
    filter: blur(0);
    animation: glitch 0.005s steps(2) 3;
}

@keyframes glitch {
    0% { transform: translate(0); }
    25% { transform: translate(2px, 2px); }
    50% { transform: translate(-2px, -2px); }
    75% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

.email-mosaic::before {
    content: '🔒';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 1;
    transition: opacity 0.3s;
}

.email-mosaic.revealed::before {
    content: '🔓';
    opacity: 1;
}

@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .logo {
        font-size: 20px;
    }

    nav ul {
        gap: 10px;
    }

    .services-tree {
        padding: 10px;
    }

    .service-card {
        width: 100%;
        max-width: 200px;
        height: 150px;
    }

    .service-card h3 {
        font-size: 12px;
    }

    .service-buttons {
        gap: 15px;
    }

    .pixel-button {
        padding: 10px 20px;
    }

    .contact-section {
        padding: 40px 5%;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 5%;
    }

    .logo {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        gap: 5px;
    }

    .services-tree {
        padding: 10px;
    }

    .service-card {
        width: 100%;
        max-width: 150px;
        height: 120px;
    }

    .service-card h3 {
        font-size: 10px;
    }

    .service-buttons {
        gap: 10px;
    }

    .pixel-button {
        padding: 8px 16px;
    }

    .contact-section {
        padding: 30px 5%;
    }
}