/* #region colori e font */
@font-face {
    font-family: 'MaronBarista';
    src: url('/custom/readyestate/frontend/fonts/maron_barista.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
    --primary-color: #85b9c7;
    --secondary-color: #507882;
    --third-color: #eddace;
    --fourth-color: #b28c85;
    --dark-color: #1e3d45;
    --titles-font: 'MaronBarista';
    --subtitles-font: 'Playfair Display';
}
/* #endregion */

/* #region struttura */
body {
    margin: 0;
    font-family: "Raleway", sans-serif;
    background-color: #f7f7f7;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}
/* #endregion */

/* #region topbar */
.top-bar {
    padding: 0 20px;
    background-color: var(--secondary-color);
    color: #ffffff;
}

.top-bar-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    flex-wrap: wrap;
}

.top-bar-left,
.top-bar-center,
.top-bar-right {
    flex: 1;
    text-align: center;
}
.top-bar-center {
    display: none;
}

.top-bar-left {
    text-align: left;
}

.top-bar-right {
    text-align: right;
}

.top-bar a,
.top-bar a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-center,
    .top-bar-right {
        flex: none;
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }
}
/* #endregion */

/* #region header */
header {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    header {
        position: initial;
        margin-bottom: 0px;
    }
}

.site-header {
    background-color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    gap: 20px;
}

.logo {
    flex: 1;
}
.logo img {
    height: 80px;
    max-width: 100%;
}

.user-actions {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: end;
}

.user-icon {
    font-size: 20px;
    color: var(--secondary-color);
    text-decoration: none;
}

.user-icon:hover {
    color: var(--primary-color);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .user-icon {
        font-size: 18px;
    }
    .logo {
        text-align: center;
    }
    .user-actions {
        flex: none;
    }
}
/* #endregion */

/* #region menu */
.mobile-menu-toggle {
    display: none;
    float: left;
    font-size: 30px;
    padding-left: 10px;
    color: var(--primary-color);
}

.logo-container {
    padding: 20px 0px;
    text-align: center;
    border-bottom: 1px solid #ffffff;
}

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

.mobile-logo {
    display: none;
}

.toggle-menu {
    display: none;
}

nav .menu {
    width: 100%;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0px;
    padding-bottom: 0px;
}

