/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1b1b1b;
  background: #f7f6f4;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

a {
  color: inherit;
}


/* =========================
   HEADER / HERO
========================= */

.site-header {
  position: relative;
  background: linear-gradient(180deg, #fbfaf9 0%, #f0eadf 100%);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img000.png");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.nav {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 14px 0 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.meinbrand {
  font-weight: 1000;
  letter-spacing: -0.5px;
  font-size: 35px;
  font-style: italic;
  color: #333;
  line-height: 1;
}

.stovpchik {
  font-size: 80px;
  font-weight: bold;
  color: #7a3734;
  font-style: normal;
  vertical-align: middle;
}

.studioname {
  font-weight: 500;
  font-size: 25px;
  font-style: italic;
  vertical-align: middle;
}

.hero {
  padding: 25px 20px 70px;
  text-align: center;
}

.hero-inner {
  max-width: 850px;
  margin: 0 auto;
  font-style: italic;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.zusammen {
  display: block;
  margin-top: 14px;
  font-size: 30px;
  font-family: cityBlueprint, serif;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 25px;
  flex-wrap: wrap;
   max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn,
.btn-primary,
.btn-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  min-width: 180px;
  padding: 6px 8px;

  background: #7a3734;
  color: #fff;

  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;

  transition: 0.25s ease;
}

.hero-btn:hover,
.btn-primary:hover,
.btn-cta:hover {
  background: #8d403c;
  transform: translateY(-2px);
}


/* =========================
   SECTIONS
========================= */

.section {
  padding: 56px 0;
}

.about {
  background:  rgba(239, 231, 214, 0.55);
}

.about h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.about p {
  max-width: 700px;
  color: #333;
}

.txnummer1,
.txnummer2 {
  display: block;
  margin-left: 15px;
}


/* =========================
   PROJECTS / GALLERY
========================= */

.gallery {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-window {
  width: 90%;
  overflow: hidden;
  padding: 30px 0;
}

.gallery-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: transform .35s ease;
}

.gallery-img {
  width: 240px;
  height: 260px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0.55;
  transform: scale(0.82);
  transition: transform .3s ease, opacity .3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.gallery-img.active {
  opacity: 1;
  transform: scale(1.15);
  z-index: 10;
}

.gallery-img:hover {
  transform: scale(1.08);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(122,55,52,0.92);
  color: white;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 50;
  transition: 0.2s ease;
}

.gallery-arrow:hover {
  background: rgba(141,64,60,1);
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  justify-content: center;
  align-items: center;
  z-index: 1000000;
}

.lightbox img {
  max-width: 88%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.45);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 34px;
  background: none;
  border: none;
  color: white;
  font-size: 52px;
  cursor: pointer;
  z-index: 10;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  color: white;
  font-size: 42px;
  cursor: pointer;
  z-index: 10;
  transition: 0.2s ease;
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* =========================
   SERVICES / CONTACT
========================= */

.services-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: start;
}

.services-list {
  list-style: none;
  margin-top: 16px;
}

.services-list li {
  padding: 8px 0;
  font-weight: 600;
}

.zaholovok1 {
  font-size: 22px;
  font-weight: 400;
  margin-top: 14px;
}

.contact-box {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(20,20,20,0.04);
}

.contact-box h3 {
  margin-bottom: 12px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 14px;
}

.btn-primary.full {
  width: 100%;
  margin-top: 12px;
}

.umova_korustuvacha {
  font-size: 11px;
  margin-top: 8px;
}

.socials {
  margin-top: 8px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  border-top: 1px solid rgba(0,0,0,0.04);
  padding: 22px 0;
  background: #fbfaf9;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #444;
}


/* =========================
   FIXED LOGO
========================= */

.fixed-logo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 120px;
  height: auto;
  z-index: 1200;
  opacity: 0.98;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
}

.fixed-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.Baum {
  position: absolute;
  top: 1.4px;
  left: 1.7px;
  z-index: 5000;
  pointer-events: none;
}


/* =========================
   POPUP
========================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
}

.popup-box {
  position: relative;
  max-width: 520px;
  width: 90%;
  background: #ffffff;
  padding: 28px 26px 30px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

.popup-box h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.popup-box .discount {
  font-size: 20px;
  font-weight: 700;
  margin: 12px 0;
}

.popup-box .dates {
  margin-top: 16px;
  font-weight: 600;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* =========================
   ADAPTIVE
========================= */

/* Планшети і вузькі екрани */
@media (max-width: 950px) {
  .hero h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .zusammen {
    font-size: 24px;
  }

  .hero-buttons {
    gap: 18px;
  }
  
  .hero-btn,
  .btn-primary,
  .btn-cta {
    min-width: 170px;
    font-size: 15px;
    margin-top: 6px;
    padding: 10px 14px;
  }

  .services-inner {
    grid-template-columns: 1fr;
  }

  .fixed-logo {
    width: 100px;
    right: 12px;
    bottom: 12px;
  }
}


/* Телефони */
@media (max-width: 768px) {
  .nav {
    justify-content: center;
    padding: 18px 0 5px;
  }

  .meinbrand {
    font-size: 30px;
    text-align: center;
  }

  .stovpchik {
    font-size: 62px;
  }

  .studioname {
    font-size: 22px;
  }

  .hero {
    padding: 20px 15px 50px;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  .zusammen {
    font-size: 20px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 24px;
  }

  .hero-buttons .hero-btn {
    width: 240px;
    min-width: 0;
    margin-bottom: 20px;
    padding: 10px 14px;
  }

  .hero-buttons .hero-btn:last-child {
    margin-bottom: 0;
  }

  .section.about h2 {
    font-size: 24px;
    text-align: center;
  }

  .section.about p {
    font-size: 16px;
    line-height: 1.5;
  }

  .projects-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .gallery {
    width: 100%;
  }

  .gallery-window {
    width: 100%;
    padding: 10px 0;
  }

  .gallery-track {
    gap: 0;
  }

  .gallery-img {
    width: 90%;
    max-width: 340px;
    height: 360px;
    object-fit: contain;
    opacity: 1;
    transform: scale(0.95);
    margin: 0 auto;
  }

  .gallery-img.active {
    transform: scale(1);
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }

  .lightbox-close {
    top: 14px;
    right: 20px;
    font-size: 42px;
  }

  .contact-box {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .fixed-logo {
    right: 20px;
    bottom: 18px;
    width: 60px;
  }

  .Baum {
    top: 0;
    left: 7.1px;
    z-index: 10;
  }
}


/* Малі телефони */
@media (max-width: 420px) {
  .meinbrand {
    font-size: 25px;
  }

  .stovpchik {
    font-size: 54px;
  }

  .studioname {
    font-size: 19px;
  }

  .hero h1 {
    font-size: 21px;
  }

  .zusammen {
    font-size: 18px;
  }

  .hero-buttons .hero-btn {
    width: 230px;
    margin-bottom: 20px;
  }
}


/* Модальне акційне вікно на телефонах */
@media (max-width: 600px) {
  .popup-box {
    width: 92%;
    padding: 20px 18px 22px;
    border-radius: 14px;
  }

  .popup-box h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .popup-box p {
    font-size: 14px;
    line-height: 1.45;
  }

  .popup-box .discount {
    font-size: 18px;
    margin: 10px 0;
  }

  .popup-box .dates {
    font-size: 14px;
  }

  .popup-close {
    font-size: 26px;
    top: 10px;
    right: 12px;
  }
}
