/*
 Theme Name:   Avada Child
 Theme URI:    https://theme-fusion.com/avada/
 Description:  Custom child theme for Brisa Bahía
 Author:       Your Name or Team
 Author URI:   https://brisabahia.com
 Template:     Avada
 Version:      1.0.0
*/

/* =========================================
   ✅ GLOBAL STYLES & VARIABLES
========================================= */

:root {
  --color-bg: #f2e8d3;
  --color-accent: #dbad7d;
  --color-light: #ffffff;
  --color-text: #f2e8d3;
  --color-gold: #e8bc82;
  --transition-fast: 0.3s ease;
}

/* =========================================
   ✅ FIXED HEADER CONTAINER
========================================= */

#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--color-bg);
  transition: var(--transition-fast);
}

/* =========================================
   ✅ FLEX-HEADER LAYOUT
========================================= */

.brisa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 5%;
  transition: var(--transition-fast);
}

/* =========================================
   ✅ HERO SECTION
========================================= */

.hero-left-block {
  position: absolute;
  top: 40%;
  left: 5%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  gap: 1.2rem;
  z-index: 10;
  color: var(--color-text);
}

.hero-left-block svg {
  width: 60px;
  height: auto;
  fill: var(--color-gold);
}

.hero-left-block h1 {
  line-height: 1;
  color: var(--color-gold);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-left-block h1 .subline {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  text-transform: none !important;
}

.hero-left-block .fusion-button {
  align-self: center;
  margin-top: 0.5rem;
  position: relative;
  z-index: 10;
}

/* =========================================
   ✅ BUTTON STYLES
========================================= */

.fusion-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.5px;
  padding: 5px 36px;
  border-radius: 15px !important;
  border: 1px solid var(--color-bg);
  background: var(--color-gold);
  color: var(--color-light);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.fusion-button:hover {
  filter: brightness(1.05);
  border-color: var(--color-accent);
}

.dark-btn{
    background-color:#ab7b2c;
}

/* =========================================
   ✅ MEDIA ELEMENTS (VIDEO, PALM)
========================================= */

.full-video-bg {
  position: relative;
  overflow: hidden;
}

.full-video-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.palm-overlay {
  position: absolute;
  top: 5%;
  right: 0%;
  max-width: 50%;
  height: auto;
  z-index: 5;
  pointer-events: none;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.fusion-builder-row.fusion-row {
  position: relative;
}

/* =========================================
   ✅ FIX SVG DISPLAY IN AVADA LOGO
========================================= */

.fusion-logo img {
  width: 100% !important;
  max-height: clamp(140px, 16vw, 180px);
  display: block;
}

.header-is-sticky .fusion-sticky-logo {
  max-height: clamp(70px, 10vw, 100px);
}

/* =========================================
   ✅ FLUSH VIDEO TO SECTION
========================================= */

.fusion-fullwidth:first-of-type,
.fusion-fullwidth:first-of-type .fusion-builder-row,
.fusion-fullwidth:first-of-type .fusion-layout-column,
.fusion-fullwidth:first-of-type .fusion-column-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.fusion-video .video-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  max-height: none !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  line-height: 0 !important;
}

.fusion-video video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: cover !important;
}

.fusion-separator {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* =========================================
   ✅ ICON SYSTEM
========================================= */

.icon-svg {
  display: inline-block;
  align-self: center;
  font-size:5em;
  height: auto;
  fill: currentColor;
  transition: fill 0.3s ease;
}

.icon-dark {
  color: #303030;
}
.icon-light {
  color: #f2e8d3;
}
.icon-gold {
  color: #e8bc82;
}
.icon-map-brown {
  color: #ab7b2c;
}

.icon-jungle-green {
  color: #0b4216;
}
.icon-accent {
  color: #dbad7d;
}

.icon-small {
  width: 32px;
}
.icon-medium {
  width: 48px;
}
.icon-large {
  width: 80px;
}

/* =========================================
   ✅ RETREAT CARD CLEAN STYLE
========================================= */

.retreat-card .fusion-column-wrapper {
  background-color: rgba(242, 232, 211, 0.6);
  border-radius: 20px;
  padding: 1.5rem;
  margin-top: 10%;
  margin-bottom: 10%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.retreat-card .fusion-column-wrapper:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12) !important;
  background-color: rgba(242, 232, 211, 0.95) !important;
}

.retreat-card .fusion-column-wrapper img {
  width: 70%;
}


/* ✅ Grid-Layout für die Karten */
.event-post-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem 2rem; /* vertikal horizontal */
  padding: 2rem 1rem;
  max-width: 1300px;
  margin: 0 auto;
  align-items: stretch;
}

