/* Header */

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 4rem;
    z-index: 1000;
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-logo {
    width: 300px;
}

.header-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.header-list-item {
    list-style: none;
}

.header-list-item a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 16px;
    border-bottom: 5px solid transparent;
    transition: all 0.3s ease-in-out;
}

.header-list-item a.active {
    border-bottom-color: white;
}

.header-list-item a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* Footer */

.footer {
    padding: 2rem;
    background-color: #d3d3d3;
    color: #000000;
}

.footer-lists {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 10rem;
}

.footer-list {
    list-style: none;
}

.footer-list-item-header {
    margin-bottom: 1rem;
}

.footer-list-item-header-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-list-item {
    margin-bottom: 1rem;
}

.footer-list-item-link {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.footer-list-item-link:hover {
    color: rgba(0, 0, 0, 0.7);
}

.footer-copyright {
    margin-top: 2rem;
    text-align: center;
}

/* Hero */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero-background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    gap: 4rem;
}

.hero-title {
    padding-top: 4rem;
    font-size: 3rem;
    font-weight: 600;
}

.hero-list {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    gap: 4rem;
}

.hero-list-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 25%;
}

.hero-list-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.hero-list-item div {
    font-size: 1.2rem;
    font-weight: 500;
}

.hero-button {
    display: inline-block;
    padding: 1rem 4rem;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid #fff;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.hero-button:hover {
    transform: scale(1.05);
}

/* Description */

.description {
    padding: 4rem;
    background-color: #fff;
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.description h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    text-align: center;
}

.description-section {
    display: flex;
    width: 70%;
    justify-content: center;
    align-items: start;
    gap: 2rem;
    margin-bottom: 4rem;
}

.description-section p {
    width: 40%;
}

.description-section a {
    width: 40%;
}

.description-section a img {
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.description-section > img {
    width: 40%;
    object-fit: cover;
    border-radius: 5px;
}

/* Animation pour la carte Google Maps */
.maps-link {
    display: block;
    width: 100%;
    max-width: 520px;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maps-container {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.maps-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.maps-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: autoShow 8s infinite;
    pointer-events: none;
}

.click-indicator {
    position: relative;
    text-align: center;
    color: white;
    opacity: 0;
    animation: autoAppear 8s infinite;
}

.click-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
    margin-bottom: 10px;
    animation: fadeInUp 0.5s ease;
}

.pulse-ring {
    width: 60px;
    height: 60px;
    border: 3px solid white;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    animation: pulse 2s infinite;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    animation: innerPulse 2s infinite;
}

/* Effets au survol */
.maps-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.maps-link:hover .maps-container img {
    filter: brightness(0.7) contrast(1.2);
    transform: scale(1.1);
}

.maps-link:hover .maps-overlay {
    opacity: 1;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes innerPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes autoShow {
    0%, 62.5% {
        opacity: 0;
    }
    75%, 87.5% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes autoAppear {
    0%, 62.5% {
        opacity: 0;
        transform: translateY(20px);
    }
    75%, 87.5% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Effet de clic */
.maps-link:active {
    transform: scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-position: center top;
    }
    
    .click-text {
        font-size: 1rem;
    }
    
    .pulse-ring {
        width: 50px;
        height: 50px;
    }
    
    .pulse-ring::before {
        width: 16px;
        height: 16px;
    }
}