/* index.css - Contains SHARED styles AND HOMEPAGE-SPECIFIC styles */

/* --- Global Reset & Variables --- */
:root {
    --bg-color: #000000;
    --text-color: #f0f0f0;
    --primary-accent: #007BFF;
    --secondary-accent: #1a1a1a;
    --border-color: #222222;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Shared Header & Navigation --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.main-nav ul, .secondary-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav a, .secondary-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover, .secondary-nav a:hover {
    color: var(--primary-accent);
}

/* --- HOMEPAGE SPECIFIC: Hero Section --- */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 0 2rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- HOMEPAGE SPECIFIC: Button Styles --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0; /* A light border for definition */
}

.btn-primary, .btn-secondary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #f0f0f0; /* Slightly off-white on hover */
    color: #000000;
    border-color: #cccccc;
    transform: translateY(-3px);
}


/* --- MOBILE OPTIMIZATION (MEDIA QUERY) --- */
@media (max-width: 800px) {
    /* Shared Header */
    .main-header {
        justify-content: center;
        padding: 1rem;
    }

    .main-nav, .secondary-nav {
        display: none;
    }

    /* Homepage Hero */
    .hero {
        min-height: auto;
        padding-top: 8rem;
        padding-bottom: 4rem;
        align-items: flex-start;
    }

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

    /* Homepage Buttons */
    .button-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hero-content {
        width: 100%;
        max-width: 400px;
    }
}