/* ✅ Einzelne Card */
.event-post-cards {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2rem;
  border-radius: 20px;
  background-color: rgba(242, 232, 211, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

/* ✅ Hover-Effekt */
.event-post-cards:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background-color: rgba(242, 232, 211, 0.95);
}

.event-post-wrapper > ul.fusion-grid {
  width:96% !important;
  gap:2% !important;
  flex-wrap: nowrap !important;
}


/* =========================================
   ✅ FACILITY ICON BLOCK
========================================= */

.facility-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 32px;
  padding: 0 40px;
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
}

.facility-icon-box {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  gap: 12px;
  transition: transform 0.3s ease;
}

.facility-icon-box:hover {
  transform: scale(1.05);
}

.facility-icon-box img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
}

.facility-icon-box h4 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  padding: 15px 40px;
  color: #DBAD7D;
  letter-spacing: 0.3px;
  line-height: 1.4;
  text-transform: none;
}

.facility-wrapper::after {
  content: '';
  flex: auto;
}

.facility-wrapper .fusion-builder-row-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 48px 32px;
}

/* === CLEAN EXPERIENCE POST CARDS === */

/* Wrapper: alles zentriert */
.experience-post-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}

/* Rundes Bild mit Border und Zoom */
.experience-image {
  width: 320px;
  height:320px;
  top: 15px;
  border-radius: 50%;
  border: 3px solid #e8bc82;
  z-index:99;
  overflow: hidden;
  display: flex;
  justify-self: center;
  align-self: center;
  transition: transform 0.4s ease;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.experience-image:hover img {
  transform: scale(1.05);
}

/* Textblock zentriert */
.experience-content {
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Button zentriert */
.experience-content .fusion-button {
  margin: 0 auto;
}




/* =========================================
   ✅ BOOK LAYOUT – FIXED POSITIONING
========================================= */

.book-wrapper {
  margin: 5% 0;
  max-width: 100%;
  height:100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}

.book-wrapper .fusion-column-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5% 5%;
  background-color: transparent;
}

/* 📖 LEFT AND RIGHT PAGES */
.book-left,
.book-right {
  width: 50%;
  padding-top: 1rem;
  font-family: 'Dancing Script', cursive;
  font-size: 1.125rem;
  line-height: 1.9;
  color: #2a1c10;
}

.book-left {
  padding-left: 5%;
  padding-right: 0.5em;
}

.book-right {
  padding-left: 3%;
  padding-right: 6%;
}

/* ✨ Headings */
.book-left h1,
.book-right h2,
.book-right h3 {
  font-family: 'Lora', serif;
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 1.4;
  color: #805b2d;
}

.book-header {
  font-family: 'The Nautigal', cursive;
  color: #59441f;
  text-align: center;
  align-self: center;
  letter-spacing: 0.05em;
  margin: 0 0 10px 0 !important;
}

.book-header h1 {
  font-size: 4rem !important;
  text-align: center !important;
  color: #59441f !important;
  line-height: 1 !important;
  font-weight: 700;
}

.book-header::first-letter {
  font-family: 'Fleur De Leah', cursive;
  font-size: 5rem;
  margin-right: 0.3rem;
  color: #62391e;
  line-height: 1;
}

.book-text-block {
  margin-top: 5%;
}

.book-right ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

.book-wrapper .scribble-note {
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: #805b2d;
  text-align: center;
  font-weight: 500;
}


/* =========================================
   ✅ BOOK BUTTON Styling (Span Inside Avada Button)
========================================= */

.book-button {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 auto 0 auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  position: relative;
}

.book-button:hover {
  background: transparent;
}

.book-button span {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  font-weight: normal;
  text-transform: none;
  color: #59441f !important;
  line-height: 1;
  position: relative;
}

.book-button:hover span {
  color: #f2e8d3 !important;
}

.book-button span::before,
.book-button span::after {
  content: '»';
  font-size: 1.5rem;
  margin: 0 0.4rem;
  color: #59441f;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.book-button span::after {
  content: '«';
}

.book-button:hover span::before,
.book-button:hover span::after {
  opacity: 0;
}


/* =========================================
   ✅ RESPONSIVE BEHAVIOR
========================================= */

@media (min-width: 1360px) and (max-width: 1500px) {
  .book-wrapper {

  }
  .book-header h1 {
  font-size: 2.5rem !important;
}
 .book-wrapper .fusion-column-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2.5% 5%;
  background-color: transparent;
}   
}

