
:root {
    --green: #254c3a;
    --green-light: #37674d;
    --red: #a83e39;
    --cream: #faf7ef;
    --gold: #c49a55;
    --text: #30372f;
    --muted: #85877e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HERO */

.hero {
    position: relative;
    min-height: 580px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 100%, #37674d 0%, transparent 65%),
        var(--green);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 25px 7% 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
}

.brand-icon {
    font-size: 34px;
}

.brand-icon img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.brand small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .7;
}

.nav-label {
    font-size: 13px;
    opacity: .75;
}

.hero-content {
    max-width: 700px;
    margin: auto;
    padding: 75px 0 85px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    color: #e6c78e;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 86px);
    line-height: 1.08;
    margin: 22px 0;
}

.hero h1 span {
    color: #e6c78e;
    font-style: italic;
}

.hero-content p {
    max-width: 440px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    opacity: .85;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 32px;
    padding: 15px 25px;
    border-radius: 40px;
    background: #f5e8cc;
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
    transition: .2s;
}

.hero-button:hover {
    background: white;
    transform: translateY(-3px);
}

.hero-button span {
    font-size: 20px;
}

.hero-bottom {
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid #ffffff25;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: .8;
}

.hero-bottom span {
    color: #e6c78e;
    margin: 0 10px;
}

.hero-decoration {
    position: absolute;
    color: #ffffff18;
    pointer-events: none;
}

.decoration-one {
    top: 25%;
    left: 10%;
    font-size: 70px;
}

.decoration-two {
    top: 45%;
    right: 9%;
    font-size: 85px;
}

.decoration-three {
    bottom: 15%;
    left: 20%;
    font-size: 55px;
}

/* MAIN */

main {
    max-width: 1150px;
    margin: auto;
    padding: 75px 30px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.green {
    color: var(--green-light);
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(27px, 4vw, 38px);
    margin-top: 9px;
    color: var(--green);
}

.year-badge {
    background: #e8eee7;
    color: var(--green);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
}

.welcome-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #f0e9d9;
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 4px solid var(--gold);
}

/*.welcome-icon {
    font-size: 42px;
}*/

.welcome-card h3 {
    color: var(--green);
    margin-bottom: 7px;
    font-size: 17px;
}

.welcome-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #65665e;
}

/* EMPTY STATE */

.empty-state {
    text-align: center;
    padding: 65px 20px;
    border-bottom: 1px solid #e9e5dc;
}

.empty-illustration {
    font-size: 55px;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    color: var(--green);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ARCHIVE */

.archive-section {
    margin-top: 75px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.archive-card {
    display: block;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px #00000008;
    transition: transform .25s, box-shadow .25s;
}

.archive-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px #00000012;
}

.archive-image {
    height: 170px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #e6c78e;
    background: linear-gradient(145deg, #315d46, #193c2c);
}

.archive-image img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .82;
}

.archive-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #193c2c33;
    pointer-events: none;
}

.archive-image span {
    position: relative;
    z-index: 2;
    font-size: 55px;
}

.archive-image small {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    font-size: 10px;
    letter-spacing: 3px;
}

.archive-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
}

.archive-label {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.archive-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--green);
    margin-top: 4px;
}

.archive-arrow {
    font-size: 24px;
    color: var(--red);
}

/* QUOTE */

.quote-section {
    margin-top: 90px;
    text-align: center;
    padding: 50px 20px;
    background: #f0e9d9;
    border-radius: 18px;
}

.quote-star {
    color: var(--gold);
    font-size: 25px;
}

.quote-section p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 3vw, 29px);
    line-height: 1.6;
    color: var(--green);
    margin: 18px 0;
}

.quote-signature {
    font-size: 13px;
    color: var(--red);
    font-weight: 700;
}

/* FOOTER */

footer {
    background: #1c392b;
    color: white;
    text-align: center;
    padding: 35px 20px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 800;
}

footer p {
    margin: 10px 0 20px;
    font-size: 13px;
    opacity: .7;
}

footer > span {
    font-size: 11px;
    opacity: .5;
}

/* RESPONSIVE */

