/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Navigation */
.navbar {
    background: #333;
    padding: 1rem 0;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: #f4f4f4;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Grid Layout */
.content-grid {
    padding: 3rem 0;
}

.grid-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .grid-item {
        width: 100%;
        margin: 1rem 0;
    }
}

/* Utilities */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.button:hover {
    opacity: 0.9;
}