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

:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --primary-blue: #08163E; /* Updated Official Blue Hex */
    --accent-red: #e31b23;   /* Bright Red Highlights */
    --bg-light: #f4f4f4;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #333;
    background-color: var(--primary-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--primary-blue);
    color: var(--primary-white);
    padding: 10px 0;
    border-bottom: 5px solid var(--accent-red);
    min-height: 180px; /* Increased to accommodate larger logo */
    display: flex;
    align-items: center;
}

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

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    height: 160px; /* Increased to fit larger logo */
}

.club-logo {
    width: 200px; /* Adjusted to be large but fit better */
    height: auto;
    margin-right: 20px;
}

.club-name {
    margin-left: 20px;
}

.club-name h1 {
    font-family: var(--font-heading);
    font-size: 32px; /* Increased to balance larger logo */
    letter-spacing: 1px;
    line-height: 1;
}

.club-name p {
    font-size: 16px; /* Increased to balance larger logo */
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--primary-white);
    text-decoration: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-red);
}

/* Hero Section */
#hero {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1511941059163-6d6346b92c0a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); /* Placeholder image of a field/sport */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--primary-white);
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 50px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 20px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary {
    background: var(--accent-red);
    color: var(--primary-white);
}

.btn-primary:hover {
    background: #a10c28;
}

.btn-secondary {
    background: var(--primary-black);
    color: var(--primary-white);
}

.btn-secondary:hover {
    background: #222;
}

/* Sections */
.section-padding {
    padding: 60px 0;
}

.bg-light {
    background: var(--bg-light);
}

.text-center {
    text-align: center;
}

h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

/* Registration Cards */
.registration-info {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

.info-card {
    background: var(--primary-white);
    padding: 30px;
    border-top: 5px solid var(--accent-red);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 30%;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
}

/* Team Grid */
.team-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.team-category {
    background: var(--bg-light);
    padding: 20px;
    width: 45%;
    border-left: 5px solid var(--primary-blue);
}

.team-category h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.team-category ul {
    list-style: none;
}

.team-category ul li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

/* Contact Flex */
.contact-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.contact-info {
    width: 45%;
}

.contact-info h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form-placeholder {
    width: 50%;
}

.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
}

textarea.form-control {
    height: 100px;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--primary-white);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--primary-white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 14px;
    color: #eee;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    .logo-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        margin-bottom: 10px;
    }
    .club-logo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 150px; /* Adjusted for mobile */
    }
    .club-name {
        margin-left: 0;
    }
    nav ul {
        margin-top: 15px;
    }
    .registration-info {
        flex-direction: column;
        align-items: center;
    }
    .info-card {
        width: 80%;
        margin-bottom: 20px;
    }
    .team-grid, .contact-flex {
        flex-direction: column;
        align-items: center;
    }
    .team-category, .contact-info, .contact-form-placeholder {
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
