/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2b004f; /* Dark purple background */
    color: white;
}

/* Navbar Styling */
header {
    background: #000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: black;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links .active {
    background: #ff4081;
    border-radius: 5px;
    color: black;
}

/* Special Join Button */
.join-btn {
    background: #ff4081;
    border-radius: 5px;
    padding: 10px 15px;
    color: black !important;
    font-weight: bold;
}

.join-btn:hover {
    background: #ff0055;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        text-align: center;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease-in-out;
    }

    .nav-links.active {
        max-height: 300px; /* Adjust height for smooth dropdown */
    }

    .nav-links li {
        padding: 10px 0;
    }

    .menu-icon {
        display: block;
    }
}

/* Tamil SA-MP Community Section */
.community-section {
    text-align: center;
    padding: 120px 20px 50px; /* Added top padding to push content down */
}

.community-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-info {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.community-info h2, .community-info h3 {
    color: #ff4081;
}

/* Fix Logo Size & Alignment */
.community-logo img {
    width: 200px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: black;
}
