/*  _____________________________________
    _____________GENERAL_________________   */

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: "Simonetta", cursive;
   background-color: rgb(255, 255, 250);
   color: #333;
}

#myVideo {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 20%;
   object-fit: cover;
   /* Ensure video covers entire body */
   z-index: -1;
   /* Place video behind other content */
}


/*  _____________________________________
    ______________INDEX__________________   */

header {
   display: flex;
   position: fixed;
   top: 0;
   width: 100%;
   background-color: rgb(59, 143, 45);
   padding: 0.2em 2em;
   justify-content: space-between;
   align-items: center;
   z-index: 98;
}

.logo,
.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 1em;
   min-width: 20%;
   max-width: 40%;
   text-decoration: none !important;
   color: inherit;
   outline: none;
}

.logo h1 {
   display: flex;
   color: white;
   text-decoration: none !important;
   text-wrap: nowrap;
   transform: translateY(0.15em);
   font-family: "Simonetta", cursive;
   font-size: 2.3em;
}

.logo img {
   max-width: 4em;
}

.main-menu {
   list-style: none;
   font-family: "Simonetta", cursive;
   transform: translateY(0.5em);
   font-size: 0.7em;
   overflow: hidden;
}

.main-menu li {
   display: inline-block;
   margin-right: 20px;
}

.main-menu a {
   color: white;
   text-decoration: none;
   font-size: 1.5em;
}

.menu-button {
   display: none;
}

.dynamic-content {
   display: flex;
   flex-direction: column;
   justify-content: space-evenly;
}

#content {
   display: flex;
   flex-direction: column;
   justify-content: space-evenly;
}

/* _____________________________________
   _______________HOME__________________   */

.hero {
   display: flex;
   align-items: center;
   justify-content: space-around;
   margin: 14dvh 5dvw 4dvh 5dvw;
   gap: 35dvw;
}

.name {
   margin: 0 0 0 2em;
   width: 80%;
   height: 15dvh;
   display: flex;
   flex: 1;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   font-family: "Simonetta", cursive;
}

.name h3 {
   color: #1e6b0c;
}

.name h2 {
   font-size: 2.5em;
   text-align: center;
   padding-top: 2dvh;
   color: rgb(59, 143, 45);
}

.description {
   margin: 0;
   flex: 1;
   display: flex;
   /* flex-direction: column; */
   align-items: center;
   gap: 2.5dvh;
}

.description h3 {
   text-align: center;
   margin-inline: 3dvw;
   padding-top: 3dvh;
   color: #1e6b0c;
   /* transform: translateX(-2.5em); */
}

.whats {
   background-color: rgb(59, 143, 45);
}

/* .banner {
   margin: -2dvh 0 -3dvh 0;
   padding: 0;
   width: 100vw;
   height: 53dvh;
   background: url('./assets/garden2.jpg') no-repeat center bottom fixed;
   box-shadow: inset 0 5px 5px -2px #205314, inset 0 -5px 5px -2px #1c3317e3;
} */

#garden {
   /* margin: -2dvh 0 -3dvh 0; */
   object-fit: cover;
   height: 47dvh;
   width: 100vw;
   box-shadow: inset 0 5px 5px -2px #205314, inset 0 -5px 5px -2px #1c3317e3;
}

.container {
   display: flex;
   flex-direction: column;
   align-items: center;
}

details>summary {
   list-style-type: none;
   border-radius: 15px;
   color: darkslategrey;
   margin: -1dvh 0 -2dvh 0;
   display: flex;
   align-items: center;
   justify-content: end;
   font-size: 1.2em;
}

/* Hide the default marker for WebKit browsers (like Safari) */
details>summary::-webkit-details-marker {
   display: none;
}

/* Set custom icons using Unicode characters */
details>summary::after {
   content: '\2BAF';
   color: #1e6b0c;
   font-size: 1.5em;
   margin-left: 0.5em;
   /* Add spacing between icon and summary text */
}

details[open]>summary::after {
   content: '\2BAD';
   /* Black Curved Rightwards and Downwards Arrow (U+2BAF) when details are open */
}

details[open]>p {
   display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   margin-left: 9%;
   width: 90%;
   height: min-content;
   padding: 1em;
   vertical-align: middle;
   color: darkslategrey;
   text-align: end;
}

details[open] p {
   text-wrap: pretty;
   text-align: end;
}

.disclaimer {
   font-style: italic;
   margin: 2em;
}

.disclaimer[open] {
   font-size: 0.85em;
}




/* _____________________________________
   ____________UBER MICH________________   */

#myTitle {
   width: 100%;
   text-align: center;
   margin-bottom: 5dvh;
   margin-top: 15dvh;
   font-size: 2.5em;
   color: rgb(59, 143, 45);
}