@media (max-width: 700px) {

    .hero {
        min-height: 540px;
        padding: 20px 20px 0;
    }

    .brand {
        font-size: 17px;
    }

    .brand-icon {
        font-size: 27px;
    }

    .brand-icon img {
        width: 36px;
        height: 36px;
    }

    .nav-label {
        display: none;
    }

    .hero-content {
        padding: 65px 0;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-bottom {
        font-size: 10px;
        letter-spacing: 0;
    }

    main {
        padding: 50px 18px;
    }

    .section-heading {
        gap: 10px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .year-badge {
        padding: 8px 13px;
        font-size: 13px;
    }

    .welcome-card {
        padding: 20px;
        gap: 15px;
    }

    /*.welcome-icon {
        font-size: 32px;
    }*/

    .welcome-card h3 {
        font-size: 15px;
    }

    .welcome-card p {
        font-size: 13px;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .archive-image {
        height: 135px;
    }

    .archive-section {
        margin-top: 55px;
    }

    .quote-section {
        margin-top: 55px;
        padding: 35px 15px;
    }

    .quote-section p br {
        display: none;
    }
}


/* AVVENTURE DINAMICHE */

.adventures-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.adventure-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px #00000008;
    transition: .2s;
}

.adventure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px #00000012;
}

.adventure-day {
    background: var(--green);
    color: white;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.adventure-content {
    padding: 22px;
}

.adventure-date {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

.adventure-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--green);
    margin: 10px 0;
}

.adventure-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.adventure-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}

.archive-info small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 700px) {
    .adventures-grid {
        grid-template-columns: 1fr;
    }
}


/* PAGINE INTERNE */

.hero-small {
    min-height: 380px;
}

.hero-small .hero-content {
    padding: 45px 0 55px;
}

.back-home {
    font-size: 13px;
    font-weight: 600;
    color: white;
    opacity: .85;
}

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 35px;
}

.breadcrumb a {
    color: var(--green);
    font-weight: 700;
}

.bottom-navigation {
    margin-top: 50px;
}

.bottom-navigation a {
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}

/* DETTAGLIO AVVENTURA */

.adventure-detail {
    max-width: 850px;
    margin: auto;
}

.detail-heading {
    text-align: center;
    margin-bottom: 35px;
}

.detail-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 42px);
    color: var(--green);
    margin: 15px 0;
}

.detail-heading p {
    font-size: 16px;
    line-height: 1.8;
    color: #65665e;
    white-space: normal;
}

/* VIDEO */

.video-container {
    margin: 25px 0;
    background: #172a20;
    border-radius: 16px;
    overflow: hidden;
}

.video-container video {
    display: block;
    width: 100%;
    max-height: 650px;
}

/* FOTO */

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.photo-gallery a {
    overflow: hidden;
    border-radius: 12px;
}

.photo-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.photo-gallery a:hover img {
    transform: scale(1.04);
}

@media (max-width: 700px) {

    .hero-small {
        min-height: 330px;
    }

    .hero-small .hero-content {
        padding: 40px 0;
    }

    .back-home {
        font-size: 11px;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .photo-gallery img {
        height: auto;
        max-height: 400px;
    }

}


/* NAVIGAZIONE TRA LE AVVENTURE */

.adventure-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 45px 0 25px;
}

.adventure-nav-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 22px;
    border: 1px solid #e8e2d5;
    border-radius: 14px;
    background: #fffdf8;
    color: #254b36;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    min-width: 0;
}

.adventure-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.adventure-nav-card.next {
    text-align: right;
}

.adventure-nav-label {
    color: #9b7841;
    font-size: 13px;
    font-weight: 700;
}

.adventure-nav-card strong {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
}

.adventure-nav-date {
    color: #777;
    font-size: 13px;
}

.adventure-nav-title {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {

    .adventure-navigation {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .adventure-nav-card.next {
        text-align: left;
    }

}

.welcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.welcome-icon img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* COMMENTI */

.comments-section {
    max-width: 850px;
    margin: 55px auto 0;
}

.home-comments {
    max-width: none;
    margin-top: 75px;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8eee7;
    color: var(--green);
    font-weight: 800;
}

.comment-form {
    display: grid;
    gap: 10px;
    padding: 24px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px #00000008;
}

.comment-form label {
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid #e3dfd5;
    border-radius: 9px;
    background: #fffdf8;
    color: var(--text);
    font: inherit;
}

.comment-form textarea {
    resize: vertical;
}

.comment-submit {
    justify-self: start;
    padding: 12px 20px;
    border: 0;
    border-radius: 30px;
    background: var(--green);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.comment-submit:hover {
    background: var(--green-light);
}

.comments-empty,
.form-message {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.form-message {
    margin: 0 0 15px;
    padding: 12px 15px;
    border-radius: 9px;
}

.form-message.success {
    background: #e8eee7;
    color: var(--green);
}

.form-message.error {
    background: #f8e9e7;
    color: #8d302a;
}

.comments-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.comment-card {
    padding: 20px 22px;
    border: 1px solid #e8e2d5;
    border-radius: 13px;
    background: #fffdf8;
}

.comment-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: var(--green);
}

.comment-meta time {
    color: var(--muted);
    font-size: 12px;
}

.comment-card p {
    margin-top: 10px;
    color: #55594f;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.comment-adventure-link {
    display: inline-block;
    margin-top: 13px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .comment-form,
    .comment-card {
        padding: 18px;
    }

    .comment-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}