* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f2f2f2; /* grigio chiaro elegante */
    color: #1a1a1a;
}

/* HERO */
.hero {
    height: 85vh;
    background: url("heroblog.avif") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* INTRO PRESENTAZIONE */
.intro {
    max-width: 800px;
    margin: 80px auto 120px;
    text-align: center;
}

.intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.intro p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    background: white;
    padding: 16px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    z-index: 10;
}

nav a {
    margin: 0 12px;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    color: #444;
    transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background: #e6e6e6;
    color: #000;
}

/* MAIN */
main {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 24px;
}

/* POST */
.post {
    display: flex;
    gap: 40px;
    margin-bottom: 90px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.post.visible {
    opacity: 1;
    transform: translateY(0);
}

.post img {
    width: 420px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.post-content {
    max-width: 500px;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin-bottom: 14px;
}

.post-content p {
    font-size: 17px;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.7;
}

.post-content a {
    font-size: 15px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
}

.post-content a:hover {
    opacity: 0.6;
}

/* ALTERNANZA IMMAGINI */
.post.reverse {
    flex-direction: row-reverse;
}

/* FOOTER */
footer {
    padding: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .post, .post.reverse {
        flex-direction: column;
    }

    .post img {
        width: 100%;
        height: 240px;
    }

    .hero h1 {
        font-size: 42px;
    }
}
/* ============================= */
/* BE INSPIRED – LONELY PLANET */
/* ============================= */

.inspired-section {
    max-width: 1200px;
    margin: 140px auto;
    padding: 0 24px;
}

.inspired-header {
    margin-bottom: 80px;
}

.inspired-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 10px;
}

.inspired-subtitle {
    font-size: 13px;
    letter-spacing: 4px;
    color: #888;
}

.inspired-grid {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.inspired-item {
    display: flex;
    gap: 60px;
    align-items: center;
    opacity: 1; /* IMPORTANTE */
    transform: translateY(0);
}

.inspired-item img {
    width: 520px;
    height: 340px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform .6s ease;
}

.inspired-item:hover img {
    transform: scale(1.04);
}

.inspired-text {
    max-width: 420px;
}

.inspired-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 18px;
}

.inspired-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 22px;
}

.inspired-text a {
    font-size: 15px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
}

.inspired-text a:hover {
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .inspired-item {
        flex-direction: column;
    }

    .inspired-item img {
        width: 100%;
        height: 260px;
    }

    .inspired-header h2 {
        font-size: 40px;
    }
}
.blog-section {
    margin-bottom: 140px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
}

.inspired-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 18px;
    color: #555;
    line-height: 1.7;
}

main,
.intro {
    background: #f7f7f7;
    padding-top: 1px;
}

/* TITOLI CENTRATI E DECORATI */
.inspired-header {
    text-align: center;
    position: relative;
}

.inspired-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 600;
    display: inline-block;
    padding: 0 30px;
    background: #f2f2f2; /* stesso sfondo del body */
    position: relative;
    z-index: 2;
}

/* Linee decorative */
.inspired-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ccc;
    z-index: 1;
}

.inspired-subtitle {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    letter-spacing: 4px;
    color: #888;
}

@media (max-width: 900px) {
    .inspired-header h2 {
        font-size: 40px;
    }
}