/* Default reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Add box-sizing to include padding and border in the width calculation */
}

html,
body {
    height: auto; /* Set height to 100% */
    width: 100%; /* Set width to 100% */
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scroll-behavior: auto !important; /* Disables default smooth scrolling */
}

body {
    font-family: 'Poppins', sans-serif; /* Use Poppins as the main font */
    background-color: #000000;
    color: #ffffff;
    font-size: 1rem; /* Base font size for the body */
    /*scroll-behavior: smooth; /* Enable smooth scrolling behavior */
}

/* Hide scrollbar for Chrome, Safari, and Edge */
::-webkit-scrollbar {
    display: none;
}

h1 {
    font-size: 2rem;
    margin: 0;
}

h2,
h3,
h4 {
    margin: 0 !important;
}

h2 span {
    white-space: pre-wrap; /* Preserves spaces and line breaks */
    word-break: keep-all; /* Prevents breaking words */
}

ul,
ol {
    list-style: none; /* Remove bullet points and numbering */
}

table {
    border-collapse: collapse; /* Remove space between table cells */
}

a {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Set the link color equal to the surrounding text */
}

/* =================GSAP LOADER================= */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0c0a0b;
    overflow: hidden;
    z-index: 100;
}

.text-container {
    display: flex;
    flex-direction: row;
    gap: 1em;
    overflow: hidden;
    color: white;
    opacity: 0;
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center the text vertically */
}

.big-text {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
}

@media (max-width: 767px) {
    .text-container {
        justify-content: center; /* Ensure text remains centered on mobile */
        align-items: center; /* Ensure text remains centered on mobile */
        gap: 0.5em;
    }
    .big-text {
        font-size: 2rem; /* Adjust the font size as needed */
    }
}

/* =================HEADER================= */

header {
    display: flex;
    width: 100%;
    padding: 1rem 5rem 1rem 5rem;
    position: fixed;
    z-index: 10;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.logo-container {
    display: flex;
    width: 20%;
    padding: 0 1rem 0 1rem;
    align-items: center;
    white-space: nowrap;
}

.logo-container h1 {
    margin: 0;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 80%;
    padding: 0 1rem 0 1rem;
    text-align: right;
    font-weight: 200;
}

nav ul {
    margin: 0;
}

nav a:hover {
    text-decoration: underline;
}

.hamburger-menu {
    display: none;
}

@media (max-width: 767px) {
    header {
        justify-content: space-between;
        padding: 10px;
    }

    .logo-container {
        display: flex;
        justify-content: center;
        align-items: start;
        width: 100%;
        padding-left: 20px;
    }

    .logo-container h1 {
        font-size: 1.2rem;
    }

    nav {
        justify-content: center;
        align-items: end;
        padding-right: 20px;
        width: 100%;
    }

    .ul-desktop {
        display: none;
    }
    .hamburger-menu {
        display: flex;
    }
}

/* =================HEADER================= */

/* =================HERO================= */

.hero {
    position: relative;
    height: 100vh; /* Set the height of the hero section to 100% of the viewport height */
    background-image: url('/images/public/hero.jpg'); /* Add the background image path here */
    background-size: cover; /* Cover the entire area */
    background-position: center; /* Center the image horizontally and vertically */
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    text-align: center; /* Align the text to the center */
    color: white; /* Text color */
    padding: 20px;
    overflow: hidden;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0a0a0a; /* Color of the overlay */
    opacity: 0.66; /* Overlay opacity */
    transition: background 0.3s, opacity 0.3s; /* Transition for background and opacity */
    z-index: 1; /* The overlay is above the image but below the content */
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2; /* Keep the content above the overlay */
    max-width: 600px;
    padding: 20px;
}

.hero img {
    width: 200px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .hero img {
        width: 100px;
    }
}

/* =================HERO================= */

/* =================BUTTON BOOK NOW================= */

.book-now-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 150px;
    z-index: 1;
}

.book-now-container button {
    background-color: #000000;
    font-size: 100px;
    font-family: 'Poppins', sans-serif;
    font-weight: 100;
    letter-spacing: 2px;
    border-style: solid;
    border-width: 1px 0px 1px 0px;
    border-color: #ffffff;
    color: #ffffff;
    width: 100%;
    min-height: 150px;
    border-radius: 0px 0px 0px 0px;
    transition: background-color 0.5s ease, color 0.5s ease; /* Smooth transition between background-color and color */
    cursor: pointer;
}

