/*
Theme Name: My Client Theme
Author: Your Name
Version: 1.0
Description: A clean custom theme with full template files.
*/


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

body {
  overflow-x: hidden;
  font-family: sans-serif;
}

/* Header */
.header {
  background-color: #F4E3B2;
  width: 100%;
  position: relative;
  z-index: 9999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Georgia', serif;
}

.logo {
  margin-right: auto;
}

.logo img {
  margin-top: 30px;
  max-width: 120px;
  height: auto;
  display: block;
}

/* Обертка с фоном */
.image-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.image-wrapper picture,
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Затемнение */
.image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #947268;
  z-index: 1;
}

/* Текст на фоне */
.text-overlay {
  position: absolute;
  z-index: 2;
  top: 25%;
  color: #fff;
  text-align: center;
  padding: 2rem;
  max-width: 90%;
}
@media (min-width:1024px) {
  .text-overlay{
  left: 50%;
  transform: translate(-15%);
  }
}

/* Заголовок */
.text-overlay h1 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* Подзаголовок */
.text-overlay h3 {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
}

/* Кнопки */
.button-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

#Jetzt-buchen,
#Mehr-info {
  text-decoration: none;
  background-color: #310E10;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#Jetzt-buchen:hover,
#Mehr-info:hover {
  background-color: white;
  color: #310E10;
}

/* Мобильные стили */
@media (max-width: 767px) {
  .text-overlay h1 {
    font-size: 1.5rem;
    margin-top: 0px;
  }

  .text-overlay h3 {
    font-size: 0.9rem;
  }

  #Jetzt-buchen,
  #Mehr-info {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }
}

.about-me {
  position: relative;
}

.burger {
  background: none;
  border: none;
  font-size: 28px;
  display: block;
  cursor: pointer;
  margin-right: 20px;
}

/* Выпадающее меню */
/* Основное меню */
.menu-list {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu-list li {
  position: relative;
}

.menu-list a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  padding: 12px 16px;
  display: block;
  transition: all 0.3s ease;
}

.menu-list a:hover {
  background-color: #310E10; /* ваш акцентный цвет */
  color: #fff;
  border-radius: 4px;
}

/* Выпадающее подменю */
.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  color: #333;
  padding: 12px 20px;
}






.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
  display: flex;
  gap: 10px;
}

.menu-list a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}


/* MOBILE — до 767px */
@media (max-width: 767px) {
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #f4e3b2;
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 9;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .main-nav.active {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
  }
}




/* Tablet and up */
@media (min-width: 768px) {
  .burger {
      margin-left: 550px;
      display: none;
  }

  .main-nav {
      opacity: 1;
      transform: none;
      max-height: none;
      overflow: visible;
      display: block !important;
      width: auto;
  }

  .menu-list {
      flex-direction: row;
      gap: 20px;
  }

  .logo img {
      max-width: 150px;
  }
}

@media (min-width: 1024px) {
  .header {
      height: 110px;
  }

  .logo {
      margin-left: 0;
      max-width: 150px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .burger {
      margin-left: 150px;
  }

  .logo {
      width: 100%;
      text-align: left;
  }

  .logo img {
      margin-left: 0;
  }

  .text-overlay {
    transform: translate(+5%, 0%);
      top: 10%;
      width: 100%;
      padding: 1rem;
      font-size: 0.9rem;
  }
}

/* Front page */
#main_page_bg {
  width: 100%;
  filter: brightness(50%);
}

#Jetzt-buchen,
#Mehr-info {
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 2px;
  border: 2px solid #310E10;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

#Jetzt-buchen {
  background-color: #310E10;
  color: white;
}

#Jetzt-buchen:hover {
  background-color: white;
  color: #310E10;
}

#Mehr-info {
  background-color: white;
  color: black;
}

#Mehr-info:hover {
  background-color: #310E10;
  color: white;
}

/* Footer */
footer {
  background-color: #F4E3B2;
  color: #000;
  padding: 40px 20px;
  display: block;
  z-index: 20;
  font-family: 'Georgia', serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
  }
}

.footer-logo img {
  max-width: 200px;
}

@media (min-width: 768px) {
  .footer-logo img {
      margin-top: 30px;
      margin-left: 100px;
      max-width: 250px;
  }
}

.footer-links {
  text-align: center;
}

@media (max-width: 767px) {
  .footer-links {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .footer-links {
      text-align: left;
  }
}

.footer-links h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 19px;
  display: inline-block;
  color: #000;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 1px;
  background-color: #000;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-contact {
  padding: 2rem;
}

.contact-section {
  color: #000;
}

@media (max-width: 767px) {
  .contact-section {
    text-align: center;
  }
}

.contact-title {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1.3rem;
}

.contact-mobile,
.contact-email {
  margin: 0.2rem 0;
  color: black;
  font-size: 1rem;
}

.social-links {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .social-links {
    text-align: center;
  }
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}




/* calendly */

.booking-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background-color: #E4E2DD; 
}

.booking-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  padding: 40px;
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.booking-title {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #111;
}

.booking-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
}

