/* =============================================
   HEADER PHOTO
   ============================================= */
.section--header-photo {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.header-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.header-photo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}


/* =============================================
   LANDSCAPE ILLUSTRATIONS (CSS/SVG)
   ============================================= */
.section--landscape {
    padding: 0;
    position: relative;
    overflow: visible;
}

.landscape {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

/* === Sky === */
.landscape__sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--color-sky-light) 0%,
        var(--color-sky) 100%
    );
}

/* === Clouds (Pure CSS) === */
.landscape__cloud {
    position: absolute;
    background: var(--color-white);
    border-radius: 50px;
    opacity: 0.9;
}

.landscape__cloud::before,
.landscape__cloud::after {
    content: '';
    position: absolute;
    background: var(--color-white);
    border-radius: 50%;
}

/* Cloud 1 - large, left */
.landscape__cloud--1 {
    width: 100px;
    height: 36px;
    top: 22%;
    left: 10%;
}

.landscape__cloud--1::before {
    width: 50px;
    height: 44px;
    top: -22px;
    left: 14px;
}

.landscape__cloud--1::after {
    width: 62px;
    height: 38px;
    top: -16px;
    left: 38px;
}

/* Cloud 2 - medium, center-right */
.landscape__cloud--2 {
    width: 80px;
    height: 28px;
    top: 15%;
    left: 55%;
}

.landscape__cloud--2::before {
    width: 40px;
    height: 34px;
    top: -18px;
    left: 10px;
}

.landscape__cloud--2::after {
    width: 50px;
    height: 30px;
    top: -12px;
    left: 30px;
}

/* Cloud 3 - small, right */
.landscape__cloud--3 {
    width: 60px;
    height: 22px;
    top: 30%;
    right: 8%;
}

.landscape__cloud--3::before {
    width: 30px;
    height: 28px;
    top: -14px;
    left: 8px;
}

.landscape__cloud--3::after {
    width: 40px;
    height: 24px;
    top: -10px;
    left: 20px;
}

/* === SVG Hills === */
.landscape__hills {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
}

.landscape__hill--back {
    fill: var(--color-hill-back);
}

.landscape__hill--mid {
    fill: var(--color-hill-front);
}

.landscape__hill--front {
    fill: var(--color-hill-grass);
}

/* === Palm Tree === */
.landscape__palm {
    position: absolute;
    bottom: 28%;
    height: 110px;
    width: auto;
    opacity: 0.25;
    z-index: 1;
}

.landscape__palm--left {
    left: 6%;
}

.landscape__palm--right {
    right: 6%;
    transform: scaleX(-1);
}

/* === Torn Paper Overlays === */
.landscape__torn-top {
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    z-index: 3;
    transform: scaleY(-1);
}

.landscape__torn-top img {
    width: 100%;
    height: auto;
    display: block;
}

.landscape__torn-bottom {
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    z-index: 3;
}

.landscape__torn-bottom img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Landscape Variants === */

/* Variant 2: different cloud positions */
.landscape--variant-2 .landscape__cloud--1 {
    top: 18%;
    left: 20%;
}

.landscape--variant-2 .landscape__cloud--2 {
    top: 28%;
    left: 60%;
}

.landscape--variant-2 .landscape__cloud--3 {
    top: 12%;
    right: 15%;
}

/* Variant 3: fewer clouds, different feel */
.landscape--variant-3 .landscape__cloud--1 {
    top: 25%;
    left: 30%;
    width: 90px;
}

.landscape--variant-3 .landscape__cloud--2 {
    top: 18%;
    left: 65%;
    width: 70px;
}

.landscape--variant-3 .landscape__cloud--3 {
    display: none;
}

/* Landscape with lace border at top */
.landscape__lace-top {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.landscape__lace-top img {
    width: 100%;
    height: auto;
    display: block;
}

.landscape__lace-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.landscape__lace-bottom img {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleY(-1);
}
