/*!
 * Theme Name: Lipp Theme
 * Theme URI: https://example.com
 * Author: Your Name
 * Author URI: https://example.com
 * Description: A modern WordPress theme with hero section and customizable content
 * Version: 1.0
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: lipp-theme
 * Domain Path: /languages
 */
 :root {
    --primary-color: #74562C;
    --secondary-color: #FBF9F5;
    --secondary-text-color: #ffffff;
    --font-heading: 'Forum', 'Cormorant Garamond', serif;
    --btn-hover-color: #856437;

}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  background: var(--secondary-color);
  overflow-x: hidden;
}

.main-content {
  width: 80%;
  margin: auto;
  font-size: 20px;

  @media (max-width: 1030px) {
    width: 100%;
    padding: 0 1.5rem;
    font-size: 14px;
  }

  @media (max-width: 768px) {
    width: 100%;
    padding: 0 20px;
  }
}

/* Header -------------------------------------------------------------------------- */
header.site-header {
  padding: 3rem 0;
  top: 0;
  z-index: 100;
  position: relative;

  @media (max-width: 768px) {
    padding: 2rem 0;
  }
}

.site-header-content {
  max-width: 1400px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 30px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  @media (max-width: 1030px) {
    flex-wrap: wrap;
  }

  @media (max-width: 768px) {
    margin-left: 0;
    padding: 0 1rem;
  }
}

.site-logo {
  .haeder-image {
    width: 600px;
    max-width: 70vw;
  }
}

/* Navigation */

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;

    @media (max-width: 1153px) {
        display: flex;
    }
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;

    a {
        display: inline-block;
        padding: 10px 18px;
        color: #000000;
        text-decoration: none;
        transition: background 0.2s ease;
        font-size: 20px;

        &:hover {
            color: #5c5c5c;
        }
    }

    .special-nav {
        display: inline-block;
        padding: 7px 18px;
        margin-left: 18px;
        background: var(--primary-color);
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: background 0.2s ease;

        &:hover {
            color: var(--secondary-text-color);
            background: var(--btn-hover-color);
        }
    }

    @media (max-width: 1153px) {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        background: var(--secondary-color);
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.12);
        padding: 2rem 0;

        &.open {
            display: flex;
        }

        a {
            padding: 12px 20px;
            font-size: 18px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);

            &:last-child {
                border-bottom: none;
            }
        }

        .special-nav {
            margin: 0.5rem 1rem;
            text-align: center;
        }
    }
}

/* Hero Section ------------------------------------------------------------------------------------ */
.hero-section {
  color: #000000;
  padding: 4rem 2rem;
  margin-right: 100px;
  text-align: center;
  min-height: 400px;
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin-left: 50px;

  @media (max-width: 1030px) {
    width: 100%;
    margin: auto;
  }

  @media (max-width: 768px) {
    margin: 0;
    padding: 0;
    margin-top: 0;
    padding-top: 10px;
  }


}

.hero-text {
  width: 600px;
  font-size: 20px;
  line-height: 200%;
  text-align: right;
  padding-bottom: 30px;
  margin-right: 200px;

  @media (max-width: 1030px) {
    width: 100%;
    margin-right: 0;
    /* text-align: left; */
    font-size: 20px;
  }

  @media (max-width: 768px) {
    padding-bottom: 0;
    width: 95%;
    margin: auto;
    font-size: 16px;
    text-align: center;
  }
}

