*,
*::after,
*::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #13171e;
    color: white;
    overflow-x: hidden;
}

header {
    top: 0;
    margin: 0;
}
  
nav {
    background-color: #1e202c;
    border-bottom: #ffa734 solid 3px;
    padding: 0.5rem;

    display: flex;
    justify-content: space-around;
    align-items: center;

    img {
        width: 100px;
        height: 100px;
    }

    ul {
        max-width: 1100px;
        font-size: 1.3rem;
        margin-left: auto;
        margin-right: auto;
        list-style-type: none;
    
        display: flex;
        justify-content: center;
    }
}

nav li {
    padding: 0.5rem;
    border-radius: 30px;
}

nav .iamhere {
    padding: 8px 16px;
    border-radius: 30px;
    color: #ffa734;
}

.search-input {
    width: 80%;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
    font-size: 16px;
    transition: 0.3s;
}

.search-input:focus {
    border-color: #ffa734;
    box-shadow: 0 0 25px rgba(255, 0, 132, 0.5);
}

.recent-add {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.recent-add .title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.recent-add .title {
    font-size: 32px;
    color: #1e202c;
    font-weight: 600;
}

.recent-add .flag {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.recent-add .illustration {
    width: 100%;
    height: 220px;
    border-radius: 10px;
}

.card {
    display: grid;
    grid-template-rows: auto auto 1fr;
    background: #1e202c;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    height: 100%;

    h2 { color: #ffa734; text-align: center; }
    button { width: 100%;}
}

.card .desc {
    background-color: #13171e;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card img {
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    height: auto;
}

.color-btn {
    text-decoration: none;
    color: #1e202c;
    background-color: #ffa734;
    border-radius: 10px;
    padding: 10px;
}

.white {
    color: #fff;
}

nav a {
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
}

nav a:hover:not(.logo) {
    background-color: #ffa734;
    border-radius: 20px;
}

nav a.iamhere:hover {
    color: #ffffff;
}

colortxt {
    color: #ffa734;
}

input:focus {
    outline: solid;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: center;
    margin: 3rem;
}

details {
    background-color: #1e202c;
    border-radius: 4px;
    padding: 0.5em 0.5em 0;
    width: 800px;
    font-size: 1.2rem;

    margin-bottom: 2rem;

    :hover {
        cursor: pointer;
    }
}
  
summary {
    font-weight: bold;
    margin: -0.5em -0.5em 0;
    padding: 0.5em;
}
  
details[open] {
    padding: 0.5em;

    summary {
        border-bottom: 1px solid #aaa;
        color: #ffa734;
        margin-bottom: 0.5em;
    }
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #1e202c;
    border-top: #ffa734 solid 3px;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;

    ul {
        max-width: 1100px;
        font-size: 1.2rem;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        list-style-type: none;
    
        display: flex;
        justify-content: center;
        gap: 60px;
    
        img {
            width: 30px;
            height: 30px;
        }
    }

    a {
        color: #ffa734;
        text-decoration: none;
    }
}


.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #ffffff;

    ::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 5px;
        left: 0;
        background-color: #ffa734;
        transform-origin: bottom right;
        transition: transform 0.5s ease-out;
    }

    :hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
}

.destinations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.destinations-block {
    background-color: #1e202c;
    border-radius: 26px;
    max-width: 500px;
    height: 580px;
    

    padding: 20px;
    text-align: center;

    gap: 20px;

    .icon-txt {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        img {
            width: 20px;
            height: 20px;
        }
    } 

    img {
        width: 100%; height: 260px; border-radius: 10px;
    };
}

.destinations-block:hover {
    box-shadow: 0 0 25px #ffa734;
}

.mentions-legales {
    margin-left: auto;
    margin-right: auto;
    max-width: 768px;

    h1 {
        color: #ffa734;
        text-align: center;
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    h2, a  {
        color: #ffa734;
    }
}

.select-box {
    background-color: #ffa734;
    border-color: #ffa734;
    color: #1e202c;
    border-radius: 15px;
    
    padding: 10px;
    font-size: 1.2rem;
    width: 500px;
}

.select-box:hover {
    box-shadow: 0 0 25px #ffa734;
}

.block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 60px;
    margin-left: 100px;
    margin-right: 100px;

    :hover {
        background-color: #1d1d1d;
        transform: scale(1.02);;
        transition: 0.2s;
    }
}

.block-link {
    background-color: #13171e;
    border-bottom: #ffa734 solid 5px;

    width: 600px;
    padding: 20px;
    h2 {margin: 0; text-align: center; color: #ffa734;}
}

button {
    background-color: #ffa734;
    color: #1e202c;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 1.1rem;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: #1e202c;
}

button:hover {
    background-color: #ffc06d;
}

.center-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 768px;
    border-radius: 25px;
    h1 {
        color: #ffa734;
        margin-bottom: 2rem;
        font-size: 3rem;
        text-align: center;
    }
    p {
        text-align: center;
        font-size: 1.1rem;
    }
    form {
        border-radius: 15px;
        label {
            margin-top: 2rem;
        }
    }
}

.faq-container {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

#no-results-message {
    text-align: center;
    margin: 50px 0;
    font-size: 1.2rem;
    color: #888;
}

.primary {
    padding-bottom: 100px;
    h1 {
        font-size: 2.3rem;
        padding-left: 3rem;
        border-left: #ffa734 solid 5px;
    }
}

.secondary {
    background-color: #1e202c;
    padding-top: 5px;
    padding-bottom: 100px;
    h1 {
        text-align: center;
        font-size: 2.3rem;
    };
    a {
        color: #fff;
    }
}

.floating-anim {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}