/*
Theme Name: Livsrum 
Author: Mathilde Nonbo
Description: Hjemmeside specielt designet til Klinik
*/


/* FORM CONTROL CONTACT FORM */
section .card,
section .btn,
section input.form-control,
section textarea.form-control,
section select.form-select {
  border-radius: 0 !important;
  border: none;
  /* border: solid 0.01px var(--color-beige-light); */
}

section input.form-control,
section textarea.form-control,
section select.form-select{
    background-color: var(--color-cream);
    padding: 10px;
    font-style: oblique;
   font-weight: 200;
}
/*  OVERALL STYLING */
body {
  background-color: var(--color-cream);
}


h2, h3, h5, h6 {
      text-shadow: 0.5px 0.5px 1.5px rgba(0, 0, 0, 0.2);
  font-weight: bolder;
    font-family: 'Poppins';
  color: var(--text-color);
  opacity: 0.95; /* makes text slightly faded */
}

h4 {
  margin-top: 0.2rem;

}

p, a{
  font-family: "PT Serif", serif;
  font-size: clamp(18px, 2vw, 18px);
  font-weight: 300;
  color: var(--text-color);
}

p.sp-text {
  color: var(--color-purple-light);
  font-weight: bolder;
  font-size: 1rem;
  margin-bottom: 1rem;

}


:root {
  /* --color-beige: #D9CBA8; */
  --color-green-dark: #4B8D74;
  --color-purple-light: #C1A0B6;
  --color-beige-light: #E9E3DD;
  --color-cream: #F8F6F3;
  --color-white: #FFFFFF;
  --color-green-light: #D3E4C4;
  --text-color:#333333;
}





/* HERO FORSIDE */
.hero {
    height: 60vh;               /* fixed height */
    background-size: cover;     /* cover entire hero area */
    background-position: center bottom; /* center the image */
    background-repeat: no-repeat;
    width: 100%;
}

/* ZIGZAG */
.zig-zag-right{
      background-color: var(--color-beige-light);
}
.zigzag-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.zigzag-row.flipped {
    flex-direction: row-reverse;
}
.zigzag-text {
    flex: 1;
}
.zigzag-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}



/* TESTMONIALS FRONTPAGE*/
.testimonials {
    padding: 4rem 2rem;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--color-white);
    text-align: center;
}
.testimonial-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 0px;
    border: none;
    max-width: 500px;
    margin: 0 auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(44%) sepia(12%) saturate(746%) hue-rotate(273deg) brightness(95%) contrast(88%);
}


.carousel-indicators {
  position: static; /* remove absolute positioning */
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding-left: 0;
}

.testimonial-controls {
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}


@media (max-width: 600px) {
    .testimonials {
        padding: 0.8rem;
       
    }
    .testimonial-card {
    background: var(--color-white);
    padding: 0rem;
    border-radius: 0px;
    border: none;
    max-width: 500px;
    margin: 0 auto;
}
}



/* BANNER */
.small-banner, .hero-ban  {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-beige-light);
    padding: 1.5rem 2rem;
    border-radius: 0px;
}
h4{
    font-weight: 300;
    font-family: 'Poppins';

}


/* FOOTER  */
footer{
    background-color: var(--color-beige-light);
}

.vertical-line {
  width: 1.5px;
  background-color: var(--color-purple-light);
  height: 120px; /* adjust to your content height */
}




/* button GREEN */
.btn-green {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: var(--color-purple-light);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover */
.btn-green:hover,
.btn-green:focus {
    background-color: var(--color-beige-light); /* slightly lighter/darker green */
    transform: translateY(-2px); /* small lift */
}

/* BUTTON PURPLE */
.btn-purp {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: var(--color-purple-light);
    color: var(--color-white);
    border: none;
    border-radius: 10px 0 10px 0; /* TL rounded, TR sharp, BR rounded, BL sharp */
    text-decoration: none;
    position: relative;
    padding-right: 2.5rem; /* space for arrow */
    overflow: visible; /* allow arrow outside */
    transition: background-color 0.3s ease, padding-right 0.3s ease, font-weight 0.3s ease;
}

/* Arrow */
.btn-purp::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.5rem;
    width: 10px;
    height: 10px;
    border: 3px solid var(--color-white);
    border-left: 0;
    border-top: 0;
    transform: translateY(-50%) rotate(315deg);
    transition: right 0.3s ease, border-width 0.3s ease;
}

