/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #007BFF;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header and Navigation */
header {
    background-color: #222;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #007BFF;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: url('img1.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
    color: #fff;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #007BFF;
    padding: 10px 20px;
    border: 2px solid #007BFF;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #007BFF;
    color: #fff;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
    gap: 20px;
}

.feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    flex: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Page Headers */
.page-header {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

/* Reviews List */
.reviews-list, .tournaments-list {
    margin: 40px auto;
}

.review-card, .tournament-card {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.review-img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.review-content {
    flex: 1;
}

.meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* Tournaments */
.tournament-card {
    flex-direction: column;
}

.tournament-details {
    margin: 15px 0;
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #007BFF;
}

/* Forms */
.newsletter, .registration {
    background: #fff;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 500px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-family: inherit;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.hidden {
    display: none;
}

#form-message, #contact-message {
    margin-top: 15px;
    color: green;
    font-weight: bold;
}

/* Legal Content */
.legal-content {
    background: #fff;
    padding: 40px;
    margin: 40px auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.legal-content h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #222;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .features {
        flex-direction: column;
    }

    .review-card {
        flex-direction: column;
    }

    .review-img {
        width: 100%;
        height: 200px;
    }
}
