/*
Theme Name: Melbourne Sanatan Sports Club
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #001e62;
    --accent-red: #e63946;
    --accent-gold: #fbbf24;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background: var(--white);
}

/* Header & Navigation */
header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--white);
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin: 0;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #003a9f 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '⚽';
    position: absolute;
    font-size: 400px;
    opacity: 0.05;
    top: -100px;
    right: -100px;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    background: var(--accent-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Main */
main {
    min-height: 400px;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 1rem auto 0;
}

/* About Section */
.section-about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--accent-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.highlight {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.highlight h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.highlight p {
    font-size: 1rem;
    margin: 0;
}

/* Sporting Activities Section */
.section-activities {
    background: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.activity-card {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.activity-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soccer-placeholder {
    background: linear-gradient(135deg, #e63946 0%, #f77f88 100%);
}

.netball-placeholder {
    background: linear-gradient(135deg, #fbbf24 0%, #fccf5c 100%);
}

.placeholder-content {
    text-align: center;
    color: var(--white);
    font-size: 4rem;
}

.placeholder-icon {
    display: inline-block;
    opacity: 0.8;
}

.activity-content {
    padding: 2rem;
}

.activity-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--accent-red);
    padding-bottom: 0.5rem;
}

.activity-content p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.activity-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.section-contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-red);
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item label {
    display: block;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.contact-item a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.location-info {
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.location-info h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.location-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Locations Section */
.section-locations {
    background: var(--light-gray);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent-red);
}

.location-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.location-card p {
    color: #555;
    margin-bottom: 0.8rem;
}

.location-card strong {
    color: var(--accent-red);
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0.5rem 0;
}

footer .year {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        position: relative;
    }

    .logo-text {
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 300px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    .main-nav ul li {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        font-size: 1rem;
        display: block;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .activity-image {
        height: 200px;
    }

    .activity-content {
        padding: 1.5rem;
    }

    .activity-content h3 {
        font-size: 1.3rem;
    }

    .activity-content p {
        font-size: 0.95rem;
    }

    section {
        padding: 2rem 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .contact-info,
    .location-info {
        padding: 1.5rem;
    }

    .location-card {
        padding: 1.5rem;
    }

    .placeholder-icon {
        font-size: 3rem;
    }
}