nav .menu li a {
    color: var(--secondary-color);
    padding: 10px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 18px;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

nav .menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav .menu li a:hover::after {
    width: 100%;
}

@media (max-width: 1440px) {
    nav {
        width: 80%;
    }
}

@media (max-width: 1250px) {
    nav {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
        order: 3;
    }
    .header-container {
        gap: 0;
    }
    .main-nav .menu {
        margin: 0;
    }
}
@media (min-width: 1025px) and (max-width: 1249px) {
    nav {
        order: initial;
    }
    .logo {
        flex: none;
    }
}

.menu>li {
    white-space: nowrap;
}

.menu>li.othermenu {
    position: relative;
}

.menu>li.othermenu>ul.menu {
    display: none;
    position: absolute;
    width: auto;
    top: 100%;
    right: 0;
    background: white;
    padding: 0.5rem 1rem;
    list-style: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
}

.menu>li.othermenu:hover>ul.menu {
    display: flex;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

@media screen and (max-width: 1250px) {
    .menu-voice-size-1250 {
        display: none !important;
    }

    .submenu-voice-size-1250 {
        display: flex !important;
    }
}

@media screen and (max-width: 985px) {
    .menu-voice-size-985 {
        display: none !important;
    }

    .submenu-voice-size-985 {
        display: flex !important;
    }
}

@media screen and (max-width: 855px) {
    .menu-voice-size-855 {
        display: none !important;
    }

    .submenu-voice-size-855 {
        display: flex !important;
    }
}

@media screen and (max-width: 768px) {
    .menu li:not(.othermenu) {
        display: flex !important;
    }

    .menu li.othermenu {
        display: none !important;
    }
}

.close-menu {
    color: #ffffff;
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 36px;
    display: none;
}

@media (max-width: 768px) {
    header {
        margin-bottom: 0px;
    }

    .header-main {
        box-shadow: 0 5px 9px 0 rgba(0, 0, 0, .2);
        padding: 8px;
    }

    .mobile-logo {
        display: block;
        width: 75%;
        margin-left: 10px;
    }

    nav {
        width: 100%;
        display: none;
        visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10001;
        transition: visibility 0.4s;
        background-color: var(--primary-color);
        height: 100vh;
        overflow: auto;
        padding: 10px;
    }

    nav.open {
        display: block;
        visibility: visible;
    }

    nav .menu {
        display: block;
        width: 100%;
        padding-top: 10px;
    }

    nav .menu li a {
        color: #ffffff;
        font-size: 20px;
        margin-top: 0px;
        padding: 10px 20px;
        padding-right: 30px;
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo-container img {
        height: 60px;
    }

    .menu>li {
        margin-right: 1rem;
    }

    .close-menu {
        display: block;
    }
}
/* #endregion */

/* #region form */
.form-box {
    margin: 30px auto;
    background-color: #ffffff;
    max-width: 400px;
    padding: 20px 20px 10px 20px;
    border-radius: 20px;
}
.form-submit {
    background-color: var(--fourth-color);
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    height: 40px;
    width: 100%;
    font-size: 18px;
}
.form-submit:hover {
    background-color: #a48157;
}
.form-title {
    color: var(--secondary-color);
}
.form-buttons {
    margin: 10px;
    display: flex;
    justify-content: space-between;
}
.form-buttons a {
    color: var(--dark-color);
}
.form-buttons a:hover, .form-buttons a:focus {
    color: var(--secondary-color);
}
select {
    background-color: white;
}
.alert-danger, .label-danger {
    background-color: #dd5d45;
    border-color: #dd5d45;
    color: #ffffff;
}
/* #endregion */

/* #region footer */
.site-footer {
    background: var(--secondary-color);
    color: #ffffff;
    font-size: 15px;
    padding: 20px 0 0 0;
}

.footer-top {
    padding: 20px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column.with-1-subcolumns{
    display: flex;
    gap: 100px;
}

.site-footer a {
    color: inherit;
}
.footer-col p{
    margin-top:0px;
    margin-right: 10px;
}

.footer-logo {
    width: 240px;
    margin-bottom: 0px;
}

.footer-subcolumn-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 5px;
}
.footer-subcolumn-item i {
    font-size: 16px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    color: #ffffff;
}

.footer-subcolumn-item a,
.footer-subcolumn-item p,
.footer-subcolumn-item span {
    margin: 0;
    line-height: 1.4;
    display: inline-block;
}

.footer-subcolumn-item a {    
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 0;
}

.footer-subcolumn-item a:not(.footer-subcolumn-item-icon-text,.footer-subcolumn-item-icon-address) {
    display: block;
    float: left;
}

.footer-subcolumn-item a.footer-subcolumn-item-icon-address{
    font-size: 15px;
}

.footer-subcolumn-item a:hover {
    opacity: 0.8;
}

[class^="footer-subcolumn-item-icon-"]{
    position: relative;
    padding-left: 24px;
}

[class^="footer-subcolumn-item-icon-"] i{
    position: absolute;
    left:0px;
    top:2px;
}

.footer-social {
    margin-top: 30px;
}
.footer-social a {
    color: #ffffff;
    margin-right: 16px;
    transition: color 0.3s;
    display: inline !important;
    float: none !important;
}

.footer-social a i{
    font-size: 24px;
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 20px 20px 0 20px;
}

.footer-bottom-boxed {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    border-top: 1px solid #ffffff;
}
.footer-bottom-content{
    max-width: 768px;
    margin: 0 auto;
}
.footer-bottom-boxed .footer-bottom-content div{
    float:left;
    margin-right:14px;
    font-size:15px;
    margin-top:8px;
}
.footer-bottom-boxed a {
    color: #ffffff;
}

.iub__us-widget {
    display: none !important;
}

@media (max-width: 992px) {
    .footer-social {
        display: block;
        padding-left: 0;
    }
}

@media (max-width: 650px) {
    .footer-logo{
        height: 50px;
        width: auto;
        margin:0 10%;
    }
    .footer-bottom-boxed .footer-bottom-content div:first-child{
        float:none;
    }
    .footer-container{
        justify-content: unset;
        gap: unset;
        padding-top: 20px;
    }
    
    .footer-column.with-1-subcolumns{
        display: block;
        width: 100%;
    }
    
    .footer-column.with-1-subcolumns .footer-subcolumn{
        width: 45%;
        margin:0px 2.5%;
        float: left;
        display: block;
    }
    
    .footer-column{
        margin-bottom: 30px;
    }
    
    .footer-column:not(.with-1-subcolumns){
        width: 100%;        
    }
    .footer-column:not(.with-1-subcolumns) .footer-subcolumn{
        text-align: center;
    }
    .footer-social a{
        margin:0 8px;
    }    
}

@media (max-width: 576px) {
    .footer-col-big img{
        width: 70%;
    }
    .footer-col.footer-col-big {
        width: 100%;
        text-align: center;
    }

    .footer-social {
        display: block;
        padding-left: 0;
    }
    
    footer-social p{
        margin-bottom:0px;
    }

    .footer-col-item {
        display: block;
    }
}

@media (max-width: 485px) {
    .footer-bottom{
        padding-left:0px;
        padding-right: 0px;
        padding-top: 0px;
    }
    .footer-top{
        padding:0px;
    }
    .footer-col{
        margin-bottom:20px;
    }
    .footer-col *{
        font-size: 15px;
    }
    .footer-bottom-boxed .footer-bottom-content div{
        font-size:14px;
        margin-left:0px;
        margin-right:0px;
        padding:0 6px;
    }
}
/* Visualizza 4 colonne affiancate su desktop */
@media (min-width: 993px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap;
    }

    .footer-column.with-1-subcolumns {
        width: 23%;
        flex-direction: column;
    }
}

@media (max-width: 992px) and (min-width: 651px) {
    .footer-column.with-1-subcolumns {
        width: 48%;
        margin-bottom: 30px;
    }
}

@media (max-width: 650px) {
    .footer-column.with-1-subcolumns {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-column.with-1-subcolumns .footer-subcolumn {
        width: 100%;
        margin: 0;
        float: none;
    }
    .footer-subcolumn {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-subcolumn-item {
        justify-content: center;
    }

    .footer-subcolumn-item p,
    .footer-subcolumn-item a {
        text-align: center;
    }
}
/* #endregion */

/* #region home header */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    background-color: var(--secondary-color);
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('/custom/readyestate/frontend/img/header-bg.png');
    background-color: var(--secondary-color);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
/* #endregion */

/* #region search form */
.search-box {
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    position: relative;
    bottom: -40px;
    z-index: 2;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.search-form input,
.search-form button {
    flex: 1 1 200px;
    padding: 15px;
    font-size: 16px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
}

.search-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form button:hover {
    background-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .search-box {
        bottom: -20px;
        padding: 20px;
    }

    .search-form input,
    .search-form button {
        flex: 1 1 100%;
    }
}
/* #endregion */

/* #region dettaglio host */
/* inizio header host */
.host-image {
    position: relative;
    width: 100%;
    height: 35vh;
    max-height: 600px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.host-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    z-index: 1;
}

.host-header {
    position: absolute;
    top: 2rem;
    left: 0px;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: var(--secondary-color);
}

.host-title {
    font-family: var(--titles-font);
    font-size: 3.4rem;
    margin: 0;
    letter-spacing: 4px;
    font-weight: 600;
}

.host-subtitle {
    font-size: 24px;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .host-title {
        font-size: 2rem;
        top: 1rem;
    }

    .host-booking-form {
        flex-direction: column;
        margin: -4rem 1rem 2rem;
    }

    .check-btn {
        width: 100%;
    }
}
/* fine header host */

/* inizio form host */
.host-details {
    padding-top: 70px;
}

.host-booking-form {
    background: white;
    color: #333;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: fit-content;
    margin: -50px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 3;
}
.host-booking-form-inline {
    margin: 20px auto;
}

.field {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.field label {
    margin-bottom: 0.4rem;
}
@media (max-width: 768px) {
    .field {
        min-width: 300px;
    }
}

input[type="date"],
input[type="text"],
select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 40px;
}

.check-btn {
    background-color: var(--fourth-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: end;
    height: 40px;
}

.check-btn:hover {
    background-color: #a48157;
}

@media (max-width: 768px) {
    .check-btn {
        width: 100%;
    }
}
/* fine form host */

/* inizio dettaglio host */
.detail-columns {
    background-color: #f8f4f0;
    padding: 20px 0px;
}

.detail-columns .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.detail-columns .container>div {
    flex: 1 1 300px;
}
.detail-columns-half .container>div {
    width: 50%;
}

.detail-columns>div h2 {
    font-family: var(--subtitles-font);
    margin-top: 0px;
    font-size: 2rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 16px;
}

.detail-columns>div p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 0px;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.services-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-item span {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .detail-columns {
        flex-direction: column;
    }

    .services-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* fine dettaglio host */

/* inizio stanze e tariffe */
.rooms-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.rooms-section h2 {
    font-family: var(--subtitles-font);
    color: var(--dark-color);
    margin-top: 0px;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.room-item {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--fourth-color);
}

.room-image {
    width: 100%;
    display: block;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
}

.room-card p {
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    margin-top: 10px;
}

.room-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.room-info-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.room-info-item span {
    font-size: 1.1rem;
}

.room-plans {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.room-plan-item {
    display: flex;
    flex: 1;
    background-color: var(--fourth-color);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
}
.room-plan-item:hover {
    background-color: var(--primary-color);
}
.room-plan-name, .room-plan-cancellation-policy {
    margin-bottom: 5px;
}
.room-plan-info {
    flex: 1;
}
.room-plan-price {
    font-size: 22px;
    font-weight: bold;
    justify-content: end;
    align-items: center;
    display: flex;
}

@media (max-width: 768px) {
    .room-card p {
        font-size: 20px;
    }
}

/* mappa */
.map-section h2 {
    font-family: var(--subtitles-font);
    color: var(--dark-color);
    margin-top: 0px;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 16px;
}
/* #endregion */

/* #region home servizi */
.section-services {
    background-color: var(--fourth-color);
    padding: 60px 20px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
}
.section-services .section-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 40px;
}
.section-services .section-content.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
.section-services .service-card {
    flex: 0 0 200px;
    color: #ffffff;
}
.section-services .service-card i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ffffff;
}
.section-services .service-card p {
    font-size: 18px;
    margin: 0;
}
@media (max-width: 768px) {
    .section-services .service-card {
        flex: 0 0 100px;
    }
}
@media (max-width: 425px) {
    .section-services .service-card {
        flex: 0 0 200px;
    }
}
/* #endregion */

/* #region home lista strutture */
.section-structures {
    padding: 40px 20px;
    text-align: center;
}

.structures-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.structure-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    width: calc(33.333% - 20px);
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.structure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.section-structures .section-title {
    color: var(--secondary-color);
    text-transform: uppercase;
}
.structure-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 2;
}

.structure-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.structure-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.structure-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    font-family: var(--subtitles-font);
}

.structure-subtitle {
    font-size: 14px;
    color: var(--fourth-color);
}

.structure-rating {
    font-size: 18px;
    color: #f2b01e;
    text-align: center;
}

.structure-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    margin-top: 10px;
}

.structure-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.structure-button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.structure-button:hover {
    background-color: var(--secondary-color, #85b9c7);
}

.section-button-wrapper {
    margin-top: 40px;
}

.section-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.section-button:hover {
    background-color: var(--primary-color-dark, #333);
}
@media (max-width: 992px) {
    .structure-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .structure-card {
        width: 100%;
    }
}
/* #endregion */

/* #region pagina lista strutture */
.structures-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1440px;
    margin: 0 auto;
}

/* Sidebar filtri */
.structures-sidebar {
    flex: 0 0 250px;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
}

.structures-sidebar h3 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 15px;
}

.filter-group label {
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Contenuto a destra */
.structures-list-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Responsive layout */
@media (max-width: 992px) {
    .structures-page-container {
        flex-direction: column;
    }

    .structures-sidebar {
        width: 100%;
    }

    .structures-list-content {
        width: 100%;
    }
}
/* Pulsante toggle visibile solo su mobile */
.toggle-filters-btn {
    display: none;
    margin-bottom: 20px;
    background: var(--primary-color, #951a81);
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .toggle-filters-btn {
        display: inline-block;
    }

    .structures-sidebar {
        display: none;
        width: 100%;
        margin-bottom: 20px;
        animation: fadeIn 0.3s ease-in-out;
    }

    .structures-sidebar.active {
        display: block;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* #endregion */

/* #region slider */
.slider-section {
    margin-bottom: 20px;
    text-align: center;
}

.slider-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.slider-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.slider-container {
    position: relative;
    overflow: hidden;
    max-width: 1440px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 10px;
}

.slider-item .content-box {
    padding: 5px;
}

.slider-item h4 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 24px;
    padding:0 10px;
    height: 72px;
}
.slider-item .btn-action {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: 1px solid var(--secondary-color);
    padding: 15px 25px;
    width: 100%;
    font-size: 15px;
    text-align: center;
}

.slider-item .product-img {
    width: 100%;
    /*max-height: 200px;*/
    object-fit: contain;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.arrow {
    background: var(--fourth-color);
    color: #ffffff;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    pointer-events: auto;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: var(--third-color);
}

.slider-button {
    margin-top: 30px;
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
}

@media (min-width: 576px) {
    .slider-item {
        flex: 0 0 50%;
    }
    .slider-section.recipes .slider-item:nth-child(even) {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .slider-section{
        padding: 30px 10px;
    }
    .slider-button {
        width:60%;
        text-align: center;
        margin:0px auto;
        margin-top:30px;
        font-size: 18px;        
    }
}

@media (min-width: 768px) {    
    .slider-item {
        flex: 0 0 33.3333%;
    }
}

@media (min-width: 992px) {
    .slider-item {
        flex: 0 0 25%;
    }
}
/* #endregion */

/* #region pagina chi siamo */
.section-about {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-img {
  flex: 1;
  min-width: 300px;
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--secondary-color);
  font-family: var(--subtitles-font);
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* Sezione Galleria */
.section-gallery {
  padding: 10px 20px 30px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-gallery .section-title {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--secondary-color);
  font-family: var(--subtitles-font);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 200px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-row,
  .about-row.reverse {
    flex-direction: column;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }
}
/* #endregion */

/* #region pagina contattaci */
.section-contact {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: start;
}

.contact-form,
.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 10px 20px 30px 20px;
    border-radius: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 6px;
  color: var(--secondary-color);
  font-family: var(--subtitles-font);
}

.form-group input,
.form-group textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
}

.btn-primary {
  padding: 12px 20px;
  font-size: 16px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-color);
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.contact-info h3 {
    color: #ffffff;
    font-family: var(--subtitles-font);
}
.contact-info a {
    color: #ffffff;
}

.contact-info i {
  margin-right: 10px;
  color: #ffffff;
}

.contact-social {
  margin-top: 20px;
}

.contact-social a {
  margin-right: 12px;
  font-size: 20px;
  color: #ffffff;
  transition: color 0.3s;
}

.contact-social a:hover {
  color: #ffffff;
}

.section-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }

  .contact-info p {
    font-size: 15px;
  }
}
/* #endregion */

/* #region faq */
.section-faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-question {
  background-color: var(--fourth-color);
  color: #ffffff;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: var(--third-color);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #000000;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-question {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 15px;
  }
}
/* #endregion */


/* #region colori */
/* <editor-fold desc="Colori"> */

/* </editor-fold> */
/* #endregion */