/* Reset простий */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #1b1b1b;
  background: #f7f6f4;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Загальні контейнерні правила */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Навігація */
.site-header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.meinbrand {
  font-weight: 1000;
  letter-spacing: -0.5px;
  font-size: 35px;
  position: relative;
  bottom: 400px;
  left: 25px;
  font-style: italic;
  color: #333;
}
.stovpchik{
  font-size: 80px;
  font-weight:bold;
  position: relative;
  top: 30px;
  letter-spacing: -0.5px;
  color: #7a3734;
  font-style: normal;

}
.studioname{
   font-weight: 500;
  /*letter-spacing: -0.5px;*/
  font-size: 25px;
  position: relative;
  top: 30px;
  font-style: italic;
}

.btn-cta {
  position: relative;
  left: 1000px;
  bottom: 370px;
  background: #7a3734;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  position: relative;
    z-index: 1;
}

/* HERO */
.hero {
  background: linear-gradient(180deg, #fbfaf9 0%, #f0eadf 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(0,0,0,0.04);   
}
/* Фон-картинка з прозорістю */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img000.jpg");
    background-size: cover;        /* заповнити весь блок */
    background-position: center;   /* по центру */
    opacity: 0.15;                 /* 15% видимості */
    z-index: 0;
}

/* Щоб текст був поверх */
.hero > * {
    position: relative;
    z-index: 1;
}

.hero-inner {
  max-width: 760px;
  font-style: italic;
  position: relative;
  left: 600px;
}
.zusammen{
font-size: 30px;
position: relative;
right: 150px;
font-family: cityBlueprint;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.02;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.lead {
  color: #5b5b5b;
  margin-bottom: 22px;
}
.btn-primary {
  display: inline-block;
  background: #7a3734;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-style: normal;
}

/* Секція about */
.section {
  padding: 56px 0;
}
.about {
  background: #efe7d6;
}
.about h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.about p { max-width: 700px; color:#333; }

.txnummer1{
display: block;
margin-left: 15px;
}

.txnummer2{
display: block;
margin-left: 15px;
}

/* Проєкти */
.gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow: hidden; /* Головне! Прибирає горизонтальний скрол */
    max-width: 100%; /* Не дає блоку розширяти сайт */
}

.gallery img {
    width: calc(50% - 10px); /* 2 фото в ряд | або можна 3 */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Показувати тільки перші 4 фото */
.gallery img:nth-child(n + 5) {
    display: none;
}


.gallery img:hover {
    transform: scale(1.05);
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    cursor: default;
}

/* Кнопки навігації */
.nav {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.left {
    left: -60px;
}

.right {
    right: -60px;
}

.close {
    position: absolute;
    top: -40px;
    right: -10px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}


/* Services + contact layout */
.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;
}

/* Contact box */
.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;
}

/*Oferta*/
.umova_korustuvacha {
    font-size:11px ;
}



/* 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;
}

.zaholovok1{
font-size: 22px;
font-weight: -0.1;}

/* Фіксований логотип праворуч-низ */
.fixed-logo {
  position: fixed;
  right: 20px;
  bottom: 18px;
  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;
}

/* Адаптивність */
@media (max-width: 900px) {
  .hero h1 { font-size: 32px; }
  .services-inner { grid-template-columns: 1fr; }
  .fixed-logo { width: 100px; right: 12px; bottom: 12px; }
}
@media (max-width: 520px) {
  .hero { padding: 48px 0; }
  .project-card img { height: 140px; }
  .site-header .nav { padding: 14px 0; }
  .brand { font-size: 16px; }
}

/* ================================
   📱 Мобільна адаптація
   До 768px (телефони)
================================ */


@media (max-width: 768px) {

    /* Верхня панель */
    .nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    html, body {
    width: 100%;
    overflow-x: hidden;
     height: auto;
     overflow-y: auto;
    }

    .meinbrand {
        position: relative;/* скидаємо будь-який fixed/sticky */
        top: auto;
        left: auto;
        text-align: center;
    }

    .btn-cta {
        position: relative;
        left: 280px;
        bottom: 320px;
        padding: 10px 18px;
        font-size: 16px;
        align-self: flex-start;
    }

    /* Hero секція */
    .hero {
        padding: 50px 20px;
        text-align: center;
    }
        
    .hero-inner h1 {
        position: relative;
        right: 580px;
        top: 80px;
        font-size: 15px;
    }

    .hero-inner .zusammen {
        position: relative;
        right: 70px;
        top: 10px;
        font-size: 16px;
    }

    .btn-primary {
        position: relative;
        right: 680px;
        top:75px;
        padding: 12px 22px;
        font-size: 18px;
        margin-top: 15px;
        
    }

    /* Текст секції "Про мене" */
    .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;
    }
    .zaholovok1{
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .gallery img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    /* Сервіси та контакт */
    .services-inner {
        flex-direction: column;
        gap: 30px;
    }

    .contact-box {
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .btn-primary.full {
        all: unset;
    display: block;
    background: #8a3d32; /* повертаєш свою стилістику */
    color: white;
    padding: 15px 120px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    
    }

    /* Футер */
    .footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Фіксований логотип */
    .fixed-logo img {
        width: 55px;
        height: 55px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        pointer-events: none;   /* Повністю вимикає реакцію на тап */
        touch-action: none;     /* Запобігає масштабуванню */
    }
}
