body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.hero {
    padding: 20px;
}

.posts-section {
    padding: 20px;
}

.post-card {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #555;
}

.post-image {
    display: block;
    margin: 20px auto;
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
}

/* -------------------------------------- */
/*        FIXED LOGO — final version      */
/* -------------------------------------- */

.logo-img {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 250px;     
    height: auto;

    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);

    z-index: 999;
}

/* Tablet */
@media (max-width: 768px) {
    .logo-img {
        width: 120px;
        top: 10px;
        right: 10px;
    }

    nav ul li {
        display: block;
        margin: 8px 0;
    }

    .hero {
        padding-top: 140px; /* prevents overlap */
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo-img {
        width: 90px;
        top: 8px;
        right: 8px;
    }

    .hero {
        padding-top: 150px;
    }
}