.booking-iframe-wrapper {
  width: 100%;
  height: 700px;
  overflow: hidden;
  border-radius: 12px;
}


/* about me */

.section-aboutme {
  display: flex;
  flex-wrap: wrap;
  background-color: #947268;
  padding: 50px;
}

.image-container {
  flex: 1 1 40%;
  text-align: center;
  z-index: 2;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
  margin-left: 70px;
  margin-top: 30px;
}

.text-wrapper {
  flex: 1 1 60%;
  background-color: #E4E2DD; 
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.04);
  z-index: 1;
}

.text-container {
  flex: 1 1 60%;
  padding: 20px;
  margin-left: 100px;
}

.text-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  margin-top: -60px;
  max-width: 500px;
}

.text-container h3 {
  position: relative;
  top: -60px;
  margin-bottom: 40px;
  margin-left: -10px;
  font-family: 'Mr Dafoe', cursive;
  font-weight: 50;
  font-size: 3.5em;
  color: #7f6483;
  margin-top: 0;
  transform: rotate(-8deg);
}

@media (max-width: 768px) {
  .text-container h2 {
    font-size: 30px;
  }
  .text-container h3 {
    top: 0;
    font-size: 2.5em;
  }
  .text-container {
    margin-left: 0;
    padding: 20px;
  }
}

.text-container p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  max-width: 600px;
}

.text-container .btn {
  background-color: #310E10;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  border: 1px solid #310E10;
  transition: background-color 0.3s ease;
  display: block;
  width: max-content;
  margin: 0 auto;
}

.text-container .btn:hover {
  background-color: #310E10;
}

@media (max-width: 768px) {
  .section {
    flex-direction: column;
    padding: 20px;
  }

  .text-wrapper{
    padding: 40px 0;
  }

  .image-container img {
    width: 100%;
    margin-left: 0;
  }
}


/* My services */
.cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 50px;
  background-color: #947268;
}

.card {
  width: 300px;
  background: #310E10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-text {
  padding: 20px;
}

.card-text h4 {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.2em;
  color: rgb(150, 150, 150);
  margin-bottom: 5px;
}

.card-text h2 {
  font-size: 1.4em;
  color: white;
  margin-bottom: 10px;
}

.card-text p {
  font-size: 0.95em;
  color: white;
  line-height: 1.5;
  margin-bottom: 15px;
}

.card-text a {
  font-weight: bold;
  color: white;
  text-decoration: none;
  font-style: italic;
}

.card-text a span {
  margin-left: 5px;
  color: #a187af;
}



/* latest posts */
.blog-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #E4E2DD;
}

.subtitle {
  font-family: 'Brittany Signature', cursive;
  font-size: 30.14px;
  color: #7D6A91;
  margin: 0 0 3px 0;
  display: inline-block;
  font-weight: 20;
}

.title {
  font-size: 36px;
  margin: 10px 0 20px;
  color: #333;
}

.blog-posts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.post {
  max-width: 350px;
  border: 1px solid #f0f0f0;
  padding: 10px;
  background: #947268;
  transition: box-shadow 0.3s ease;
}

.post:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post img {
  width: 100%;
  height: auto;
}

.see-more a {
  font-weight: bold;
  color: #3b2f2f;
  text-decoration: none;
  font-style: italic;
}


/* Buch */
.Buch{
  color:#fff;
  background: #310E10;
  padding: 0 50px;
  display:flex;
  align-items:center;                     /* центр по вертикали */
  gap: clamp(16px, 4vw, 48px);
}

/* картинка слева */
.image-buch{ flex: 0 0 auto; display:flex; }
.image-buch img{
  width: clamp(160px, 22vw, 260px);
  height: auto;
  object-fit: contain;
  transform: rotate(-3deg);
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.35));
}

/* текст посередине */
.buch-content{ max-width: 62ch; }
.subscribe-text{
  margin:0 0 10px;
  font: 700 clamp(22px, 4vw, 42px)/1.15 Georgia, serif;
}
.Buch p{
  margin:0;
  color: rgba(255,255,255,.85);
  font-size: clamp(13px, 1.6vw, 16px); /* было до 18px */
  line-height: 1.6;
}

/* кнопка в конце ряда, по центру по вертикали */
.btn-buch{
  font-weight: 500;
  font-size: 20px;
  align-self: center;                     /* по центру вертикально */
  width: clamp(220px, 24vw, 420px);
  padding: 14px 20px;
  border: 0; border-radius: 8px;
  background:#F4E3B2; color:#fff; font-weight:700;
  text-align:center; cursor:pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,.15) inset, 0 10px 24px rgba(0,0,0,.2);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-buch:hover{ transform: translateY(-1px); box-shadow: 0 2px 0 rgba(0,0,0,.15) inset, 0 12px 28px rgba(0,0,0,.25); }
.btn-buch:focus-visible{ outline:3px solid #fff; outline-offset:3px; }

/* адаптив */
@media (max-width: 900px){
  .Buch{ flex-direction: column; text-align: center; padding-bottom: 30px; }
  .btn-buch{ margin-left: 0; width: 100%; }
  .image-buch img{ width: min(70vw, 360px); transform: rotate(-2deg); }
}
