@media (max-width: 480px) {
    .wrapper.hero {
        padding: 0.5em 0.2em !important;
    }
    .feature-container {
        padding: 0.5em 0.2em !important;
    }
    .features {
        width: 100% !important;
        margin: 1em auto !important;
        gap: 0.5em !important;
    }
    .features h2 {
        font-size: 0.65em !important;
    }
    .features p {
        font-size: 0.5em !important;
        margin-bottom: 0.15em !important;
    }
    .main-quote {
        font-size: 1.2em !important;
        margin-bottom: 0.5em !important;
    }
    .main-cite {
        font-size: 0.9em !important;
        margin-bottom: 1em !important;
    }
    .bio h3 {
        font-size: 1em !important;
    }
    .bio p {
        font-size: 0.7em !important;
        margin-bottom: 0.5em !important;
    }
    ul.testimonials {
        margin: 1em 0 !important;
    }
    ul.testimonials li {
        margin-bottom: 1em !important;
    }
    .test-img {
        width: 36px !important;
        height: 36px !important;
    }
    p.test-desc {
        font-size: 0.8em !important;
    }
    p.test-auth {
        font-size: 0.7em !important;
    }
    .last-container {
        padding: 0.2em !important;
    }
}
@media (max-width: 480px) {
    .logo img {
        height: 120px !important;
        max-width: 90vw;
    }
    .forest-hero {
        padding: 0.5em 0.2em;
    }
    nav {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5em;
    }
    ul.nav {
        flex-direction: column !important;
        gap: 0.5em !important;
        padding: 0;
    }
    ul.nav li a {
        font-size: 1em !important;
        padding: 0.5em 0.2em !important;
    }
    .cta {
        padding: 0.5em;
        font-size: 1em;
        margin-bottom: 1em;
        margin-top: 0.5em;
    }
    ul.featured-cabins {
        gap: 0.5em;
    }
    ul.featured-cabins li {
        min-width: 180px;
        margin-bottom: 1em;
    }
    .cabin-title {
        font-size: 1em;
    }
    .cabin-desc {
        font-size: 0.7em;
        margin-bottom: 1em;
    }
    .cabin-cta span {
        font-size: 0.9em;
    }
    .main-copy h1 {
        font-size: 1.5em;
    }
    .subtitle {
        padding: 1em 0 0.2em;
        font-size: 1em;
    }
    .wrapper {
        padding: 0.2em;
    }
}
/* Language buttons styling */
#lang-ro, #lang-en {
    background: #855324;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: bold;
    margin: 0 4px;
    transition: background 0.2s, color 0.2s;
}
#lang-ro.selected, #lang-en.selected {
    background: #72A84A;
    color: white;
}
/* Hover corect pentru meniul principal */
.nav li a:hover {
    color: #72A84A !important;
    background: none;
    border-radius: 0;
    padding: 0 1em;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Playfair+Display&display=swap');

html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
}

body {
    background: #D8EACB;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
}

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

img {
    width: 100%;
}

header {
    display: flex;
    justify-content: space-between;
    background: transparent;
    color: white;
    padding: .5em;
}

.logo {
    color: black;
    font-weight: bold;
}

.menu {
    cursor: pointer;
}

nav ul {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #72A84A;
    height: 100vh;
    padding-top: 5em;
    z-index: 100;
}

nav ul li a {
    font-size: 1.35em;
    color: #855324 !important;
    font-weight: bold;
    padding: 0 1em;
    display: block;
    transition: color 0.2s, background 0.2s;
}

.exit a {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
}

.open-nav {
    visibility: unset;
    opacity: 1;
    transform: translateX(0);
}

.forest-hero {
    background: linear-gradient(rgba(20,20,20,0.7),rgba(20,20,20,0.7)), url('images/forest.jpg');
    background-size: cover;
    background-position: top center;
    color: white;
}

.wrapper {
    padding: .5em;
    text-align: center;
}

.no-padding {
    padding: 0;
}

.subtitle {
    padding: 3em 0 .5em;
}

h1 span {
    display: block;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%); 
}

.cta {
    display: inline-block;
    padding: 1em;
    background: #72A84A;
    font-weight: bold;
    color: white;
    margin-bottom: 3em;
    margin-top: 1em;
}

