body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Barre de defilement LandesRando */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.22);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: #a64032;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: #7c2d27;
}

html,
body {
    scrollbar-width: thin;
    scrollbar-color: #a64032 rgba(255, 255, 255, 0.22);
}

.carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #000;
}

/* Fondu enchaîné propre — écrase Bootstrap */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.4s ease-in-out !important;
    transform: none !important;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
}

.carousel-caption {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 18px;
    border-radius: 4px;
    color: white;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

.content-overlay h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    font-weight: 300;
    letter-spacing: 1px;
}

.welcome-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
    max-width: 600px;
}

.button-group {
    pointer-events: auto;
}

.btn-custom {
    margin: 8px;
    padding: 10px 28px;
    font-size: 0.95rem;
    border-radius: 25px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.button-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}

.btn-primary {
    background-color: #007bff;
}

.btn-success {
    background-color: #28a745;
}

.btn-light {
    background-color: #f8f9fa;
    color: #212529;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Flèches du carrousel */
.carousel-control-prev,
.carousel-control-next {
    z-index: 3;
    width: 5%;
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}

/* Rond gris au survol des flèches */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(150, 150, 150, 0.6);
    border-radius: 50%;
    padding: 1.4rem;
    background-size: 1.2rem;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
    .content-overlay h1 {
        font-size: 2rem;
    }
    .btn-custom {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

.copyright {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 0.75rem;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
    font-weight: 300;
}
