/* 1. RESET & UNIVERSAL BOXING */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Prevents padding from breaking width */
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
}

/* 2. THE "CONTAINER" - Controls page width */
.container {
    width: 90%;          /* Mobile width */
    max-width: 1200px;   /* Desktop max width */
    margin: 0 auto;      /* Centers the content */
}

/* 3. FLEXBOX NAVIGATION */
.navbar {
    background: #131921;
    color: white;
    padding: 1rem 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

/* 4. MAIN CONTENT SPACING */
.content-area {
    padding: 40px 0;
    min-height: 80vh; /* Keeps footer at bottom on empty pages */
}

/* 5. RESPONSIVE BREAKPOINTS (Media Queries) */

/* For Mobile Phones (Below 600px) */
@media (max-width: 600px) {
    .nav-flex {
        flex-direction: column; /* Stacks logo above links */
        gap: 10px;
    }
    
    .nav-links {
        font-size: 14px;
        gap: 10px;
    }
}

/* For Tablets (600px to 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .container {
        width: 95%;
    }
}