/* ==========================================================================
   style.css - CSS principale tema v2 (ottimizzato)

   01 Reset e tipografia      09 Bee Hotel (risultati ricerca)
   02 Global                  10 Language switcher
   03 Main content            11 Footer
   04 Header                  12 Page heading
   05 Componenti condivisi    13 Blocks
   06 Featured                14 Contact page
   07 Fun facts               15 Bottoni
   08 Best deal / Contact     16 Responsive
                              17 Drupal / Commerce / Calendar / Unpublished
                              18 Header menu
   ========================================================================== */


/*:root {
--red-for-font: #8b0000;
  --submit-killer-bg: #15803d;
  --submit-killer-bg-hover: #166534;
  --submit-killer-color: #ffffff;
  --submit-killer-color-hover: #ffffff;
  --submit-killer-border: rgba(255, 255, 255, 0.25);
  --submit-killer-border-hover: rgba(255, 255, 255, 0.45);
}*/


/*:root {
  --red-for-font: #8b0000;
  --submit-killer-bg: #a3e635;
  --submit-killer-bg-hover: #bef264;
  --submit-killer-color: #1a2e05;
  --submit-killer-color-hover: #1a2e05;
  --submit-killer-border: #1a2e05;
  --submit-killer-border-hover: #1a2e05;
}*/


:root {
  --red-for-font: #8b0000;
  --submit-killer-bg: #a3e635;
  --submit-killer-bg-hover: #94d330;     /* Verde lime scuro (ottimo contrasto col bianco) */
  --submit-killer-color: #8b0000;
  --submit-killer-color-hover: #8b0000;
  --submit-killer-border: #556B2F;
  --submit-killer-border-hover: #365314; /* Bordo leggermente più scuro per profondità */
}


/* :root { */
/*   --red-for-font: #8b0000; */
/*   --submit-killer-bg: #86efac;        /* Verde chiaro luminoso, risalta subito sul darkred */ */
/*   --submit-killer-bg-hover: #4ade80;  /* Leggermente più saturo all'hover */ */
/*   --submit-killer-color: #052e16;     /* Testo verde scurissimo ad altissimo contrasto */ */
/*   --submit-killer-color-hover: #052e16; */
/* } */

/* --------------------------------------------------------------------------
   01 Reset e tipografia
   -------------------------------------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small,
strong, sub, sup, var, b, u, i, dl, dt, dd, ol, ul, li, figure, header, nav,
section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.cormorant-garamond-v2 {
  --font-display: "Cormorant Garamond", Georgia, serif; /* titoli */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* testo */

  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cormorant-garamond-v2 h1,
.cormorant-garamond-v2 h2,
.cormorant-garamond-v2 h3,
.cormorant-garamond-v2 h4,
.cormorant-garamond-v2 .page-heading .title,
.cormorant-garamond-v2 .logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.cormorant-garamond-v2 h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.cormorant-garamond-v2 p,
.cormorant-garamond-v2 li,
.cormorant-garamond-v2 .field,
.cormorant-garamond-v2 label,
.cormorant-garamond-v2 input,
.cormorant-garamond-v2 select,
.cormorant-garamond-v2 textarea,
.cormorant-garamond-v2 button,
.cormorant-garamond-v2 .btn {
  font-family: var(--font-body);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   02 Globali
   -------------------------------------------------------------------------- */

.bold {
  font-weight: bold;
}

.v2-theme a {
  color: darkred;
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e1e;
  font-weight: 700;
}

ul li {
  font-size: 1.2em;
}

p {
  font-size: 1.2em;
  line-height: 28px;
  color: #4a4a4a;
}

/* height:auto serve con gli attributi width/height nell'HTML (evita distorsioni e CLS) */
img {
  width: 100%;
  height: auto;
}

::selection {
  background: #0071f8;
  color: #fff;
}

body {
  overflow-x: hidden;
}

.section {
  margin-top: 20px;
}

.section-heading {
  margin-bottom: 6px;
}

.section-heading h2 {
  margin-top: 20px;
  font-size: 2.4em;
  font-weight: 700;
  line-height: 56px;
  text-transform: capitalize;
}

.section-heading h2 em {
  font-style: normal;
  color: #0071f8;
}

.section-heading h6 {
  font-size: 15px;
  font-weight: 700;
  color: darkred;
  text-transform: uppercase;
}

.icon-button a {
  /* Layout Flexbox */
  display: inline-flex;
  align-items: center;      /* Centra verticalmente icona e testo */
  justify-content: center;  /* Centra orizzontalmente il contenuto */
  gap: 8px;                 /* Crea una spaziatura uniforme tra icona e testo */

  /* Stile e dimensioni */
  height: 50px;
  padding: 0 24px;          /* Padding simmetrico per un aspetto equilibrato */
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  background-color: #1e1e1e;
  border-radius: 25px;
  transition: all 0.3s;
  text-decoration: none;    /* Rimuove la sottolineatura del link */
  box-sizing: border-box;   /* Assicura che il padding sia incluso nell'altezza */
}

.icon-button a i {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 15px;
  margin-left: -1px;
  line-height: 50px;
  text-align: center;
/*   background-color: darkred; */
  border-radius: 50%;
}

.icon-button a:hover {
  color: darkred;
}

.icon-button a:hover i {
  color: #fff;
}

.main-button a {
  background-color: transparent;
  border-radius: 25px;
  color: green;
  display: inline-block;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  line-height: 40px;
  padding: 0 30px;
  transition: all 0.3s;
}

.main-button a:hover {
  color: #fff;
  background-color: darkred;
}

.smaller {
  font-size: 0.46em;
}

.row {
  margin: 8px 12px;
}

.region-sidebar-second {
  margin-top: 48px;
}

/* --------------------------------------------------------------------------
   03 Main content
   -------------------------------------------------------------------------- */

.main-container {
  min-height: 600px;
}

.main-content .field {
  margin: 36px auto;
}

.main-content h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.main-content .content .field--name-field-description p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: #555;
}

