@import url('../../assets/css/fawesome-all.css');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
.Prin {
    width: 100%;
    height: 35vh;
    background-image: url("../img/gordon.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.bienvenida {
    text-align: center;
    color: white;
    position: absolute;
}

.bienvenida h1 {
    font-size: 1.8em;
    margin-bottom: 0.2em;
    font-weight: bold;
}

.bienvenida p {
    font-size: 1.5em;
    font-weight: 300;
}
.searchMedio {
    display: flex;
    justify-content: center;
    position: relative;
    top: -30px;
}
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    padding: 10px;
    width: 400px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.search-bar input {
    border: none;
    padding: 12px 60px;
    background: rgb(255, 255, 255);
    color: rgb(71, 71, 71);
    font-size: 1em;
    outline: none;
}

.search-bar input::placeholder {
    color: rgb(95, 95, 95);
    font-style: italic;
    font-size: 1.1em;
}
.search-bar .Sico {
    background-color:transparent;
    border: none;
    padding: 10px;
    position: absolute;
    right: 0%;
    width: 65px;
    height: 63px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    .fa-regular {
        color: #7c7c7c;
        font-size: 2em;
    }
}
.search-bar .ubi {
    background-color: rgba(55, 233, 31, 0.774);
    border: none;
    padding: 10px;
    left: 0%;
    position: absolute;
    width: 65px;
    height: 63px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    .fa-regular {
        color: #faeded;
        font-size: 2em;
    }
}

.categories{
display: flex;
flex-wrap: nowrap;
justify-content: center;
gap: 1em;
overflow: auto hidden;
}

.categories a{
    flex: 0 0 100px;
    color: gray;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25em;
    padding: 0.5em;
    transition: all 0.3s ease;
    .fa-thin, .fa-regular, .fa, .fa-solid {
        font-size: 2.5em;
    }
}

.categories a:hover{
    color: black;
    background-color: #f0f0f0;
    border-radius: 5px;
}
.OffSection {
    padding: 50px 20px;
    max-width: 13000px;
}

.offers{
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
}

.offer-card {
    overflow: visible;
    position: relative;
    display: flex;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 30vh;
}

.offer-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.offer-card img {
    width: 200px;
    border-radius: 15px 0 0 15px;
    object-fit: cover;
}

.info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #222;
}

.info p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}


.rat{
    display: flex;
    align-items: center;
    margin: 10px 0;
    }
.stars .opinion {
    color: #8f8f8f;
}
.stars .fa {
    color: rgb(105, 206, 74);
    font-size: 1.2em;
    margin-right: 3px;
}

.price{
    position: absolute;
    right: 2%;
}
.price .fa-solid{
       color: rgb(105, 206, 74);
    font-size: 1.2em;
    margin-right: 3px;
}

.rating {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: rgb(82, 235, 36);
    color: white;
    display: flex;
    font-weight: bold;
    align-items: center;
    padding: 10px 10px;
    border-radius: 10px 2px;
    font-size: 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}