/* ========== BASIC RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ========== FLEX RESPONSIVE GRID ========== */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col {
    flex: 1;
    min-width: 250px; /* prevents items from shrinking too small */
}

/* ========== NAVIGATION MENU ========== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
}

nav .menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media (max-width: 768px) {

    /* Stack columns on smaller screens */
    .row {
        flex-direction: column;
    }

    /* Responsive text */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    p  { font-size: 1rem; }

    /* Navbar becomes mobile-friendly */
    nav ul {
        display: none; /* hidden until menu button clicked */
        flex-direction: column;
        background: #1c1c1c;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    nav .menu-toggle {
        display: block;
    }

    nav ul.active {
        display: flex;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    p  { font-size: 0.95rem; }
}
