/* Modern Reset */
*,
*::before,
*::after {
    box_sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #0a2342;
    /* Deep Navy */
    --color-accent: #ef3340;
    /* Vibrant Red */
    --color-bg: #fdfdfd;
    /* Off-White */
    --color-text: #333333;
    --color-text-light: #fdfdfd;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.section-padding {
    padding: 4rem 1rem;
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--color-primary);
    color: white;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-light);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.invite-link:hover {
    color: var(--color-accent);
}

.history-content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: justify;
    line-height: 1.8;
}

.history-content p {
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.7)), url('../img/flag.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background-color: #d1202d;
}

/* Roles / Team Section */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.role-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.role-title {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

/* Schedule / Events */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-accent);
}

.event-time {
    font-weight: bold;
    color: var(--color-primary);
    min-width: 80px;
    font-family: var(--font-heading);
}

.event-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* History */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.history-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.history-img:hover {
    transform: scale(1.05);
}

/* Signup Form */
.signup-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input {
    width: 90%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(10, 35, 66, 0.1);
}

.login-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
}