* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f4f6f8;
    color: #222;
}

/* HEADER */
.top-header {
    background: #000;
    color: #FFD700;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    font-size: 1.6em;
    font-weight: 800;
    color: #FFD700;
}

/* MENU */
.main-nav {
    display: flex;
    gap: 14px;
}

.main-nav a {
    color: #000;
    background-color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

/* HOVER */
.main-nav a:hover {
    background-color: #000;
    color: #FFD700;
    box-shadow: 0 0 0 2px #FFD700 inset;
}

/* MENU ATIVO (opcional) */
.main-nav a.active {
    background-color: #FFD700;
    color: #000;
    box-shadow: 0 0 0 2px #000 inset;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 12px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}


.hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.65)
    ),
    url("assets/imagens/hero-drone.jpg") center/cover no-repeat;
    
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

}

.container {
    max-width: 1150px;
    margin: 50px auto;
    padding: 0 20px;
}

.filter {
    margin-bottom: 30px;
}

.filter select {
    padding: 8px;
    margin-left: 10px;
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
    cursor: pointer;
    transition: transform .3s;
}

.post:hover {
    transform: translateY(-6px);
}

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.section-title {
    margin: 60px 0 20px;
    border-left: 6px solid #FFD700;
    padding-left: 15px;
}

/* COMPARADOR */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

th {
    background: #FFD700;
}

/* POST INDIVIDUAL */
.single-post img {
    width: 100%;
    margin: 20px 0;
}

.date {
    color: #777;
    margin: 10px 0;
}

footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 25px;
    margin-top: 80px;
}
