:root {
  --primary: #0b1c3f;
  --accent: #cf8c23;
  --white: #ffffff;
  --light-gray: #f8f9fa;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}
.button_up svg{
  width: 32px;
  height: 32px;
  stroke: #fff;
}
section{
  padding: 100px 0;
}
.button_up:hover{
  background-color: #eb7c0e;
}
.button_up{
  border-radius: 100%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c7913d;
  position: fixed;
  z-index: 9999;
  bottom: 40px;
  right: 40px;
  cursor: pointer;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}
/* ================= HEADER ================= */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.header-container {
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
}


.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
section .container{
  z-index: 2;
}
.header-left {
  flex: 1;
  text-align: left;
}

.logo {
  flex: 1;
  text-align: center;
}

.logo img {
  height: 80px;
  object-fit: contain;
}

.header-right {
  flex: 1;
  text-align: right;
}

.header-right a {
  color: var(--white);
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
}

.header-right a:hover {
  color: var(--accent);
}
.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
  z-index: 1;
  pointer-events: none;
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 0;
  position: relative;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  background: url('images/first.jpg') no-repeat center bottom / cover fixed;

}



.hero-content {
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: 72px;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.btn:hover {
  background: #f59e0b;
}



.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 20%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  20% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}


/* ================= SCROLL DOWN ARROW ================= */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 30px;
  height: 30px;
  border-left: 4px solid var(--white);
  border-bottom: 4px solid var(--white);
  transform-origin: center;
  cursor: pointer;
  animation: bounce 2s infinite;
  transform: translateX(-50%) rotate(45deg);
  z-index: 100;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateX(-50%) translateY(10px) rotate(-45deg);
  }
}



/* ================= ABOUT SECTION ================= */


.section h2 {
  margin-bottom: 20px;
  font-size: 28px;
  text-transform: uppercase;
}
.section.about p{
  max-width: 850px;
  margin: 0 auto 16px;
  line-height: 1.25;
}
.section.about{
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--light-gray);
  color: var(--primary);
}
#about .bg-image {
  position: absolute;
  width: 370px;
  height: 370px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  pointer-events: none;
  background: url(images/pick_bg.png) no-repeat center center;
  background-size: contain;
}

/* ================= MARQUEE SECTION ================= */
.marquee {
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  display: flex;
  justify-content: center;
}



.marquee-content span {
  padding: 0 0.5rem;
}
.marquee-content {
  display: inline-block;
  white-space: nowrap;
  /*animation: marquee-scroll 3s linear infinite;*/
  /*animation-timing-function: linear;*/
}

/*@keyframes marquee-scroll {*/
/*  0% {*/
/*    transform: translateX(0);*/
/*  }*/
/*  100% {*/
/*    transform: translateX(-50%);*/
/*  }*/
/*}*/


/* ================= ADVANTAGES SECTION ================= */

.advantages-section {
  background-color: #fbf7ea;
  text-align: center;
}

.advantages-title {
  font-size: 36px;
  margin-bottom: 80px;
  font-weight: 700;
  /*color: #fff;*/
}

.advantages-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.advantage-item .content{
  padding: 1.5rem 1rem 2rem;
  text-align: center;
}
.advantage-item {
  width: 100%;
  max-width: 31%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1rem;
overflow: hidden;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.advantage-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.advantage-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.advantage-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 0;
  color: #000;
}

.advantage-item p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 260px;
}

/* ================= features-section ================= */
.features-section .overlay{
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.51));
}
.features-section {
  background: url('images/advantages.jpg') no-repeat center bottom / cover fixed;
  /*background-color: #fefefe;*/
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.feature-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  /*flex-wrap: wrap;*/
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  object-fit: cover;
}

.feature-content {
  max-width: 500px;
  color: #fff;
}

.feature-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.feature-content p {
  font-size: 16px;
  color: #d7d7d7;
  line-height: 1.6;
}

/*=============== final-cta ===================*/
.final-cta.split {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #ffffff, #e9e0c4);
}

.final-cta-image {
  flex: 1 1 65%;
  max-height: 100%;
  position: relative;
}

.final-cta-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.final-cta-content {
  flex: 1 1 35%;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.final-cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.final-cta .subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  color: #6b7481;
  max-width: 500px;
  line-height: 1.6;
}

.final-cta-container{
  display: flex;
}


/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #f3f4f6;
  padding: 60px 20px;
  text-align: center;
  font-size: 14px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  width: 400px;
  max-width: 90%;
  margin-bottom: 24px;
}

.footer h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #cf8c23; /* золотий або яскравий акцент */
}

.footer p {
  margin: 6px 0;
  color: #d1d5db;
}

.footer a {
  color: #cf8c23;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  margin: 0 12px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}
 /* ============ mobile ==========*/

/* Адаптив для планшетів */

@media (max-width: 1024px) {
  section{
    padding: 50px 0;
  }
  .logo{
    padding: 20px 0;
  }
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .header-left, .header-right {
    text-align: center;
  }

  .feature-block:last-child{
    margin-bottom: 0;
  }
  .feature-block, .feature-block.reverse {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    gap: unset;
  }
  .feature-content h3{
    margin-top: 20px;
  }
  .final-cta-container{
    flex-direction: column-reverse;
  }
  .final-cta-image img{
    position: static;
  }
  .final-cta-content{
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Адаптив для телефонів */
@media (max-width: 991px) {
  .advantage-item{
    max-width: calc(50% - 16px);
  }

}
@media (max-width: 768px) {
  .final-cta.split {
    flex-direction: column;
  }

  .final-cta-content {
    align-items: center;
    text-align: center;
    padding: 60px 20px;
  }
  .advantages-list {
    flex-direction: column;
    gap: 20px;
  }
  .advantage-item img{
    height: 250px;
  }
  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    font-size: 16px;
  }

  .advantages-list {
    max-width: 100%;
    padding: 0 10px;
  }

  .advantage-item {
    max-width: 100%;
  }

  .feature-content {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 375px) {
  .header-right a {
    margin-left: 10px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .final-cta-content {
    padding: 40px 20px;
  }

  .footer h3 {
    font-size: 18px;
  }
}