/* 📊 TABLET — Nur eine Seite sichtbar, Tabs aktiv */
@media (min-width: 768px) and (max-width: 1360px) {
  .book-wrapper {
    background-size: cover;
    background-position: top center;
  }

  .book-left,
  .book-right {
    width: 100%;
    display: none;
  }

  .book-page.active {
    display: block;
  }

  .book-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .book-tab-button {
    background: none;
    border: 2px solid #e8bc82;
    padding: 8px 16px;
    font-size: 1rem;
    cursor: pointer;
    color: #0a1f16;
    font-family: 'Lora', serif;
  }

  .book-tab-button.active {
    background-color: #e8bc82;
    color: #fff;
  }
}

/* 📱 MOBILE — Seiten untereinander, Hintergrundtextur */
@media (max-width: 767px) {
  .book-wrapper {

  }

  .book-left,
  .book-right {
    width: 100%;
    display: block;
    padding: 2rem 1rem;
  }

  .book-tabs {
    display: none;
  }
}



.brisa-icon-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;

}

.brisa-icon-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brisa-icon-row i {
  font-size: 2.5rem;
  color: var(--awb-color6); /* Dunkelgrün von dir */
  line-height: 1;
  display: inline-block;
}

.brisa-icon-row span {
  font-size: 1.1rem;
  font-family: 'Dancing Script', cursive;
  max-width: 600px;
}

.brisa-benefit-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: rgb(128, 91, 45) !important;
  font-weight:bold;
}


.brisa-benefit-row i {
  font-size: 2.5rem;
  min-width: 32px;
}

.book-benefit-list{
    padding-left:5%;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .book-wrapper .fusion-column-wrapper {
    flex-direction: column;
    padding: 10vw 5vw;
    background-size: cover;
  }

  .book-left,
  .book-right {
    width: 100%;
    padding: 5vw 4vw;
  }
}


/* =========================================
   ✅ BRISA BAHÍA – RESPONSIVE LAYOUT FIXES
========================================= */


/* -----------------------------------------
   🌐 GLOBAL CHANGES (Max width: 1125px)
   Für kleinere Desktops und große Tablets
----------------------------------------- */
@media (max-width: 1125px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  .brisa-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 5%;
    text-align: center;
  }

  .hero-left-block {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .fullwidth-box {
    background-attachment: scroll !important;
    padding-bottom: 0;
  }

  .hero-left-block h1 {
    font-size: 2rem;
  }

  .hero-left-block .subline {
    font-size: 1rem;
  }

  .fusion-button {
    padding: 8px 24px;
    font-size: 0.9rem;
  }

  .palm-overlay {
    max-width: 75%;
    top: 15%;
  }

  .retreat-card .fusion-column-wrapper {
    margin-top: 5%;
    margin-bottom: 5%;
    padding: 1.25rem;
  }

  .event-post-wrapper {
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  .facility-wrapper {
    padding: 0 20px;
    gap: 32px 24px;
  }

  .facility-icon-box h4 {
    font-size: 0.95rem;
    padding: 10px 20px;
  }

  .book-header h1 {
    font-size: 2.5rem !important;
  }

  .book-button span {
    font-size: 1.5rem;
  }

  /* 🔵 Erfahrungskreis-Bild (leicht kleiner auf Tablet) */
  .experience-image {
    width: 240px;
    height: 240px;
  }
}


/* -----------------------------------------
   📱 MOBIL (Max width: 796px)
----------------------------------------- */
@media (max-width: 796px) {
  .hero-left-block {
    position: relative !important;
    margin-bottom: 3rem;
  }

  .hero-left-wrapper {
    position: relative;
  }

  .fullwidth-box {
    background-attachment: scroll !important;
    padding-bottom: 0;
  }

  h1 {
    padding: 2% !important;
  }

  .hero-left-block h1 {
    font-size: 1.5rem;
  }

  .hero-left-block svg {
    width: 48px;
  }

  .book-left h1,
  .book-right h2,
  .book-right h3 {
    font-size: 1.25rem;
  }

  .fusion-button {
    font-size: 0.85rem;
    padding: 6px 20px;
  }

  .event-post-cards {
    padding: 1.5rem;
  }

  .facility-icon-box img {
    max-width: 140px;
  }

  .experience-carousel {
    max-width: 95%;
    padding: 1rem 0.5rem;
  }

  /* 🔵 Erfahrungskreis-Bild (etwas größer auf kleinen Screens für besseren Fokus) */
  .experience-image {
    width: 280px;
    height: 280px;
  }
}





/* -----------------------------------------
   🧭 CAROUSEL-NAVIGATION – Anpassung der Pfeile
   (Tablet & kleinere Desktops: Max width: 1024px)
----------------------------------------- */
@media (max-width: 1024px) {
  .experience-carousel .awb-swiper-button-prev {
    left: -40px;
  }

  .experience-carousel .awb-swiper-button-next {
    right: -40px;
  }
}