body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('spor-salonu.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

header {
    background-color: rgba(0, 71, 171, 0.8);
    color: white;
    text-align: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo {
    height: 80px;
}

.main-menu {
    background-color: rgba(255, 0, 0, 0.8);
    padding: 10px 0;
}

.main-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-menu ul li {
    position: relative;
    margin: 0 10px;
}

.main-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: red;
    z-index: 1;
    top: 40px;
    left: 0;
    min-width: 200px;
}

.dropdown-content a {
    padding: 10px;
    display: block;
    color: white;
    text-align: left;
    border-top: 1px solid white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    padding: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

footer {
    background-color: rgba(0, 71, 171, 0.8);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    flex-wrap: wrap;
}

.intro-section {
    text-align: center;
    margin-top: 40px;
}

.section-title {
    font-size: 36px;
    color: #e60000;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 18px;
    color: #333;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.table-img {
    width: 300px;
    height: auto;
    margin: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.table-img:hover {
    transform: scale(1.05);
}

.image-container {
    text-align: center;
    padding-top: 20px;
}

.image-container img {
    width: 20%;
    margin: 6px;
    border-radius: 5px;
}

.small-img {
    width: 150px;
}

.social-icons {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.social-icons a {
    color: white;
    margin: 0 15px;
    font-size: 24px;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: #FFD700;
    transform: scale(1.2);
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: #0047ab;
    color: white;
    border: none;
    outline: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    display: none;
}

#scrollToTopBtn:hover {
    background-color: #e60000;
}

/* ===== Giriş / Kayıt Formu Stil ===== */

.form-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    text-align: center;
}

.form-container h2 {
    margin-bottom: 20px;
    color: white;
}

.form-container input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.form-container button {
    padding: 10px 20px;
    border: none;
    background-color: #e60000;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.form-container button:hover {
    background-color: #cc0000;
}

.form-container a {
    color: #FFD700;
    text-decoration: underline;
}

.success {
    color: #00ff00;
    font-weight: bold;
}

.error {
    color: #ff3333;
    font-weight: bold;
}
