@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&display=swap');
/* utilizzato per migliroare graficamente i titoli con font ed eventuali altri dettgli*/

:root {
  --primary-color: white;
  --secondary-color: black;
}

.navbar-brand {
  font-size: 2.5rem;
}

.dropdown-item:hover {
  background: none !important;
}

.a:hover {
  background: none !important;
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  font-family: "Roboto Condensed";
  font-size: 20px;
  color: var(--primary-color);
  background: url('../img/background.png');
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

* {
     box-sizing: border-box;
}

.sidebar {
  background-color: rgba(17, 1, 1, 0.65);
  backdrop-filter: blur(10px);
}

.navbar {
  max-width: 100%;
}

.dropdown-item {
  font-size: 20px;
}

h6, h5, h3, h2, h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Sigmar";
  line-height: 1.2;
  color: var(--primary-color);
}

h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Roboto Condensed";
  line-height: 1.2;
  color: var(--primary-color);
}

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

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}
/*
#prenota {
  display: flex;
  position: fixed;
  bottom: 40px;
  right: 20px;
  border: none;
  outline: none;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}*/

#prenota {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  padding: 14px 10px;
  border: none;
  outline: none;
  border-radius: 0px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  writing-mode: vertical-rl; /* Testo verticale dall’alto verso il basso */
  text-orientation: mixed;
  z-index: 999;
}

#prenota:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

#prenota:active {
  transform: translateY(-50%) scale(0.97);
}

#richiedi {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 4px;
}
  
.infocontent {
  flex: 1; /* Spinge il footer verso il basso */
  padding: 20px;
}
    
.table {
  color: var(--primary-color);
}

#languageSwitcher:focus,
#languageSwitcher:active {
  outline: none;
  box-shadow: none;
}

.elegant-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  width: 85%;
}

.elegant-separator .line {
  flex: 1;
  height: 2px;
  background-color: #aaa;
}

.elegant-separator .icon {
  margin: 0 15px;
  font-size: 16px;
  color: #aaa;
}

.sfondo-verde-sfumato {
  background: linear-gradient(to right, rgba(62, 92, 78, 0.4), rgba(100, 140, 110, 0.4));
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(2px);
}

.apartment-title {
    font-family: 'Roboto Condensed', sans-serif; /* o il font che preferisci */
    font-size: 5rem;
    text-align: center;
    margin-top: 120px; /* se vuoi mantenere lo spazio sopra */
    margin-bottom: 30px; /* per distanziare dal contenuto sotto */
    color: white;
}

/* stili per link sotto tabella prezzi degli appartamenti*/

.link-personalizzato {
    color: inherit; /* eredita il colore del testo circostante, oppure metti il colore che vuoi */
    text-decoration: none; /* rimuove la sottolineatura */
    cursor: pointer;
}

.link-personalizzato:hover {
    color: black; /* colore verde scuro al passaggio del mouse, puoi cambiarlo */
    text-decoration: none; /* evita sottolineatura anche al passaggio */
}

/* Remove Bootstrap's default SVG chevrons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  background-color: black;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom white arrow using borders */
.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
}

/* Rotate for left and right directions */
.carousel-control-prev-icon::before {
    margin-left: 5px;
    transform: rotate(-135deg);
}

.carousel-control-next-icon::before {
    margin-right: 5px;
    transform: rotate(45deg);
}

@media (max-width: 768px) {
  body {
    background-position: 50% center;
  }

  .apartment-title {
    font-size: 2rem;
  }

  #prenota {
    top: 80%;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 20px;
    transform: translateY(-50%);
    padding: 14px 10px;
    border: none;
    outline: none;
    border-radius: 0px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    z-index: 999;
  }

  #prenota:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }

  #prenota:active {
    transform: translateY(-50%) scale(0.97);
  }
}