.hero-image-img {
    width: 320px;

    @media (max-width: 1030px) {
        width: 320px;
        max-width: 380px;
        display: block;
        margin: 0 2rem 0 4rem;
    }

    @media(max-width: 768px) {
      width: 90%;
      margin: auto;
      margin-top: 2rem;
      margin-bottom: 4rem;
    }

    @media (max-width: 500px) {
      padding: 0 20px;
      width: 100vw;
      max-width: unset;
      margin: auto;
      margin-top: 0;
      margin-bottom: 4rem;
    
    }
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* Contact Section ----------------------------------------------------- */

.contact-section {
  background: var(--primary-color);
  width: 100vw;
  margin: 80px 0;
  margin-left: calc(50% - 50vw);
  padding: 70px 0;
  color: var(--secondary-text-color);

  .contact-content {
    text-align: center;

     @media (max-width: 768px) {
        width: 80%;
        margin: auto;
    }

    .contact-title {
      font-family: var(--font-heading);
      font-weight: 300;
      letter-spacing: 0%;
      line-height: 1.8;
      font-size: 36px;
      margin-bottom: 60px;

      @media (max-width: 1030px) {
        font-size: 32px;
      }

      @media (max-width: 768px) {
        font-size: 24px;
      }
    }

    .contact-phone, .contact-mail {
      font-size: 24px;

      @media (max-width: 1030px) {
        font-size: 20px;
      }

      @media (max-width: 768px) {
        font-size: 18px;
      }
    }
  }
}

/* Address Section -------------------------------------- */

.address-section {
  gap: 100px;
  width: 90%;
  margin: auto;
  margin-top: 130px;

  .address-image img {
    width: 600px;

    @media (max-width: 1030px) {
      width: 500px;
      /* max-width: 100%; */
      height: auto;
      display: block;
    }

    @media (max-width: 768px) {
      width: 100%;
      display: block;

    }

  }

  .address-content {
    margin-top: 20px;

    @media (max-width: 768px) {
      margin: 0 12px;
    }

    .address-block {
        .address-heading {
          font-family: var(--font-heading);
          line-height: 200%;
          font-size: 36px;

          @media (max-width: 1030px) {
            font-size: 32px;
          }
        }

        .address-text {
          @media (max-width: 1030px) {
            font-size: 16px;
          }
        }

    }
  }

  @media (max-width: 1030px) {
    /* flex-direction: column !important; */
    width: 90%;
    margin: auto;
    gap: 60px;
    margin-top: 3rem;
    margin-bottom: 6rem;
  }

   @media (max-width: 768px) {
      width: 100%;
      gap: 20px;
      margin-bottom: 3rem;
  }
}

/* About Section -------------------------------------------- */
.about-section {
  width: 100vw;
  margin: 80px 0;
  margin-left: calc(50% - 50vw);
  margin-top: 160px;
  background: var(--primary-color);
  padding: 80px 0;
  color: var(--secondary-text-color);
  line-height: 180%;

  @media (max-width: 1030px) {
    margin-top: 3rem;
  }

  @media (max-width: 768px) {
    padding: 40px 0;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  .about-content {
    width: 75%;
    margin: auto;

    @media (max-width: 768px) {
      width: 80%;
      margin: auto;
    }

    .about-headline {
      font-family: var(--font-heading);
      font-weight: 300;
      font-size: 48px;
      margin-bottom: 20px;
    }

    .about-content-section {
      margin-bottom: 40px;

      h3 {
        font-size: 36px;
        margin-bottom: 20px;
        font-family: var(--font-heading);
        font-weight: 300;

        @media (max-width: 1030px) {
          font-size: 32px;
        }
      }
    }
  }
}

/* Prices & Conditions Section --------------------------------- */
.prices-and-conditions-section {
  width: 90%;
  margin: auto;
  margin-top: 160px;
  gap: 150px;

  @media (max-width: 1030px) {

    gap: 1.5rem;
    margin-top: 3rem;
  }

  @media (max-width: 768px) {
    width: 100%;
    margin-top: 20px;
  }

  .prices-and-conditions-content {
    /* width: 60%;
    margin-left: 250px; */

    .prices-and-conditions-title {
      font-family: var(--font-heading);
      font-weight: 300;
      font-size: 36px;
      margin-bottom: 20px;
    }

    .conditions-container, .prices-container {
      margin-bottom: 40px;
    }

    @media (max-width: 1030px) {
      width: 95%;
      margin: auto;
      padding: 0 1.5rem;
    }
  }
}


/* Links Section --------------------------------------------- */
.links-section {
  width: 90%;
  margin: auto;
  margin-top: 140px;
  margin-bottom: 100px;

  .links-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 40px;
    margin-bottom: 40px;
  }

  .links-button-conatiner {
    gap: 20px;

    .link-button {
      background: var(--primary-color);
      color: var(--secondary-text-color);
      min-width: 200px;
      border: none;
      padding: 10px 15px;
      border-radius: 5px;

      &:hover {
        background: var(--btn-hover-color);
      }
    }

    @media (max-width: 1030px) {
      flex-wrap: wrap;
    }
  }

  @media (max-width: 1030px) {
    width: 80%;
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

   @media (max-width: 768px) {
    width: 90%;
    margin-top: 1rem;
    margin-bottom: 4rem;
  }
}



/* page-impressum ---------------------------------- */
.imprint-content {
  padding: 4rem 0 6rem;
}

.imprint-article {
  max-width: 80%;
  margin-left: 50px;
  line-height: 1.8;

  .data-protection {
    margin-bottom: 100px;
  }

  .imprint-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 38px;
    margin-bottom: 2rem;
  }

  p {
      margin-bottom: 1rem;
      font-size: 18px;
    }

}

/* Footer Styles ---------------------------------- */
.footer-text a {
  color: var(--secondary-text-color);
  text-decoration: none;

  &:hover {
    opacity: 80%;
  }
}

footer.site-footer {
  background-color: var(--primary-color);
  color: #ecf0f1;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-text {
  margin-bottom: 1rem;
}

.footer-credit {
  font-size: 0.9rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1rem;
}
