/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f6f8;
}

/* ========================= HEADER ========================= */
header {
    background: #1a73e8;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Menu Toggle */
#menu-toggle {
    display: none;
    background: #fff;
    color: #1a73e8;
    font-size: 22px;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffeb3b;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #1a73e8;
        padding: 15px;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
    }
    nav ul.show-menu {
        display: flex;
    }
    #menu-toggle {
        display: block;
    }
    .site-title {
        font-size: 20px;
    }
}

/* ========================= USER BLOCK ========================= */
.user-block {
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px auto;
    max-width: 700px;
    border-radius: 8px;
}

.user-block h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.user-block p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.user-block input {
    width: 80%;
    max-width: 350px;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.buttons button {
    margin: 5px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #1a73e8;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.buttons button:hover {
    background-color: #0f5bb5;
}

/* ========================= WEB INFO BLOCK ========================= */
.web-info {
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
}

.web-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #222;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-box {
    width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 16px;
    color: #555;
}

/* ========================= COURT LIST ========================= */
.court-list {
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.court-list h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.court-list ul {
    list-style: none;
    columns: 2;
    padding: 0;
}

.court-list ul li {
    padding: 8px 0;
    font-size: 18px;
    color: #444;
}

/* ========================= FOOTER ========================= */
footer {
    text-align: center;
    padding: 15px;
    background: #333;
    color: #fff;
    margin-top: 20px;
}

.footer-links a {
    color: #ffeb3b;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}


/* Navbar Base */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1976d2;
    padding: 10px 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.site-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Menu Icon for Mobile */
.menu-icon {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #1976d2;
        width: 200px;
        border-radius: 6px;
        padding: 10px;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links li {
        margin-bottom: 10px;
    }
}