.praxis-container {
   max-width: 1000px;
   margin: 0 auto;
   padding: 0 5dvw 10dvh 5dvw;
   display: flex;
   flex-direction: column;
   gap: 4em;
}

.praxis-intro {
   display: flex;
   gap: 4em;
   align-items: flex-start;
}

.image-wrapper {
   flex: 0 0 30%;
}

.praxis-image {
   width: 100%;
   border-radius: 1.5em;
   box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
   transition: transform 0.3s ease;
}

.praxis-image:hover {
   transform: scale(1.02);
}

.intro-text {
   flex: 1;
   display: flex;
   flex-direction: column;
   gap: 1.5em;
   font-size: 1.1em;
   line-height: 1.6;
   color: #444;
   text-align: justify;
}

.qualifications {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3em;
}

.qual-section {
   background: rgba(255, 255, 255, 0.85);
   /* Matches expanded card opacity */
   padding: 2.5em;
   border-radius: 1em;
   /* Matches card border-radius */
   box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
   /* Matches expanded card shadow */
   border: 1px solid rgba(59, 143, 45, 0.05);
   transition: all 0.3s ease;
}

.qual-section:hover {
   transform: translateY(-5px);
   box-shadow: 4px 10px 25px rgba(0, 0, 0, 0.15);
}

.qual-section h3 {
   color: #205314;
   /* Matches card hover title color */
   margin-bottom: 1.5em;
   font-size: 1.3em;
   text-transform: uppercase;
   /* Matches card hover title transform */
   font-weight: bold;
   text-align: center;
   border-bottom: 2px solid rgba(59, 143, 45, 0.2);
   padding-bottom: 0.5em;
}

.qual-section ul {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: 0.8em;
}

.qual-section li {
   position: relative;
   padding-left: 1.5em;
}

.qual-section li::before {
   content: '•';
   position: absolute;
   left: 0;
   color: rgb(59, 143, 45);
   font-weight: bold;
}

.praxis-footer {
   text-align: center;
   font-style: italic;
   font-size: 1.2em;
   color: #1e6b0c;
   margin-top: 2em;
   padding: 2em;
   background: rgba(59, 143, 45, 0.05);
   border-radius: 1em;
}

/* _____________________________________
   ____________THERAPIEN________________   */

.card-body {
   display: none;
}

.card {
   width: 60vw;
   height: 20vh;
   margin: 1em;
   border-radius: 1em;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   box-shadow: 2px 2px 5px #333;
   transition: all 0.5s ease;
   justify-content: space-around;
}

.card-header {
   text-align: center;
}

.card:hover .card-header {
   text-transform: uppercase;
   text-align: center;
   font-weight: bold;
   color: #205314;
   margin: 1.5em;
}

.card:hover .image {
   display: flex;
   width: 15%;
   border-radius: 1em;
   justify-content: center;
   align-items: center;
   box-shadow: 2px 2px 10px #333;
   /* Increased shadow */
   overflow: hidden;
   /* Ensure rounded corners for image */
}

.card:hover .card-body {
   display: flex;
   height: auto;
   margin: 1em;
   width: 90vw;
   overflow: visible;
   align-items: center;
   padding: 1em;
   /* Added padding */
   background-color: transparent;
}

.card:hover p {
   color: darkslategrey;
   width: 90%;
   padding: 1.5em;
   /* Increased padding */
   text-wrap: pretty;
   text-align: justify;
   align-items: center;
   margin: 0;
}

.card:hover {
   width: 90vw;
   height: min-content;
   flex-wrap: wrap;
   transition: all 0.3s ease;
   background-color: rgba(255, 255, 255, 0.85);
   /* Slightly more opaque */
   color: darkslategrey;
   border-radius: 1em;
   box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}



/* _____________________________________
   ______________KURSE__________________   */

#kurstext {
   text-align: center;
   width: 80dvw;
   margin-inline: 10dvw;
}

.card:hover .kursimage {
   display: flex;
   border-radius: 1em;
   width: 20%;
   box-shadow: 2px 2px 5px #333;
   justify-content: center;
   align-items: center;
}

.calendar {
   width: 60vw;
   aspect-ratio: 4/2;
   transform: translateX(32.5%);
   box-shadow: 1px 1px 5px #333;
}


/* _____________________________________
   _____________KONTAKT_________________   */

.bigContainer {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   justify-items: center;
   align-items: center;
   margin-top: 12dvh;
}

.contact {
   width: 45vw;
   height: 38vh;
   margin: 1em;
   padding: 0em;
   display: flex;
   flex-direction: column;
   justify-content: space-around;
   align-items: center;
   border-radius: 1em;
   box-shadow: 2px 2px 10px -3px #333;
}