.book-now-container button:hover {
    background-color: #ffffff;
    color: #000000;
}

@media (max-width: 767px) {
    .book-now-container {
        min-height: 100px;
    }
    .book-now-container button {
        font-size: 2rem;
        min-height: 60px;
    }

    input::placeholder,
    textarea::placeholder {
        font-size: 12px; /* Riduci la dimensione del font */
    }
}

/* =================BUTTON BOOK NOW================= */

/* =================ABOUT ME================= */

.about-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px 100px 40px;
    z-index: 1;
    background-color: #000000 !important;
}

.about-title {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
}

.about-title h1 {
    font-weight: 300;
    white-space: nowrap;
}

.about-title-top {
    font-size: 6rem;
}

.about-title-bottom {
    font-size: 6.6rem;
    margin-top: -2rem !important;
}

.about-row {
    display: flex;
    padding: 100px 40px 100px 40px;
}

.about-row-content {
    width: 50%;
}

.about-row-content p {
    font-size: 2rem;
    font-weight: 100;
}

.about-row-content-left {
    text-align: left;
}

.about-row-content-right {
    text-align: right;
}

@media (max-width: 767px) {
    .about-container {
        padding-top: 60px;
        padding-bottom: 0;
    }

    .about-title-top {
        font-size: 2rem;
    }

    .about-title-bottom {
        font-size: 2.2rem;
        margin-top: -0.5rem !important;
    }

    .about-row {
        flex-direction: column !important;
        padding: 20px 0 20px 0;
    }

    .about-row-content {
        width: 100%;
    }

    .about-row-content p {
        font-size: 1rem;
    }
}

/* =================ABOUT ME================= */

/* =================WORKS================= */

.works-container {
    padding: 40px 0 40px 0;
    z-index: 1;
}

.works-container h3,
.works-container svg {
    cursor: pointer;
}

.works-title {
    display: flex;
    padding: 40px 20px 0 40px;
}

.works-title h3 {
    display: flex;
    font-size: 2rem;
    font-weight: 400;
    padding: 0;
}

.works-link {
    display: flex;
    justify-content: end;
    padding: 0 40px 40px 20px;
}

.works-link h3 {
    display: flex;
    font-size: 2rem;
    font-weight: 400;
    padding: 0;
}

.slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
    margin: 10px 0 10px 0;
    --quantity: 10;
}

.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
    margin: 0; /* Ensure no margin on the list */
    padding: 0;
}

.slider .list .item {
    width: 250px;
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 60s linear infinite; /* Animation duration is 60s for autoRun */
    transition: filter 0.5s;
    animation-delay: calc(
        (60s / var(--quantity)) * (var(--position) - 1) - 60s
    ) !important; /* Use the same animation time for all items */
    margin: 0; /* Remove any margin between the items */
    display: flex;
    justify-content: center;
}

.slider .list .item img {
    width: 100%;
    height: 100%; /* Ensure the images fill the height without gaps */
    object-fit: cover; /* Maintain the aspect ratio and cover the item area */
    object-position: center !important; /* Center the image horizontally and vertically */
}

@keyframes autoRun {
    from {
        left: 100%;
    }
    to {
        left: calc(var(--width) * -1);
    }
}

.slider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
}

.slider .item:hover {
    filter: grayscale(0);
}

.slider[reverse='true'] .item {
    animation: reversePlay 60s linear infinite; /* Animation duration is 60s for reversePlay */
}

@keyframes reversePlay {
    from {
        left: calc(var(--width) * -1);
    }
    to {
        left: 100%;
    }
}

@media (max-width: 767px) {
    .works-title {
        padding-top: 0;
        padding-left: 20px;
    }

    .works-link {
        padding-bottom: 0;
        padding-right: 20px;
    }

    .works-title h3,
    .works-link h3 {
        font-size: 1.2rem;
        padding-top: 4px;
        padding-left: 0;
        padding-right: 0;
    }

    .works-container svg {
        width: 32px;
    }
}

@media (max-width: 1024) {
}

/* =================MWMV STORY================= */
.mwmv-container {
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 100px 40px 100px 40px;
    z-index: 1;
}

.mwmv-video-container {
    display: flex;
    justify-content: center;
    width: 40%;
}

