:root {
	--primary: #99592a;
}

body {
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 500;
	background: linear-gradient(180deg, #f0f4f7 0%, #ffffff 100%);
}

.bg-primary, .btn-primary {
	background-color: var(--primary) !important;
}

.btn-primary {
	border-color: var(--primary) !important;
}

.text-primary {
	color: var(--primary) !important;
}

header {
	background-color: var(--primary);
	padding: 1.5rem 2rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

header .btn img:hover {
	transform: scale(1.1);
	box-shadow: 0 0 6px rgba(0,0,0,0.3);
	transition: all 0.2s ease-in-out;
}

strong, b {
	font-weight: 900 !important;
}

.deg-banner {
	top: 1rem;
	left: 1rem;
	position: absolute;
	background-color: var(--primary);
	color: #fff;
	padding: 8px 15px;
	font-size: 16px;
	border-radius: 20px;
	z-index: 10;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.carousel-item img {
	max-height: 350px;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.carousel-inner {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.carousel-inner img {
	border-radius: 10px;
}

h2#titoloSala {
	font-weight: bold;
	color: var(--primary);
	border-bottom: 2px solid var(--primary);
	display: inline-block;
	padding-bottom: 0.3rem;
	margin-bottom: 1rem;
}

h6#titoloMuseo {
	color: #666;
	font-style: italic;
}

.btn-primary {
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-primary:hover {
	transform: translateY(-2px);
	background-color: var(--primary) !important;
}

.btn-primary:focus, .btn-primary:active {
	box-shadow: 0 0 0 0.25rem rgba(8, 138, 175, 0.5) !important;
}

.tour-label {
  text-align: center;
  color: var(--primary) !important;
  margin-bottom: -.5rem;
  font-size: 28px !important;
}

.tour-wrapper {
  width: 100%;
  max-width: 100%;
}

.tour-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: .75rem;
  padding: 1rem;
  max-width: 100%;
  margin: auto;
}

.tour-step {
  padding: .75rem .9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e2e2;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  transition: all .2s ease;
}

.step-index {
  opacity: .6;
}

.step-title {
  font-weight: 500;
}

.tour-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

/* Stato attivo */
.tour-step.active {
  background: var(--primary) !important;
  color: #fff;
  border-color: var(--primary) !important;
}

.tour-step.active .step-index {
  opacity: .9;
}

/* Mobile extra-small */
@media (max-width: 360px) {
  .tour-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}


#container {
	height: 650px;
}

p.lead {        
	overflow-y: hidden;
	transition: height .3s linear;
	max-height: 200px;
}

@media (max-width: 1399.98px) {
	#container {
		height: 600px;
	}
}

@media (max-width: 1199.98px) {
	#container {
		height: 550px;
	}
}

@media (max-width: 991.98px) {
	#container {
		height: 500px;
	}
}

@media (max-width: 767.98px) {
	#container {
		height: 450px;
	}
}

@media (max-width: 575.98px) {
	#container {
		height: 400px;
	}
}

@media (max-width: 991.98px) {
	.container > .row > .col-lg-8,
	.container > .row > .col-lg-4 {
		padding: 1rem;
	}

	.carousel-inner {
		margin-top: 1rem;
	}
}