/* 2003 Retro Style */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

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

body {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    background: linear-gradient(180deg, #000066 0%, #000033 50%, #000066 100%);
    background-attachment: fixed;
    color: #ffff00;
    min-height: 100vh;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">🍚</text></svg>'), auto;
    overflow-x: hidden;
}

/* Köri sayfası için tam sayfa arka plan */
body.kori-page {
    background-image: url('images/kori.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Starfield Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 250px 160px, white, transparent),
        radial-gradient(2px 2px at 300px 100px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 350px 60px, white, transparent),
        radial-gradient(2px 2px at 400px 140px, rgba(255,255,255,0.8), transparent);
    background-size: 400px 200px;
    animation: twinkle 4s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Köri sayfasında yıldız arka planını gizle */
body.kori-page::before {
    display: none;
}

/* Ayran sayfası için tam sayfa arka plan */
body.ayran-page {
    background-image: url('images/ayran.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Ayran sayfasında yıldız arka planını gizle */
body.ayran-page::before {
    display: none;
}

/* Mayonez sayfası için tam sayfa arka plan */
body.mayonez-page {
    background-image: url('images/mayonez.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Mayonez sayfasında yıldız arka planını gizle */
body.mayonez-page::before {
    display: none;
}

/* Köri sayfasında tam ekran görsel - en boy oranı bozuk */
.kori-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: none;
    object-position: center;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    /* En-boy oranını boz */
    transform: scaleX(1.3) scaleY(0.8);
}

/* Ayran sayfasında tam ekran görsel - en boy oranı bozuk */
.ayran-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: none;
    object-position: center;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    /* En-boy oranını boz */
    transform: scaleX(1.3) scaleY(0.8);
}

/* Mayonez sayfasında tam ekran görsel - en boy oranı bozuk */
.mayonez-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: none;
    object-position: center;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    /* En-boy oranını boz */
    transform: scaleX(1.3) scaleY(0.8);
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Main Table */
.main-table {
    width: 100%;
    border-collapse: collapse;
}

.header-cell {
    background: linear-gradient(180deg, #ff0000, #990000, #ff0000);
    padding: 20px;
    text-align: center;
    border: 4px ridge #ffcc00;
}

.stars {
    color: #ffff00;
    font-size: 20px;
    letter-spacing: 10px;
    text-shadow: 0 0 10px #ffff00;
    animation: glow 1s ease-in-out infinite alternate;
}

.slogan {
    font-size: 22px;
    color: #00ffff;
    font-weight: bold;
    margin: 5px 0 10px 0;
    text-shadow:
        2px 2px 0 #000,
        0 0 10px #00ffff,
        0 0 20px #00ffff;
    animation: slogan-pulse 1.5s ease-in-out infinite;
}

@keyframes slogan-pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 2px 2px 0 #000, 0 0 10px #00ffff, 0 0 20px #00ffff;
    }
    50% {
        transform: scale(1.05);
        text-shadow: 2px 2px 0 #000, 0 0 20px #00ffff, 0 0 40px #00ffff;
    }
}

@keyframes glow {
    from { text-shadow: 0 0 5px #ffff00, 0 0 10px #ffff00; }
    to { text-shadow: 0 0 20px #ffff00, 0 0 30px #ff8800; }
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
    text-transform: uppercase;
}

.main-title .letter {
    display: inline-block;
    animation: rainbow 2s linear infinite;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
}

.main-title .space {
    display: inline-block;
    width: 20px;
}

.main-title .letter:nth-child(1) { animation-delay: 0s; }
.main-title .letter:nth-child(2) { animation-delay: 0.1s; }
.main-title .letter:nth-child(3) { animation-delay: 0.2s; }
.main-title .letter:nth-child(4) { animation-delay: 0.3s; }
.main-title .letter:nth-child(5) { animation-delay: 0.4s; }
.main-title .letter:nth-child(6) { animation-delay: 0.5s; }
.main-title .letter:nth-child(7) { animation-delay: 0.6s; }
.main-title .letter:nth-child(9) { animation-delay: 0.7s; }
.main-title .letter:nth-child(10) { animation-delay: 0.8s; }
.main-title .letter:nth-child(11) { animation-delay: 0.9s; }
.main-title .letter:nth-child(12) { animation-delay: 1.0s; }
.main-title .letter:nth-child(13) { animation-delay: 1.1s; }

@keyframes rainbow {
    0% { color: #ff0000; }
    14% { color: #ff8800; }
    28% { color: #ffff00; }
    42% { color: #00ff00; }
    57% { color: #00ffff; }
    71% { color: #0088ff; }
    85% { color: #ff00ff; }
    100% { color: #ff0000; }
}

/* Marquee */
.marquee-container {
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
    padding: 10px 0;
    overflow: hidden;
    border-top: 3px ridge #ffcc00;
    border-bottom: 3px ridge #ffcc00;
}

.marquee-content {
    display: flex;
    animation: scroll 15s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-shadow: 1px 1px 0 #fff;
    padding-right: 50px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-reverse .marquee-content {
    animation: scroll-reverse 15s linear infinite;
}

@keyframes scroll-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-bottom {
    background: linear-gradient(90deg, #00ff00, #ffff00, #00ff00);
}

/* Content Table */
.content-table {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: separate;
    border-spacing: 10px;
}

.sidebar-left, .sidebar-right {
    width: 150px;
    vertical-align: top;
}

.sidebar-box {
    background: linear-gradient(180deg, #330066, #000033);
    border: 3px outset #9999ff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    color: #00ffff;
    border-bottom: 2px dashed #00ffff;
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #00ffff;
}

.menu-list {
    list-style: none;
    text-align: left;
}

.menu-list li {
    margin: 8px 0;
}

.menu-list a {
    color: #ff9900;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.menu-list a:hover {
    color: #ffff00;
    text-decoration: underline;
    text-shadow: 0 0 10px #ffff00;
}

.visitor-counter, .guestbook {
    margin-top: 20px;
    padding: 10px;
    background: #000;
    border: 2px inset #666;
}

.counter-title {
    font-size: 10px;
    color: #00ff00;
    margin-bottom: 5px;
}

.counter-number {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    color: #00ff00;
    background: #001100;
    padding: 5px;
    border: 1px inset #003300;
    letter-spacing: 3px;
}

.guestbook-link {
    display: inline-block;
    color: #ff00ff;
    text-decoration: none;
    font-size: 14px;
    margin-top: 5px;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Main Content */
.main-content {
    vertical-align: top;
}

.content-box {
    background: linear-gradient(180deg, #003366, #001133, #003366);
    border: 4px ridge #6699ff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #000, 0 0 10px #ff6600;
}

.blink {
    animation: blink 0.5s step-end infinite;
    color: #ff0000;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.video-container {
    background: #000;
    padding: 10px;
    border: 3px inset #999;
    display: inline-block;
}

.video-container iframe {
    display: block;
    max-width: 100%;
}

.under-construction {
    margin-top: 20px;
    font-size: 18px;
    color: #ffff00;
    animation: blink 1s step-end infinite;
}

.construction-icon {
    font-size: 24px;
}

/* Köri Image */
.kori-image-container {
    background: #000;
    padding: 15px;
    border: 4px ridge #ffcc00;
    display: inline-block;
    margin: 20px 0;
}

.kori-image {
    width: 600px;
    height: 400px;
    object-fit: cover;
    border: 3px inset #999;
    display: block;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.back-link {
    display: inline-block;
    color: #00ffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    background: linear-gradient(180deg, #330066, #000033);
    border: 3px outset #9999ff;
    border-radius: 10px;
    transition: all 0.3s;
}

.back-link:hover {
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00;
    border-color: #ffcc00;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #333, #000);
    border-top: 4px ridge #666;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.footer-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.ie-logo {
    font-size: 14px;
    color: #00aaff;
    font-weight: bold;
    margin: 10px 0;
}

.copyright {
    font-size: 11px;
    color: #666;
    margin: 10px 0;
}

.email {
    font-size: 14px;
    color: #00ff00;
}

/* Responsive */
@media (max-width: 800px) {
    .content-table {
        display: block;
    }

    .content-table tr {
        display: block;
    }

    .sidebar-left, .sidebar-right, .main-content {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .main-title {
        font-size: 28px;
    }

    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