.mwmv-video-container video {
    max-height: 1024px;
}

.mwmv-story-container {
    display: flex;
    flex-direction: column;
    justify-content: space-space;
    align-items: center;
    height: 100%;
    width: 60%;
    padding: 20px;
}

.mwmv-story {
    padding: 50px;
}

.mwmv-story p {
    font-size: 2rem;
    font-weight: 100;
    text-align: justify;
}

@media (max-width: 767px) {
    .mwmv-container {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 40px;
        width: 100%; /* Assicura che il contenitore occupi tutta la larghezza disponibile */
        max-width: 100%;
    }

    .mwmv-video-container,
    .mwmv-story-container {
        width: 100%;
    }

    .mwmv-video-container {
        position: relative;
        padding-top: 125%; /* Questo crea un rapporto 16:9, utile per video comuni */
    }

    .mwmv-story-container {
        padding: 40px 20px 40px 20px;
    }

    .mwmv-story {
        padding: 20px;
    }

    .mwmv-story p {
        font-size: 1rem !important;
        text-align: start;
    }

    .mwmv-video-container {
        width: 100%;
        max-height: 100%;
    }

    .mwmv-video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Assicura che il video copra tutto lo spazio disponibile senza deformarsi */
    }
}

@media (max-width: 1300px) {
    .mwmv-container {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
        width: 100%; /* Assicura che il contenitore occupi tutta la larghezza disponibile */
        max-width: 100%;
    }

    .mwmv-container img {
        width: 100px;
    }

    .mwmv-video-container,
    .mwmv-story-container {
        width: 100%;
    }

    .mwmv-video-container {
        position: relative;
        padding-top: 125%; /* Questo crea un rapporto 16:9, utile per video comuni */
    }

    .mwmv-story-container {
        padding: 80px 20px 0px 20px;
    }

    .mwmv-story {
        padding: 20px;
    }

    .mwmv-story p {
        font-size: 2.5rem;
        text-align: start;
    }

    .mwmv-video-container {
        width: 100%;
        max-height: 100%;
    }

    .mwmv-video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Assicura che il video copra tutto lo spazio disponibile senza deformarsi */
    }
}

/* =================MWMV STORY================= */

/* =================DESTINATION================= */
.next-destination-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0 100px 0;
    width: 100%;
    z-index: 1;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    scroll-behavior: smooth;
}
.image-container {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4 / 5;
    max-height: none; /* Remove max-height so aspect ratio controls it */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease-in-out;
}

.text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.5s ease-in-out;
}

.image-container:hover .overlay {
    opacity: 0;
}

.image-container:hover .text {
    opacity: 0.5;
}

.image-container:hover img {
    transform: scale(1.05);
}

.destination-title {
    display: flex;
    padding: 10px;
}

.destination-title h3 {
    display: flex;
    font-size: 2rem;
    font-weight: 400;
    padding: 0;
}


@media (max-width: 767px) {
    .image-container {
        flex: 0 0 100%;
        aspect-ratio: 4 / 5;
    }

    .text {
        font-size: 16px;
    }

    .destination-title {
        padding-top: 0;
        padding-left: 20px;
    }

    .destination-title h3 {
        font-size: 1.2rem;
        padding-top: 4px;
    }

    .destination-title svg {
        width: 32px;
    }
}

/* =================DESTINATION================= */

/* =================STUDIO================= */

.studio-container {
    position: relative; /* Non sticky qui */
    height: 100vh; /* Altezza piena per effetto di transizione */
    background-image: url('/images/public/studio/studio-hero.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px;
    overflow: hidden;
    z-index: 0;
}

.studio-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0a0a0a; /* Color of the overlay */
    opacity: 0.66; /* Overlay opacity */
    transition: background 0.3s, opacity 0.3s; /* Transition for background and opacity */
    z-index: 0; /* The overlay is above the image but below the content */
}

/* Hero content */
.studio-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.studio-container img {
    width: 200px;
}

.studio-container h1 {
    font-size: 3rem;
    white-space: nowrap;
    font-weight: 100;
}

.studio-container h2 {
    font-weight: 100;
}

@media (max-width: 768px) {
    .studio-container h1 {
        font-size: 1.7rem;
    }
}

/* =================STUDIO================= */

/* =================ARTICLE LIST================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}
/* =================ARTICLE LIST================= */

