/* CSS Variables */
:root {
    --color-bg-dark: #161616;
    --color-text-light: #ffffff;
    --color-text-muted: #a0a0a0;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--color-bg-dark);
    padding: 1.25rem 2rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.logo:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('field.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-content h1 {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--color-text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Team Section */
.team {
    background-color: var(--color-bg-dark);
    padding: 4rem 2rem;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team h2 {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

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

.member-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.member-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Apps Section */
.apps {
    background-color: var(--color-bg-dark);
    padding: 3rem 2rem;
}

.apps-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.apps h2 {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.app-link {
    font-size: 1.125rem;
    color: var(--color-text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--color-text-muted);
    padding-bottom: 0.125rem;
    transition: border-color 0.2s ease;
}

.app-link:hover {
    border-color: var(--color-text-light);
}

/* Footer */
.footer {
    background-color: var(--color-bg-dark);
    padding: 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .footer {
        padding: 1.5rem;
    }

    .team {
        padding: 3rem 1.5rem;
    }

    .team-members {
        gap: 3rem;
    }

    .apps {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .team {
        padding: 2.5rem 1rem;
    }

    .team-members {
        flex-direction: column;
        gap: 1.5rem;
    }

    .apps {
        padding: 2rem 1rem;
    }
}