ul.featured-cabins {
    width: 100%;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    gap: 1em;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

ul.featured-cabins li {
    min-width: 250px;
    flex: 0 0 auto;
    margin-bottom: 3em;
    scroll-snap-align: start;
}

.cabin-img {
    box-shadow: 10px 10px 10px rgba(0,0,0,.2);
}

.cabin-title {
    font-weight: bold;
    font-size: 1.3em;
}

.cabin-desc, ul.features li p, .left p {
    line-height: 1.9em;
    font-size: .8em;
    margin-bottom: 2em;
}

.cabin-cta {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.cabin-cta:after {
    position: absolute;
    content: '';
    bottom: -12px;
    background: white;
    width: 100%;
    height: 1px;
}

.cabin-cta span {
    color: white;
    font-weight: bold;
}

.cabin-cta img {
    width: 10px;
}


.feature-container {
    background: #1A1A1A;
    color: white;
}

ul.features {
    margin: 3em auto;
    width: 70%;
}

ul.features li img {
    width: 40px;
}

ul.features li p {
    color: #CCCCCC;
}

.main-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    font-style: italic;
    margin-bottom: .5em;
}

cite {
    margin-bottom: 3em;
    display: block;
}

ul.testimonials {
    margin: 3em 0;
}

ul.testimonials li {
    margin-bottom: 3em;
}

.test-img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

p.test-desc {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

p.test-auth {
    font-weight: bold;
    font-size: .85em;
}

.last-container {
    position: relative;
}

.fern {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 80%;
    opacity: .1;
}

@media (min-width: 550px) {
    
    .menu, .exit {
        display: none;
    }
    
    header {
        padding: 1em;
    }
    
    ul.nav {
        visibility: unset;
        opacity: 1;
        background: none;
        display: flex;
        margin: 0;
        padding: 0;
        position: unset;
        height: auto;
    }
    
    ul.nav li a {
        font-size: 1.35em;
        padding: 0 1em;
        font-weight: bold;
        color: #855324 !important;
        transition: color 0.2s, background 0.2s;
    }
    
    ul.nav li:last-child a {
        padding-right: 0;
    }
    
    ul.nav .active a {
        font-weight: bold;
    }
    
    ul.nav .res a {
        color: #855324 !important;
        font-weight: bold;
        background: none;
        border-radius: 0;
    }
    .nav .res a:hover {
        color: #72A84A !important;
        background: none;
        border-radius: 0;
    }
    
    ul.featured-cabins {
        width: 90%;
        display: grid;
        grid-template-columns: repeat(3,auto);
        grid-gap: 3em;
    }
    
}

@media(min-width: 650px) {
    
    ul.features {
        width: 90%;
        display: grid;
        grid-template-columns: repeat(3,auto);
        grid-gap: 3em;
    }
}


@media(min-width: 900px) {
    
    .wrapper {
        text-align: left;
    }
    
    .flex {
        display: flex;
    }
    
    .hero {
        padding: 8em 4em;
    }
    
    .last-container {
        padding: 0 4em;
    }
    
    .main-copy {
        width: 40%;
    }
    
    p.subtitle {
        margin: 0 0 1em;
        padding: 0;
    }
    
    h1 {
        font-size: 3em;
        margin-top: 0;
    }
    
    ul.featured-cabins {
        width: 70%;
    }
    
    .main-quote, .main-cite {
        text-align: center;
    }
    
    .main-quote {
        font-size: 3em;
        margin-top: 2em;
    }
    
    .main-cite {
        font-size: 1.5em;
        margin-bottom: 3em;
    }
    
    
    .bio {
        width: 90%;
    }
    
    ul.testimonials {
        margin-left: 2em;
        width: 100%;
    }
    
    ul.testimonials li {
        display: flex;
        background: white;
        padding: 1.5em;
        margin-bottom: 1em;
    }
    
    .test-img {
        margin-right: 1em;
    }
    
    .test-desc {
        margin-top: .5em;
        font-size: 1.1em;
        margin-bottom: 0;
    }
    
    .fern {
        width: 20%;
    }
    
    .cabin-desc, ul.features li p, .left p {
        font-size: .9em;
    }
    
    
}