/* =================FOOTER================= */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 80px;
    background-color: #000000;
    color: white;
    text-align: center;
}

.footer-column {
    flex: 1;
    align-items: start;
    height: 100%;
}

.footer-logo img {
    width: 100px;
    height: auto;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 5px 0;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.footer-social li {
    display: inline-block;
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: white;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.footer-social a:hover svg {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Responsività */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        padding-top: 10px;
    }

    .footer-logo {
        margin: 20px 0;
    }

    .footer-column ul {
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 0.8rem !important;
    }
}

/* =================FOOTER================= */

/* =================BOOK NOW================= */

.form-container {
    display: flex;
    padding: 100px 40px 40px 40px;
}

/* Main timeline container */
.timeline-container {
    position: relative;
    width: 50%;
    padding: 50px 20px 50px 20px;
}

/* Timeline structure */
.timeline {
    position: relative;
    padding: 20px 0;
}

/* Vertical center line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #ccc;
    transform: translateX(-50%);
    transition: background-color 0.3s ease;
}

/* Individual timeline item */
.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0; /* Reduce margin to compact items */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    flex-wrap: wrap; /* Allow wrapping of content */
    overflow: hidden; /* Hide overflowing content */
    width: 100%;
}

/* When item appears */
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Circular dot on the timeline */
.timeline-dot {
    position: absolute;
    left: 50%;
    width: 16px; /* Reduce the size of the dot */
    height: 16px;
    background-color: #007bff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Content box styling */
.timeline-content {
    width: 45%;
    padding: 10px; /* Reduce padding */
    background: rgb(0, 0, 0);
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
    max-width: 100%; /* Limit max width to prevent overflow */
    font-size: 0.9rem; /* Reduce font size for compactness */
}

/* Left and right alignment */
.timeline-content.left {
    text-align: right;
    margin-right: auto;
}

.timeline-content.right {
    text-align: left;
    margin-left: auto;
}

/* Make sure items are on the right side */
.timeline-item.left .timeline-content {
    margin-left: 0;
}

.timeline-item.right .timeline-content {
    margin-right: 0;
}

.form-container {
    width: 100%;
}

/* General styling for the form */
.booking-form {
    width: 100%;
    padding: 50px;
    color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.book-now-title {
    display: flex;
}

.book.now-title h3 {
    display: flex;
    font-size: 2rem;
    font-weight: 400;
    padding: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #000000;
    color: white;
}

/* Color options - no default display of radio buttons */
.color-options {
    display: flex;
    gap: 10px;
    justify-content: start;
}

.color-options input[type='radio'] {
    position: absolute; /* Nascondi i radio button fuori dalla vista */
    width: 1px; /* Renderizzali molto piccoli */
    height: 1px;
    opacity: 0; /* Rendi invisibili */
}

/* Styling for the clickable color boxes */
.color-box {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: border 0.3s ease;
}

/* Hover effect */
.color-box:hover {
    opacity: 0.8;
}

/* Highlight border when the box is selected */
input[type='radio']:checked + label {
    border: 3px solid #007bff; /* Blue border for selected box */
}

/* File input styling */
input[type='file'] {
    padding: 10px;
    background-color: #000000;
    border-radius: 5px;
    color: white;
}

.success-message {
    margin: 20px 0; /* Adds space above and below the message */
    padding: 10px; /* Adds padding inside the message box */
    background-color: #d4edda; /* Light green background color */
    color: #155724; /* Dark green color for the text */
    border: 1px solid #c3e6cb; /* Light green border */
    border-radius: 5px; /* Rounds the corners of the message box */
    font-size: 16px; /* Sets the font size */
    font-weight: bold; /* Makes the text bold */
    text-align: center; /* Centers the text */
    display: none; /* Hides the message initially */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Smooth fade-in and slide-up animation */
}

.success-message p {
    font-weight: 400;
    margin: 0;
}

.error-message {
    margin: 20px 0; /* Adds space above and below the message */
    padding: 10px; /* Adds padding inside the message box */
    background-color: #f8d7da; /* Light red background color */
    color: #721c24; /* Dark red color for the text */
    border: 1px solid #f5c6cb; /* Light red border */
    border-radius: 5px; /* Rounds the corners of the message box */
    font-size: 16px; /* Sets the font size */
    font-weight: bold; /* Makes the text bold */
    text-align: center; /* Centers the text */
    display: none; /* Hides the message initially */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Smooth fade-in and slide-up animation */
}

.error-message p {
    font-weight: 400;
    margin: 0; /* Removes the default margin from paragraphs */
}

/* Submit button styling */
button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}

@media (max-width: 1024px) {
    .form-container {
        flex-direction: column;
        padding: 40px 0 0 0;
    }

    .form-container p {
        font-size: 0.8rem;
    }

    .timeline-container {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }

    .book-now-title h3 {
        padding-top: 4px;
    }

    .book-now-title svg {
        margin: 0;
    }

    #privacy-policy-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        padding: 40px 0 0 0;
    }

    .form-container p {
        font-size: 0.8rem;
    }

    .timeline-container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .book-now-title h3 {
        padding-top: 4px;
    }

    .book-now-title svg {
        margin: 0;
    }

    #privacy-policy-label {
        font-size: 0.6rem;
    }
}

