/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation - Flexbox */
nav {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: #333;
}

nav a {
    color: white;
    text-decoration: none;
}

/* Header and Logo */
header {
    text-align: center;
    padding: 1rem;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* Grid Container */
.grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
}

/* Images */
.content-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    margin: 0 auto 1rem auto;
}

/* Typography */
h1 {
    margin: 1rem 0;
}

h2 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Mobile (0-599px) */
@media screen and (max-width: 599px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    p { font-size: 16px; }
    
    .content-img {
        max-width: 100%;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Tablet (600-1199px) */
@media screen and (min-width: 600px) and (max-width: 1199px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    p { font-size: 18px; }
    
    .content-img {
        max-width: 80%;
    }
}

/* Desktop (1200px+) */
@media screen and (min-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    p { font-size: 20px; }
    
    .content-img {
        max-width: 60%;
    }
}