body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bayrak.gif'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(220, 20, 60, 0.4);
    z-index: -1;
}

.site-header {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-header h1 {
    margin: 0;
    font-size: 2.2em;
    letter-spacing: 1px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ADD8E6;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.welcome-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 800px;
    margin-bottom: 20px;
}
.welcome-heading {
    color: #8B0000;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.container-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 20px;
}

.form-container, .social-container {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.contact-form h2 { color: #8B0000; font-size: 2.5em; text-align: center; margin-bottom: 10px; }
.contact-form p { text-align: center; margin-bottom: 25px; color: #555; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; }
.contact-form button { width: 100%; padding: 15px; background-color: #8B0000; color: white; border: none; border-radius: 8px; font-size: 1.1em; cursor: pointer; transition: background-color 0.3s; }
.contact-form button:hover { background-color: #A52A2A; }

.social-info h2 { color: #8B0000; font-size: 2.5em; text-align: center; margin-bottom: 10px; }
.social-info p { text-align: center; margin-bottom: 25px; color: #555; }
.social-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.social-button {
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: bold;
    color: white;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    flex-basis: calc(50% - 10px);
    box-sizing: border-box;
}
.social-button:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); }
.roblox { background-color: #4A90E2; }
.discord { background-color: #7289DA; }
.youtube { background-color: #FF0000; }
.tiktok { background-color: #000000; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #8a3ab9); }

.feedback-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
}
.feedback-form p { color: #555; margin-bottom: 15px; }
.feedback-form textarea, .feedback-form select { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; }
.rating-section { margin-bottom: 15px; }
.stars { display: inline-block; direction: rtl; unicode-bidi: bidi-override; }
.stars input { display: none; }
.stars label { color: #ccc; cursor: pointer; font-size: 2em; transition: color 0.2s; }
.stars label:hover,
.stars label:hover ~ label { color: #FFD700; }
.stars input:checked ~ label { color: #FFD700; }

.team-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.team-section h2 { color: #8B0000; font-size: 2.5em; text-align: center; margin-bottom: 30px; }
.team-section h3 { color: #1a237e; font-size: 1.8em; text-align: center; margin-bottom: 15px; }
.team-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}
.team-card {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    box-sizing: border-box;
    transition: transform 0.3s;
}
.team-card:hover { transform: scale(1.05); }
.team-card h3 { color: #333; margin: 0; font-size: 1.5em; }
.team-card p { color: #666; margin: 5px 0 0; font-style: italic; }

.about-us-section, .faq-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.about-us-section h2, .faq-section h2 { color: #8B0000; font-size: 2em; text-align: center; margin-bottom: 25px; }
.faq-item { margin-bottom: 20px; }
.faq-item h3 { color: #1a237e; font-size: 1.5em; margin-bottom: 5px; }
.faq-item p { line-height: 1.6; }

/* Galeri Bölümü Stilleri */
.gallery-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
}
.gallery-section h2 { color: #8B0000; font-size: 2.5em; margin-bottom: 15px; }
.gallery-section p { color: #555; margin-bottom: 30px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive ızgara */
    gap: 20px;
    justify-content: center;
}
.gallery-item {
    background-color: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img {
    width: 100%;
    height: 200px; /* Sabit yükseklik */
    object-fit: cover; /* Resmin kutuya sığmasını sağlar */
    display: block;
}
.gallery-caption {
    padding: 15px;
    font-size: 0.9em;
    color: #444;
    background-color: #fff;
    text-align: center;
}

.site-footer {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    margin-top: auto;
    z-index: 10;
}
.site-footer a { color: #ADD8E6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Küçük ekranlar için responsive ayarlar */
@media (max-width: 900px) {
    .site-header h1 { font-size: 1.8em; }
    .main-nav ul { gap: 10px; }
    .main-nav a { font-size: 1em; }
    .main-content { padding: 10px; }
    .container-wrapper { flex-direction: column; gap: 20px; }
    .form-container, .social-container, .team-section, .feedback-section, .about-us-section, .faq-section, .gallery-section { width: 100%; }
    .social-buttons-grid { flex-direction: column; gap: 10px; }
    .social-button { flex-basis: 100%; }
    .gallery-grid { grid-template-columns: 1fr; } /* Küçük ekranlarda tek sütun */
}