:root {
    --k-black: #1A1A1A;
    --k-primary: #8B0000;
    --k-primary-light: #a52a2a;
    --k-gold: #FFC107;
    --k-light: #F5F5F5;
    --font-display: 'Anton', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: var(--font-body);
    overflow: hidden;
}

#map-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    z-index: 2;
}

.landing-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 20px;
    z-index: 3;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 350px;
    width: 100%;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    border-radius: 50px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
}

.search-wrapper:hover {
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.1);
}

#address-search {
    width: 100%;
    box-sizing: border-box;
    padding: 22px 80px 22px 30px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    border: 2px solid transparent;
    border-radius: 50px;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
}

#address-search:focus {
    border-color: var(--k-primary);
}

#search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: var(--k-black);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 4;
}

#search-button:hover {
    transform: translateY(-50%) scale(1.05);
    background-color: var(--k-primary);
}

.sub-actions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}


.skip-link {
    text-decoration: none;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;


    color: #8B0000;
    background-color: white;
    border: 2px solid #8B0000;

    background-image: linear-gradient(110deg, #ffffff 40%, #4B0082 40%, #4B0082 46%, #8B0000 46%, #8B0000 52%, #FFC107 52%, #FFC107 58%, #ffffff 58%);
    background-size: 250% 100%;
    background-position: 100% 0;

    transition: background-position 1.5s ease, transform 0.2s, box-shadow 0.2s;
}

.skip-link:hover {
    background-position: 0 0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(75, 0, 130, 0.15);
    color: #8B0000;
}

.skip-link:active {
    transform: translateY(0);
}


.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--k-primary);
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 25px 25px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: none;
    margin-top: 2px;
    border-top: 1px solid #f0f0f0;
}

.autocomplete-result {
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 1px solid #f9f9f9;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: left;
}

.autocomplete-result:hover {
    background-color: #fff5f5;
    padding-left: 35px;
    border-left: 3px solid var(--k-primary);
}

.autocomplete-result:last-child {
    border-bottom: none;
    border-radius: 0 0 25px 25px;
}

.autocomplete-result .place-name {
    font-weight: bold;
    color: var(--k-black);
    margin-bottom: 4px;
}

.autocomplete-result .place-address {
    color: #777;
    font-size: 0.85rem;
}

.search-wrapper.has-autocomplete {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 25px 25px 0 0;
}

.color-bar-signature {
    height: 4px;
    width: 100%;
    max-width: 250px;
    margin: 0rem auto;
    /* Espacement vertical et centrage horizontal */
    border-radius: 2px;
    background: linear-gradient(to right,
            #8B5CF6 0%, #8B5CF6 20%,
            /* Violet */
            #3B82F6 20%, #3B82F6 40%,
            /* Bleu */
            #22C55E 40%, #22C55E 60%,
            /* Vert */
            #FFDB59 60%, #FFDB59 80%,
            /* Orange */
            #EF4444 80%, #EF4444 100%
            /* Rouge */
        );
}