/* ====== Impostazioni generali ====== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

/* ====== Booking Section ====== */
#booking {
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.booking-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.booking-content {
    flex: 1 1 350px;
    text-align: center;
}

.booking-content h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.booking-subtitle {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 500px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.booking-form {
    flex: 1 1 350px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    min-width: 300px;
}

/* Octorate widget iframe override */
.booking-form iframe,
.booking-form > div {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ====== Galleria ====== */
.gallery-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(210, 31, 27, 0.4);
}

/* ====== Lightbox ====== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #d21f1b;
}


/* ====== Footer ====== */
.footer {
	background-color: #111;
	padding: 60px 20px 30px;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 1100px;
	margin: 0 auto;
	gap: 40px;
  }
  
  .footer-col {
	flex: 1 1 100px;
  }
  
  .footer h4 {
	font-size: 1.4rem;
	margin-bottom: 20px;
	text-transform: uppercase;
	color: #fff;
	border-bottom: 2px solid #d21f1b;
	display: inline-block;
	padding-bottom: 5px;
  }
  
  .footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
  }
  
  .footer ul li {
	margin-bottom: 12px;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 10px;
  }
  
  .footer ul li i {
	color: #d21f1b;
  }
  
  .footer-social {
	display: flex;
	gap: 15px;
	margin-top: 10px;
	flex-wrap: wrap;
  }
  
  .footer-social a img {
	width: 36px;
	filter: grayscale(100%);
	transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .footer-social a img:hover {
	transform: scale(1.15);
	filter: grayscale(0%);
  }
  
  .footer-bottom {
	text-align: center;
	margin-top: 40px;
	font-size: 0.9rem;
	color: #ccc;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
	.footer-container {
	  flex-direction: column;
	  align-items: center;
	  text-align: center;
	}
  
	.footer-col {
	  max-width: 100%;
	}
  
	.footer-social {
	  justify-content: center;
	}
  }
  

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
    .booking-content h1 {
        font-size: 2.2rem;
    }

    .booking-subtitle {
        font-size: 1rem;
    }

    .carousel-inner img {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .booking-content h1 {
        font-size: 1.8rem;
    }

    .booking-subtitle {
        font-size: 0.9rem;
    }

    .carousel-inner img {
        height: 220px;
    }

    .carousel-control {
        font-size: 1.5rem;
        padding: 8px 16px;
    }

    .footer h4 {
        font-size: 1.1rem;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* Responsive: su mobile scroll orizzontale */
@media (max-width: 768px) {
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding: 0 15px;
    }

    .gallery-grid img {
        flex: 0 0 auto;
        width: 250px;
        height: 180px;
        scroll-snap-align: start;
    }
}