/* Ensure hamburger is white on Sicily page */
#hamburger span {
    background: #fff !important;
}

@keyframes zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.sicily-hero .sicily-hero-images-container img.sicily-hero-bg-mobile.active {
    animation-name: zoom;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

.sicily-hero .sicily-hero-images-container img.sicily-hero-bg-mobile {
    transform: scale(1.1);
}

.sicily-hero .sicily-hero-images-container img.sicily-hero-bg-mobile:not(.active) {
    animation: none;
}

.sicily-hero {
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: start;
    justify-content: start;
    overflow: hidden;
    background-color: white;
    flex-direction: column;
}

.sicily-hero-images-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sicily-hero-mobile-images-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sicily-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.sicily-hero-bg.active {
    opacity: 1;
}

.sicily-hero-content {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.sicily-hero-content .sicily-more-btn {
    display: none;
}

.sicily-hero-content h1,
.sicily-hero-content .sicily-hero-title {
    font-family: 'GuthenBloots', arial, sans-serif;
    font-size: clamp(60px, 20vw, 138px);
    text-align: center;
    color: white;
    font-weight: 300;
    line-height: 0.77;
}

.sicily-weather-container {
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: calc(100% - 3rem);
    max-width: 400px;
}

.sicily-weather-container .weather-widget {
    margin: 0;
    background: black;
    backdrop-filter: blur(10px);
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    text-align: left;
    min-width: 290px;
    font-size: 17px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.sicily-weather-container .location {
    color: #f7f8fd;
    padding-bottom: 7px;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    display: none;
}

.sicily-weather-container .delimiter {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.sicily-weather-container .location.fade-out {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.sicily-weather-container .weather-info {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 0;
    margin-bottom: 0;
}

.sicily-weather-container .date-weather {
    display: flex;
    align-items: center;
}

.sicily-weather-container .date {
    color: #fcfdff;
    font-weight: 300;
    min-width: 70px;
}

.sicily-weather-container .emoji {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    font-size: 25px;
}

.sicily-weather-container .temp {
    font-weight: 400;
    display: flex;
    gap: 8px;
}

.sicily-weather-container .temp .high {
    color: #f1c40f;
}

.sicily-weather-container .temp .low {
    color: #c7c8ca;
}

.sicily-weather-container .temp .water {
    color: #00bcd4;
}

.sicily-weather-container .wind {
    color: #fcfdff;
    font-weight: 300;
    display: none;
}

.sicily-hero-intro {
    display: none;
}

.sicily-hero-bg-mobile {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.sicily-hero-bg-mobile.active~.sicily-hero-bg-mobile,
.sicily-hero-bg-mobile:not(.active) {
    position: absolute;
    top: 0;
    left: 0;
}

.sicily-hero-bg-desktop {
    display: none;
}

.sicily-hero-location-label {
    display: none;
}

.sicily-hero-intro-mobile {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
    font-family: 'Bebas Neue Pro', 'Bebas Neue', sans-serif;
    padding: 45px 80px;
}

.sicily-hero-intro-mobile h2 {
    font-size: 29px;
    font-weight: 400;
    color: #2c3e50;
    max-width: 950px;
    line-height: 1;
    margin-bottom: 5px;
}

.sicily-hero-intro-mobile p {
    font-family: 'Bebas Neue Pro', 'Bebas Neue', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    margin-top: 10px;
    font-weight: 400;
}

@media only screen and (min-width: 365px) {
    .sicily-weather-container {
        width: calc(100% - 5rem);
    }
}

@media only screen and (min-width: 601px) {
    .sicily-hero-intro-mobile {
        display: none;
    }

    .sicily-hero-bg-desktop {
        display: block;
    }

    .sicily-hero-bg-mobile {
        display: none;
    }

    .sicily-hero {
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .sicily-hero-images-container {
        position: relative;
        width: 100%;
        height: calc(100% - 120px);
        flex-direction: unset;
    }

    .sicily-hero-content {
        position: absolute;
    }

    .sicily-hero-bg {
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .sicily-weather-container {
        position: absolute;
        bottom: auto;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, 200px);
        width: unset;
        z-index: 3;
    }

    .sicily-weather-container .weather-widget {
        width: unset;
        max-width: 400px;
        border-radius: 30px;
        box-sizing: unset;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        font-size: 15px;
        padding: 10px 30px;
        min-width: unset;
        background: rgba(255, 255, 255);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: #333;
        border: none;
    }

    .sicily-weather-container .location {
        display: none;
    }

    .sicily-weather-container .delimiter {
        display: none;
    }

    .sicily-weather-container .weather-info {
        margin-top: 0;
        justify-content: center;
        gap: 8px;
    }

    .sicily-weather-container .emoji {
        font-size: 20px;
    }

    .sicily-weather-container .date {
        color: #333;
    }

    .sicily-weather-container .temp .low {
        color: #555;
    }

    .sicily-weather-container .temp .high {
        color: #e67e22;
    }

    .sicily-weather-container .temp .water {
        color: #00a5bb;
    }

    .sicily-hero-content .sicily-more-btn {
        display: none !important;
    }

    .sicily-hero-location-label {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 30px;
        z-index: 3;
        color: #fff;
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 14px;
        font-weight: 300;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
        transition: opacity 0.5s ease-in-out;
    }

    .sicily-hero-location-label.fade-out {
        opacity: 0;
    }

    .sicily-hero-intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        position: relative;
        background: #f8f8fa;
        padding: 2.6rem 3rem;
        z-index: 5;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        min-height: 290px;
    }

    .sicily-hero-intro h2 {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 34px;
        font-weight: 400;
        color: #000;
        margin: 0 auto 0.5rem;
        max-width: 950px;
    }

    .sicily-hero-intro p {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 19px;
        line-height: 1.5;
        color: #2c3e50;
        margin: 0 auto;
        max-width: 970px;
    }

}

@media only screen and (min-width: 601px) and (max-height: 850px) {
    .sicily-weather-container {
        position: absolute;
        bottom: 20px;
        top: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: unset;
        z-index: 3;
    }
}