/* Hover/focus */
.btn-purp:hover,
.btn-purp:focus {
    padding-right: 3rem; /* extend button */
    background-color: var(--color-purple-light); /* same background */
    color: var(--color-white); /* keep text white */
    font-weight: 600; /* bolder text */
        box-shadow: 0px 0.2px 1px rgba(0,0,0,0.2); /* slightly stronger on hover */
}

.btn-purp:hover::after,
.btn-purp:focus::after {
    right: 0.9rem;
    border-color: var(--color-white);
    border-width: 4px;
}

.thick-arrow-right {
    width: 25px;
    height: 25px;
    border: 10px solid var(--color-white);
    border-left: 0;
    border-top: 0;
    transform: rotate(315deg);
}




/*  USE FOR TESTIMONIALS */

.tooltip-right {
  /* Modify size here: */
  --size: 50px;
  --padding: 10px;
  position: relative;
  width: calc(var(--size) - var(--padding));
  height: calc(var(--size) / 2);
  padding: var(--padding);
}

.tooltip-right:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%) rotate(45deg);
  height: 16px;
  width: 16px;


}
/* LINK HOVER ANIM  */
li {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

li:hover {
  color: var(--color-purple-light);
  transform: translateX(3px);
}
a{
    text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: inline-block;
}
a:hover {
  color: var(--color-purple-light);
}


/* BEHANDLINGER KORT */

.card-service {
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 5%;
  background-color: var(--color-white);
  text-align: center;
  min-height: 250px;
}

.card-afbud{
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  background-color: var(--color-white);
}



/* Special HR - kort og lilla */
.hr-sp {
  width: 50px;
  border: none;
  border-top: 3px solid var(--color-purple-light);
  margin: 1rem auto;
}

/* Background overlay section */
.bg-overlay-section {
  position: relative;
}

.bg-overlay-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.bg-overlay-section .content {
  position: relative;
  z-index: 1;
}




/* Basic fade and slide up animation */
.fade-slide-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: stagger delay helper */
.fade-slide-up.delay-1 {
  transition-delay: 0.1s;
}

.fade-slide-up.delay-2 {
  transition-delay: 0.2s;
}

.fade-slide-up.delay-3 {
  transition-delay: 0.3s;
}



/* Base fade-in side animation */
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transform: translateX(var(--translate-x, 20px));
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* Default translateX values */
.fade-in-left {
  --translate-x: -20px;
}

.fade-in-right {
  --translate-x: 20px;
}

.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Optional stagger delay */
.fade-in-left.delay-1,
.fade-in-right.delay-1 {
  transition-delay: 0.1s;
}
.fade-in-left.delay-2,
.fade-in-right.delay-2 {
  transition-delay: 0.2s;
}
.fade-in-left.delay-3,
.fade-in-right.delay-3 {
  transition-delay: 0.3s;
}


.hero h1,
.hero h2,
.hero h3 {
  color: var(--color-cream);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    font-size: 42px;
        opacity: 0.9;
    
}
.hero h2 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 600;
    font-size: 54px;
    letter-spacing: 0.5px;
}
.hero h3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    opacity: 0.9;
}


.hero-tekst{
  padding-top: 12%;
}

.logo img {
  max-height: 55px; /* adjust as needed */
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 4px var(--color-green-light));
}



/* Media Query for mobile screens */
@media (max-width: 576px) {
    .hero {
        padding: 50px 15px;
    }
    .hero-tekst h1 {
        font-size: 1.6rem;
    }
    .hero-tekst h2 {
        font-size: 2rem;
    }
    .hero-tekst h3 {
        font-size: 1.4rem;
    }
    h4 {
      margin-top: 0.60rem;
        font-size: 1.4rem;
    }
}

/* Mobile (small screens) */
@media (max-width: 576px) {
    .btn-purp {
        display: block;
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
        text-align: center;
        border-radius: 6px 0 6px 0;
    }

    /* Remove the arrow on mobile */
    .btn-purp::after {
        display: none;
    }

    /* Disable hover/focus on mobile */
    .btn-purp:hover,
    .btn-purp:focus {
        padding-right: 1rem;
        font-weight: 500;
        box-shadow: none;
        background-color: var(--color-purple-light);
        color: var(--color-white);
    }
}

html, body {
  overflow-x: hidden;
}


.zigzag{
  padding: 0%;
}