.contact-map {
   width: 45vw;
   height: 38vh;
   margin: 1em;
   padding: 0em;
   display: grid;
   grid-template-columns: 40% 60%;
   align-items: center;
   border-radius: 1em;
   box-shadow: 2px 2px 10px -3px #333;
}

.contact-map p {
   width: 95%;
   text-align: center;
}

.contact p {
   margin: 0 0.5em 0 0;
   /* width: 80%; */
   text-align: center;
   /* height: 20%; */
}

#hausimage {
   max-height: 90%;
   border-radius: 1em;
   box-shadow: 2px 2px 5px #333;
   max-width: 90%;
   margin: 0.5em;
}

#map {
   height: 90%;
   width: 95%;
   border: 0;
}

.socialHolder {
   display: flex;
   gap: 3dvw;
   height: 50%;
   align-items: center;
}

.social {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   height: 5em;
   margin-bottom: 3em;
}

.imagelink {
   height: 3em;
   transform: translateX(-5px);
}

#yt {
   width: 4em;
}

button {
   background-color: rgba(51, 157, 12, 0.8);
   color: beige;
   width: 200px;
   height: 50px;
   border-radius: 1em;
   font-family: "Simonetta", cursive;
   border: none;
   box-shadow: 1px 1px 5px #333;
   margin-bottom: 2em;
}

button :hover {
   border-radius: 1em;
}


/* _____________________________________
   _______________BLOG__________________   */

#blog {
   margin: 2em 0 0 0;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   margin-top: 10dvh;
   width: 100dvw;
   height: 90dvh;
   background-blend-mode: overlay;
}





/* _____________________________________
   ___________RESPONSIVENESS____________
   _____________________________________   */


@media (max-aspect-ratio: 1/1) {

   .header {
      position: sticky;
      top: 0;
   }

   .logo {
      margin-left: 7dvw;
   }

   .main-menu {
      display: none;
   }

   .menu-button {
      float: right;
      display: block;
      color: white;
      z-index: 99;
   }

   .main-menu.responsive {
      position: fixed;
      right: 0;
      top: 0;
      background-color: #1e6b0c;
      display: flex;
      flex-direction: column;
      gap: 1em;
      padding: 2em;
      padding-top: 3.5em;
      font-size: 1em;
   }

   .main-menu.responsive a.menu-button {
      position: absolute;
      right: 0;
      top: 0;
   }

   .main-menu.responsive a {
      position: relative;
      right: 0;
      top: 0;
      display: block;
      text-align: left;
   }

   .bar1,
   .bar2,
   .bar3 {
      width: 30px;
      height: 4px;
      background-color: white;
      margin: 4px 0;
   }

   /* Rotate first bar */
   .bar1.responsive {
      -webkit-transform: rotate(-45deg) translate(-6px, 6px);
      transform: rotate(-45deg) translate(-6px, 6px);
   }

   /* Fade out the second bar */
   .bar2.responsive {
      opacity: 0;
   }

   /* Rotate last bar */
   .bar3.responsive {
      -webkit-transform: rotate(45deg) translate(-6px, -6px);
      transform: rotate(45deg) translate(-6px, -6px);
   }


   .name {
      align-items: center;
      margin: 0;
      padding: 0;
      width: 100vw;
      margin-top: 12dvh;
   }

   .hero {
      flex-direction: column;
      margin: 0;
      padding: 0;
      align-items: center;
      gap: 5dvh;
   }

   .description {
      margin-bottom: 5dvh;
   }

   #garden {
      height: 40dvh;
   }

   .praxis-intro {
      flex-direction: column;
      align-items: center;
      gap: 2em;
   }

   .image-wrapper {
      flex: 0 0 100%;
      width: 60%;
   }

   .intro-text {
      text-align: center;
   }

   .qualifications {
      grid-template-columns: 1fr;
      gap: 2em;
   }

   .bigContainer {
      display: flex;
      flex-direction: column;
   }

   .contact,
   .contact-map {
      width: 90vw;
   }

   .socialHolder {
      justify-content: space-evenly;
      gap: 5dvw;
   }

   /*.card:focus .card-body{
   flex-direction: column;
   height: 50vh;
  } 
   
   .card:focus .card-body{
      flex-direction: column;
   }
   
  .card:focus .image {
      width: 50dvw;
   }

   .card:focus .kursimage {
   width: 50dvw;
   }*/

   .card:hover .card-body {
      flex-direction: column;
   }




   .calendar {
      width: 90vw;
      aspect-ratio: 4/4;
      transform: translateX(5%);
   }

   .card:hover .image {
      width: 50dvw;
   }

   .card:hover .kursimage {
      width: 50dvw;
   }



   #blog {
      width: 100dvw;
      height: 90dvh;
   }
}



footer {
   background-color: darkolivegreen;
}