* {
  margin: 0;

  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}

body {
  background: #0e0e0e;
  color: #fff;
  line-height: 1.6;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  /* напівпрозорий */
  backdrop-filter: blur(5px);
  /* легкий blur */
}

.footer-contacts h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #e5e5e5;
}

.footer-contacts p {
  margin: 0;
  font-size: 18px;
}

.footer-bottom {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
}

.footer-bottom a {
  color: #888;
  text-decoration: none;
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: #caa24d;
}


.reviews {
  padding: 80px 8%;
  background: #0e0e0e;
}
.reviews h2{
  color: #cfa96b;
}

.reviews-title {
  text-align: center;
  color: white;
  font-size: 36px;
  margin-bottom: 40px;
}

.reviews-masonry {
  column-count: 4;
  column-gap: 20px;
}

.reviews-masonry img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  transition: 0.3s;
  cursor: pointer;
}

.reviews-masonry img:hover {
  transform: scale(1.03);
}



.contact-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.cities {
  text-align: center;
  color: white;
  margin-top: 60px;
}

.cities h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #cfa96b;
}

.city-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 20px;
}

.city-list span {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 18px;
  border-radius: 20px;
}

.contact-icons a {
  font-size: 50px;
  color: #333;
  transition: 0.3s;
}

.contact-icons a:hover {
  color: #0077ff;
  transform: scale(1.2);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  /* щоб кнопки не заходили на фото */
}

.carousel-track-container {
  overflow: hidden;
}

.contact-us {
  padding: 100px 20px;
  text-align: center;
  background: #0e0e0e;
}

.contact-us-wrapper {
  display: flex;
  justify-content: center;
}

.contact-btn {
  display: inline-block;
  padding: 18px 40px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #cfa96b;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #b89355;
  transform: scale(1.05);
}
.carousel-track {
  display: flex;
  gap: 20px;
  /* ЗАМІСТЬ margin */
  transition: transform 0.4s ease
}

.carousel-slide {
  min-width: calc(100% / 3 - 20px);
  /* три фото на екрані, з врахуванням відступу */

  list-style: none;
}

.carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 100%;
  z-index: 10;
  transition: background 0.3s;
  /* центрування стрілки */
  display: flex;
  justify-content: center;
  align-items: center
}

.carousel-btn:hover {
  background: #cfa96b;
}

.carousel-btn.prev {
  left: -30px;
}

.carousel-btn.next {
  right: -30px;
}

.nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: #ffd700;
  /* золотистий акцент при ховері */
}


/* HERO */
.hero {
  position: relative;
  height: 100vh;
  top: 5vh;
  width: 100%;
}

.hero img {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("photo10.jpg");
  background-size: contain;
  max-width: 100%;
  width: 100%;
  height: 96%;
  margin-top: 2%;
  object-fit: cover;

}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero p {
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 20px;
}

button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 30px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #fff;
  color: #000;
}

