body.page-home main {
    position: relative;
    justify-content: flex-start;
    text-align: center;
    padding-top: 0.2em;
}

body.page-home .main-content-wrapper {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.page-home .main-title {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    font-size: clamp(1.2em, 3vw, 2em);
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

body.page-home .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./../Images/Fond01.webp') center/cover no-repeat;
    z-index: 0;
    overflow: hidden;
}

body.page-home .video-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

body.page-home .video-container video {
    width: 100%;
    height: auto;
    max-height: 60vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body.page-home .villa-intro {
    color: #fff;
    background: rgba(0, 37, 65, 0.8);
    padding: 14px 18px;
    border-radius: 10px;
    line-height: 1.5;
}
body.page-home .villa-intro a { color: #fff; }

body.page-home .video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #004d99;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 24px;
    padding: 12px 24px;
    font: bold 1rem "Times New Roman", Times, serif;
    cursor: pointer;
}
body.page-home .video-play[hidden] { display: none; }

body.page-home .buttons-column-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

body.page-home .button-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
}

body.page-home .button-container a.button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 35px;
    font-size: 1.2em;
    font-weight: bold;
    color: #00365a;
    background-color: #4FBEFF;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
}

body.page-home .button-container a.button:hover {
    background-color: #38a5e3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    animation: none;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6); }
    100% { transform: scale(1); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); }
}

@media (max-width: 600px) {
    body.page-home main {
        padding-top: 10px;
        padding-bottom: 40px;
    }

    body.page-home .main-content-wrapper {
        width: calc(100% - 40px);
        max-width: 100%;
        margin: 0 20px;
    }

    body.page-home .video-container {
        margin-bottom: 40px;
    }

    body.page-home .video-container video {
        max-height: 30vh;
    }

    body.page-home .button-container {
        max-width: 90%;
    }

    body.page-home .button-container a.button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
}