/* =================BOOK NOW================= */

/* =================MOBILE MENU================= */

/* MENU MOBILE */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: end;
    width: 100%;
    height: 100dvh;
    font-size: 16px;
    font-weight: 200;
    padding: 20px;
}

.mobile-nav ul li {
    margin: 20px 0;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

/* Quando il menu è attivo */
.mobile-nav.menu-active {
    transform: translateX(0);
}

/* Stile per il bottone hamburger */
.hamburger-menu {
    cursor: pointer;
}

/* Background overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.not-found {
    font-weight: 800;
    font-size: 350px;
}

.booking-success {
    font-weight: 800;
    font-size: 3rem;
}

@media (max-width: 768px) {
    .not-found {
        font-size: 150px;
    }

    .booking-success {
        font-weight: 800;
        font-size: 1rem;
    }

    .booking-success-p {
        font-size: 0.6rem;
    }
}

/* =================MOBILE MENU================= */

/* =================CURSOR LINE STYLE================= */

/* Line following cursor styel*/
canvas#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

/* =================CURSOR LINE STYLE================= */

.privacy-policy {
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: center;
    align-items: start;
    padding: 100px 100px;
    text-align: start;
}

.privacy-policy li {
    list-style: disc;
}

@media (max-width: 1024px) {
    .privacy-policy {
        padding: 100px 20px;
    }

    .privacy-policy h1 {
        font-size: 1.2rem;
    }

    .privacy-policy h2,
    .privacy-policy h3 {
        font-size: 1rem;
    }

    .privacy-policy p,
    .privacy-policy li {
        font-size: 0.8rem;
    }
}

.articles-container img {
    height: 100% !important;
}

.articles-container h2 {
    font-size: 1.2rem;
}

#articles-image-container {
    padding: 0;
}

#articles-image-container img {
    object-fit: cover;
    height: auto;
    max-width: 100%;
}

.article-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: auto;
    padding: 40px;
}

.article-title-container {
    text-align: center;
}

.article-content {
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 40px 80px;
    width: 80%;
    gap: 40px;
}

.image-article-container {
    width: 40%;
}

.image-article-container img {
    height: 400px;
    width: 400px;
    object-fit: cover;
    object-position: center;
}

.article-description {
    display: flex;
    height: 100%;
    width: 60%;
    align-items: start;
}

.btn-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    width: 100%;
    padding: 40px;
    gap: 20px;
}

.delete-button {
    width: 30%;
    background-color: #9b2c2c;
    border: 2px solid #9b2c2c;
    white-space: nowrap;
    text-align: center !important;
}

.delete-button:hover {
    background-color: #9b2c2c;
    border-color: #9b2c2c;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.delete-button:active {
    background-color: #9b2c2c;
    border-color: #9b2c2c;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.update-button {
    width: 30%;
}

.update-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .btn-container button {
        width: 100%;
    }
    .article {
        padding: 80px 0;
    }

    .article-hero-title-container h1 {
        font-size: 1.4rem;
    }

    .article-hero-title-container p {
        font-size: 1rem;
    }

    .article-container {
        padding: 20px;
    }

    .article-content {
        padding: 0;
        flex-direction: column;
        align-items: center;
    }

    .image-article-container {
        width: 100%;
    }

    .image-article-container img {
        width: 100%;
    }
    .article-description {
        width: 100%;
    }
}