/* PORTFOLIO */
.portfolio {
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio h2 {

  margin-bottom: 40px;
  text-align: center;
  /* Центруємо текст */
  font-size: 36px;
  /* Можна підправити під дизайн */
  letter-spacing: 2px;
  /* Для гарного вигляду */
  color: #cfa96b;
}



.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MEDIA SECTION */
.media-section {
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.media-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Відео під фото */
/* Відео під фото */
/* Відео під фото */
/* Відео під фото */
/* Контейнер відео */
.media-videos {
  display: flex;
  flex-wrap: wrap;      /* дозволяє перенос на другий рядок */
  gap: 20px;            /* відстань між відео */
}

/* Відео */
.media-videos video {
  width: 100%;          /* відео займає всю ширину колонки */
  max-width: calc(50% - 10px); /* два відео в рядку */
  height: 40dvh;        /* висота як у тебе була раніше */
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s;
}

.media-videos video:hover {
  transform: scale(1.02);
}

/* ABOUT */
.about {
  padding: 80px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.about img {
  width: 75%;
  height: auto;
  border-radius: 10%;

}


.about p {
  text-align: center;
  /* Центруємо текст */
  font-size: 18px;
  /* Можна підправити під дизайн */
  letter-spacing: 2px;
  /* Для гарного вигляду */
}

.about h2 {
  text-align: center;
  /* Центруємо текст */
  font-size: 24px;
  /* Можна підправити під дизайн */
  letter-spacing: 2px;
  /* Для гарного вигляду */
  color: #cfa96b;

}

.tx3{
    text-align: center;
  /* Центруємо текст */
  font-size: 24px;
  /* Можна підправити під дизайн */
  letter-spacing: 2px;
  /* Для гарного вигляду */
  margin-top: 5vh;

}
.tx3 h1{
  color: #cfa96b;
  font-size: 26px;
}


.card img:hover,
.about img:hover {
  transform: scale(1.05);
  /* збільшення на 5% */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  /* легка тінь */
  cursor: pointer;
}

.card img,
.about img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.pricing {

  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;

  padding: 8rem 2rem 5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -30dvh;
  /* ✅ тепер працює */
}

.plan-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}


.pricing-title {
  grid-column: 1 / -1;
  /* 🔥 розтягує на всю ширину grid */
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
}




.price-card {
  background: #1a1a1a;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
}


.plan-content h2 {
  margin-top: 0;
  font-size: 1.4em;
  color: #cfa96b;
}

.pricing-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  /* якщо фон темний */
}

.plan-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.plan-content ul li {
  margin: 0.5rem 0;
  color: #e6e6e6;
  line-height: 1.4;
}


.tg {
  display: inline-block;
  background-color: #cfa96b;
  border-radius: 50px;
  color: wheat;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;

  margin-top: auto;
  /* 🔥 ОСЬ ЦЕ ГОЛОВНЕ */

  ;
  transition: background 0.3s ease;
}

.btn {
  display: inline-block;
  background-color: #cfa96b00;
  border-radius: 20px;
  color: rgb(255, 255, 255);
  padding: 0.8rem 1.5rem;
  border-color: #ffffff;
  border: #ffffff solid;
  text-decoration: none;
  font-weight: bold;

  margin-top: auto;
  /* 🔥 ОСЬ ЦЕ ГОЛОВНЕ */

  ;
  transition: background 0.3s ease;
}

.tg:hover {
  background-color: #b89355;
}


/* CONTACT */
.contact {
  padding: 80px 20px;
  text-align: center;

}
.contact h2{color: #cfa96b;}
/* FOOTER */
.footer {
  padding: 20px;
  text-align: center;
  font-size: 42px;
  opacity: 0.5;
}

.btn {
  margin-top: 5vh;
}

/* DESKTOP */
@media (min-width: 667px) {
  .hero h1 {
    font-size: 52px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-videos {
    flex-direction: row;
    gap: 20px;
  }

  .media-videos video {
    width: 50%;
  }

  .carousel {
    margin-left: 20vh;

  }

  .reviews-masonry {
    column-count: 3;
  }

  .carousel-btn.prev {
    margin-left: -13.5vh;
  }

  .tx2 {
    margin-left: -20dvh;
  }
}

@media (max-width: 500px) {




  .hero {
    height: 51vh;
  }

  .hero img {
    height: 50vh;


    margin-top: 2%;
  }

  .about p {
    font-size: smaller;
  }

  .pricing-title {
    margin-top: 10%;
  }

  .logo {
    font-size: 10px;
    font-weight: 200;
    margin-left: -3vh;

  }

  .nav-list {
    gap: 13px;
  }

  .carousel-slide {
    min-width: calc(100% / 2 - 20px);
    /* дві фото на планшетах */
  }



  .reviews-masonry {
    column-count: 1;
  }

  .nav-list li a {
    font-size: 10px;
  }
}

@media (max-width: 790px) {
  .pricing-title {
    margin-top: 6dvh;

  }

  .reviews-masonry {
    column-count: 2;
  }

}

@media (max-width: 480px) {
  .reviews-masonry {
    column-count: 1;
  }

  .carousel {
    padding: 0 5px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
    left: auto;
  }



  .carousel-slide {
    min-width: 100%;


  }

  .carousel-track {
    gap: 0;
  }

  .carousel-slide {
    min-width: 100%;
  }

  .footer {
    font-size: 1.2em;
  }


}

.carousel-track-container {
  width: 100%;
  margin-left: -5%;

}

.pricing-title {
  margin-top: 6vh;
}

@media (min-width: 1800px) {

  /* ================== ЗАГАЛЬНИЙ КОНТЕЙНЕР ================== */

  .portfolio,
  .pricing,
  .about,
  .media-section {
    max-width: 1800px;
  }

  body {
    font-size: 20px;
  }

  /* ================== HERO ================== */

  .hero h1 {
    font-size: 80px;
  }

  .hero p {
    font-size: 26px;
  }

  button {
    font-size: 20px;
    padding: 18px 50px;
  }

  /* ================== ЗАГОЛОВКИ ================== */

  .portfolio h2,
  .pricing-title {
    font-size: 60px;
  }

  .about h2 {
    font-size: 42px;
  }

  /* ================== ABOUT ТЕКСТ ================== */

  .about p {
    font-size: 2rem;
    line-height: 1.8;
  }

  .tx2 {
    margin-left: 5%;
  }

  /* ================== ПРАЙС ================== */

  .pricing {
    gap: 19rem;
    max-width: 1900px;
    margin-left: 10%;
  }

  .price-card {
    padding: 3.5rem;
    border-radius: 30px;
    width: 130%;
  }

  .plan-content h2 {
    font-size: 2rem;
  }

  .plan-content ul li {
    font-size: 22px;
    line-height: 1.8;
  }

  .pricing-title {
    margin-top: 20dvh;
  }

  .tg {
    font-size: 20px;
    padding: 1.2rem 2.5rem;
  }

  /* ================== КАРУСЕЛЬ ================== */

  .carousel-slide {
    min-width: calc(100% / 4 - 20px);
  }

  .carousel {
    max-width: 2200px;
    padding: 0 150px;
    margin: 0 auto;
  }

  /* Кількість фото у ряд */
  .carousel-slide {
    flex: 0 0 auto;
    width: calc(100% / 5 - 30px);
    /* 5 фото на 2K */
  }

  /* Кнопки */
  .carousel-btn {
    width: 80px;
    height: 80px;
    font-size: 3rem;
  }

  .carousel-btn.prev {
    left: -60px;
  }

  .carousel-btn.next {
    right: -60px;
  }

  /* Відстань між слайдами */
  .carousel-track {
    gap: 30px;
  }

  .media-videos {
    flex-direction: row;
    gap: 40px;
    justify-content: center;
  }

  /* Відео */
  .media-videos video {
    width: 45%;
    /* два відео поруч, майже половина екрану кожне */
    height: 600px;
    /* висота більша для 2K */
    max-height: none;
    border-radius: 15px;
    object-fit: cover;
  }

  /* Hover ефект */
  .media-videos video:hover {
    transform: scale(1.03);
  }

  .hero-content {
    margin-left: -15%;
  }

  /* ================== PORTFOLIO ================== */
  .portfolio h2 {
    margin-left: -15%;
  }

  .cntct {
    margin-left: 0%;
    
  }
  

  /* Адаптація для великих моніторів (2K і більше) */

  .footer {
    padding: 70px 40px;
  }

  .footer-contacts h3 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .footer-contacts p {
    font-size: 26px;
  }

  .footer-bottom {
    margin-top: 35px;
    font-size: 20px;
    gap: 40px;
  }

  .footer-bottom a {
    font-size: 20px;
  }

}


/* ============================ */
/* Scroll-triggered animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}