/* Slogan: stile base + animazione; dentro .main-content vince la variante sotto */
.field--name-field-slogan {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d3436;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.main-content .field--name-field-slogan {
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: #666;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .field--name-field-slogan {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   04 Header
   -------------------------------------------------------------------------- */

/* Vedi villa-agency-header-area.css  */


/* --------------------------------------------------------------------------
   05 Componenti condivisi (home .featured + scheda .single-property)
   -------------------------------------------------------------------------- */

:is(.featured, .single-property) .accordion {
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-bg: #fafafa;
  --bs-accordion-border-color: transparent;
  border: none !important;
}

:is(.featured, .single-property) .accordion-header {
  border-bottom: 1px solid #eaeaea;
}

:is(.featured, .single-property) .accordion-button {
  font-size: 17px;
  font-weight: 500;
  color: #1e1e1e;
  box-shadow: none;
}

:is(.featured, .single-property) .accordion-button:not(.collapsed) {
  color: darkred;
  background-color: #fafafa;
  outline: none;
}

:is(.featured, .single-property) .accordion-button::after {
  display: none;
}

:is(.featured, .single-property) #headingThree {
  border-bottom: none;
}

:is(.featured, .single-property) .accordion-item:last-of-type .accordion-collapse {
  border-top: 1px solid #eaeaea;
}

.info-table {
  padding: 35px 10px;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.info-table ul {
  padding-left: 1.2rem;
}

.info-table ul li {
  display: block;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.info-table ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-table ul li img {
  float: left;
  margin-right: 25px;
}

.info-table ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.info-table ul li h4 span {
  font-size: 15px;
  font-weight: 400;
  color: #aaa;
}

/* --------------------------------------------------------------------------
   06 Featured
   -------------------------------------------------------------------------- */

.featured a {
  color: darkred;
}

.featured .left-image {
  position: relative;
}

.featured .left-image img,
.featured .left-image a img {
  padding-left: 55px;
}

.featured .left-image a {
  position: absolute;
  left: 0;
  bottom: -55px;
  display: inline-block;
  width: 110px;
  height: 110px;
  line-height: 110px;
  text-align: center;
  background-color: darkred;
  border-radius: 50%;
}

.featured .section-heading {
  margin: 0 10px 60px;
}

.featured .section-heading h2 {
  width: 70%;
}

.featured .accordion {
  margin-left: 10px;
  margin-right: 10px;
}

/* --------------------------------------------------------------------------
   07 Fun facts
   -------------------------------------------------------------------------- */

.fun-facts {
  margin-top: 125px;
  text-align: center;
}

.fun-facts .counter {
  position: relative;
  display: inline-block;
  width: 270px;
  padding: 20px 0;
  background-color: #ffeee9;
  border-radius: 10px;
}

.fun-facts .counter h2,
.fun-facts .counter p {
  display: inline-flex;
  vertical-align: middle;
}

.fun-facts .counter p {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #1e1e1e;
  text-align: left;
}

.fun-facts .counter h2 {
  margin: 10px 0 10px 6px;
  font-size: 40px;
  color: darkred;
}

/* --------------------------------------------------------------------------
   08 Best deal / Contact
   -------------------------------------------------------------------------- */

/* .best-deal { */
/*   padding: 100px 0; */
/*   background-color: #fafafa; */
/* } */

.best-deal .tab-content img {
  padding: 0 45px;
}

.best-deal .tabs-content {
  padding: 0;
  background-color: transparent;
}

.best-deal .tabs-content h4 {
  margin-bottom: 30px;
  font-size: 17px;
  font-weight: 600;
}

.best-deal .tabs-content .nav-link {
  display: inline-block;
  height: 30px;
  padding: 0 25px;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  color: #fff;
  background-color: #1e1e1e !important;
  border-radius: 5px;
}

.best-deal .tabs-content .nav-tabs .nav-link.active {
  color: #fff;
  background-color: darkred !important;
}

.best-deal .tabs-content ul.nav-tabs {
  align-items: end;
  justify-content: end;
  /*   margin-top: -130px; */
  margin-bottom: 80px;
  border-bottom: none !important;
}

.best-deal .tabs-content ul.nav-tabs li {
  margin-left: 20px;
  padding-right: 0;
  border-right: none;
}

.best-deal .info-table ul li {
  margin-bottom: 24px;
  padding-bottom: 24px;
  font-size: 15px;
  font-weight: 400;
  color: #aaa;
  text-align: left;
}

.best-deal .info-table ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.best-deal .info-table ul li span {
  display: inline-block;
  float: right;
  font-size: 20px;
  font-weight: 700;
  color: #1e1e1e;
}

.best-deal .icon-button {
  margin-top: 30px;
}



/* --------------------------------------------------------------------------
   09 Bee Hotel - risultati ricerca
   -------------------------------------------------------------------------- */

.unit {
  position: relative;
  max-width: 560px;
  margin: 24px auto;
  padding: 12px 12px 42px;
  background-color: #d3d3d378;
  border: none;
  border-radius: 22px;
  transition: all 0.5s;
}

.unit h3.title a,
.unit .add a {
  color: darkred;
}

.unit .title .store,
.unit .container .title.insidedescription {
  display: none;
}

.unit .price {
  position: absolute;
  top: 0;
  right: 24px;
  font-size: 2.26em;
  font-weight: bold;
}

.unit .nights {
  position: absolute;
  bottom: 8px;
  left: 14px;
  font-weight: bold;
}

.unit .add {
  position: absolute;
  bottom: 0;
  right: 24px;
  font-size: 1.6em;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   10 Language switcher
   -------------------------------------------------------------------------- */

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* .button funziona anche su <span> */
.language-switcher .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1;
  color: #333;
  background: #f2f2f2;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.language-switcher .button:hover,
.language-switcher .button:focus-within {
  background: var(--submit-killer-bg);
  border-color: #556B2F;
}

.language-switcher .button .icon,
.language-switcher .button .icon a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.language-switcher .button:hover .icon a {
  color: #fff;
}

/* --------------------------------------------------------------------------
   11 Footer
   -------------------------------------------------------------------------- */



footer.footer {
  min-height: 100px;
  margin-top: 25px;
  padding-top: 35px;
  padding-bottom: 60px;
  background: #4d4d4d;
  border-top: thick solid #8b0000;
}

/* dopo footer.footer: a parita' di specificita' deve vincere questa */
footer.footer-no-gap {
  margin-top: 0;
}

footer p,
footer .block {
  font-weight: 400;
  color: #fff;
}

footer p a,
footer .block a {
  position: relative;
  z-index: 3;
  color: #fff;
  transition: all 0.3s;
}

footer p a:hover {
  opacity: 0.75;
}

footer .block a:hover {
  color: #dee2e6;
}

footer.footer .col-lg-12 {
  font-size: 0.628em;
  text-align: center;
}

footer.footer .beehotel {
  font-size: 0.628em;
}

footer.footer .bee {
  width: 24px;
}

.footer .langswitcher,
.footer .language-switcher-language-url {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .language-switcher-language-url h2 {
  font-size: 18px;
}

.footer .language-switcher-language-url span.button {
  width: 50px;
  height: 50px;
  margin: 4px;
  background-position: center;
  background-size: 400%;
  border-color: transparent;
  border-radius: 50%;
  filter: grayscale(50%);
  transition: all 100ms ease-in-out;
}

.footer .language-switcher-language-url span.button:hover {
  background-size: 120%;
  filter: grayscale(10%);
}

.footer .language-switcher-language-url span.button span {
  opacity: 1;
  transition: opacity 100ms ease-in-out;
}

.footer .language-switcher-language-url span.button:hover span {
  opacity: 0;
}

.footer .language-switcher-language-url span.button span.icon a {
  font-weight: 900;
  color: black;
  text-transform: uppercase;
}

.footer .language-switcher-language-url span.button.eng span.icon a,
.footer .language-switcher-language-url span.button.ger span a {
  color: white;
}

.footer .language-switcher-language-url span.button.ita {
  background-image: url('../../images/it.png');
}

.footer .language-switcher-language-url span.button.eng {
  background-image: url('../../images/en.png');
}

.footer .language-switcher-language-url span.button.ger {
  background-image: url('../../images/de.png');
}

/* Allineamento orizzontale e spaziatura compatta nel menu footer */
.block-menu.navigation.menu--footer-sx-eng .nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
}

.block-menu.navigation.menu--footer-sx-eng .nav-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.block-menu.navigation.menu--footer-sx-eng .nav-link {
  padding: 0.25rem 0.65rem;
}

.block-menu.navigation.menu--footer-sx-eng .nav-item:first-child .nav-link {
  padding-left: 0;
}

/* Separatore pipe tra gli elementi */
.block-menu.navigation.menu--footer-sx-eng .nav-item:not(:last-child)::after {
  content: "|";
  opacity: 0.55;
  pointer-events: none;
}


/* Commerce */
/* .layout-region-checkout-footer { */
/*   width: 100%; */
/* } */
