@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary: #C5A367;         
  --primary-hover: #8E6D3B;   
  --primary-dark: #8E6D3B;    
  
  --bg: #1A1A1A;              
  --muted: #A6A6A6;           
  --text: #ffffff;            
  --white: #ffffff;           
  --card-bg: #222222;         
  --border: #A6A6A6;          

  --shadow-light: rgba(197, 163, 103, 0.15);
  --shadow-medium: rgba(197, 163, 103, 0.4);
  --shadow-strong: rgba(197, 163, 103, 0.6);
  --primary-bg-light: rgba(197, 163, 103, 0.1);
  --primary-bg-ultralight: rgba(197, 163, 103, 0.05);
}

html {
  scroll-behavior: smooth;  
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

body {
  background: var(--bg);
  font-family: Montserrat, sans-serif;
  color: var(--text);
}

.no-scroll {
  overflow: hidden;
}

button {
  border: none;
  transition: 0.36s;
}

button:hover {
  cursor: pointer;
}

.main-container {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.content {
  width: 100%;
  max-width: 1200px;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(166, 166, 166, 0.2);
}

.header {
display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5px 20px;
    background-image: radial-gradient(circle 350px at 30% 30%, var(--primary) 40%, var(--primary-dark) 100%);
    background-size: 110% 210%;
    animation: gradientBreath 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.logo-header {
  display: flex;
  align-items: center;
  color: var(--text);
  position: relative;
  padding: 5px 0;
}

.logo-header img {
  height: 160px;
  width: 160px;
  position: absolute;
  z-index: 43;
}

.logo-header p {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin-left: 125px;
}

.navigations {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
}

.navigations a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

.navigations a:hover {
  color: var(--primary);
}

.hero-sections-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-left-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 80px;
  font-weight: 700;
  color: var(--text);
}

.hero-left-text span {
  font-weight: 600;
  font-size: 26px;
  color: var(--primary);
}

.hero-btn-conatiner {
  display: flex;
  gap: 20px;
}

.hero-btn-check, .hero-btn-scroll  {   
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 15px 20px;
  cursor: pointer;
  color: var(--bg); /* Темний текст на золотій кнопці виглядає краще */
  font-weight: 700;
  background-image: radial-gradient(circle 200px at 30% 30%, var(--primary) 40%, var(--primary-dark) 100%);
  background-size: 200% 300%;
  background-position: 50% 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: gradientBreath 3s ease-in-out infinite;
}

.hero-btn-scroll {
  background: none;
  color: var(--text);
  border: 2px solid var(--border);
}

.hero-btn-check:hover {
  border: 2px solid var(--primary-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px var(--shadow-medium);
}
      
.benefits-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.benefits-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
}

.benefits-cards-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.benefits-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  height: 180px;
  width: 100%;
  border: 2px solid var(--primary-dark);
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  color: var(--bg);
  background-image: radial-gradient(circle 250px at 30% 30%, var(--primary) 40%, var(--primary-dark) 100%);
  background-size: 200% 200%;
  animation: gradientBreath 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.services-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 20px;
  height: 180px;
  width: 100%;
  border: 2px solid var(--primary-dark);
  border-radius: 10px;
  font-weight: 600;
  font-size: 23px;
  padding-left: 20px;
  color: var(--bg);
  background-image: radial-gradient(circle 250px at 30% 30%, var(--primary) 40%, var(--primary-dark) 100%);
  background-size: 200% 200%;
  animation: gradientBreath 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.benefits-card i, .services-card i {
  color: var(--bg); 
  font-size: 86px;
}

.benefits-card:hover, .services-card:hover {
  border: 2px solid var(--primary);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px var(--shadow-medium);
}

.about-us-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg);
  gap: 40px;
}

.about-us-content {
  flex: 1 1 400px;
  max-width: 600px;
}

.about-us-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.about-us-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-us-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-us-highlights li {
  font-size: 1rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
  color: var(--primary);
  font-weight: 600;
}

.about-us-highlights li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.about-us-image {
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px var(--shadow-light);
  object-fit: cover;
}

.how-we-work-container {
  background-color: var(--bg);
  text-align: center;
  margin-top: 300px;
}

.how-we-work-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 40px;
  font-weight: 700;
}

.progress-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  margin: 0 auto;
  gap: 10px;
}

.progress-step {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  min-width: 80px;
  gap: 10px;
}

.progress-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  color: var(--primary);
  transition: all 0.5s ease;
  flex-shrink: 0;
}

.progress-step span {
  background: var(--bg);
} 

.progress-line {
  position: absolute;
  top: 25px;
  left: 5%;
  width: 90%;
  height: 4px;
  background-color: var(--primary-dark); /* темніша лінія */
  z-index: 1;
  border-radius: 2px;
}

.progress-fill {
  position: absolute;
  top: 25px;
  left: 5%;
  width: 0%;
  height: 4px;
  background-color: var(--primary); /* яскрава лінія заповнення */
  border-radius: 2px;
  z-index: 1;
  animation: fillProgress 9.5s linear infinite;
}

.trusted-by-section {
  background-color: var(--bg);
  margin-top: 300px;
  text-align: center;
}

.trusted-by-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
}

.logo-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: scrollLogos 30s linear infinite;
}

.logo-track img {
  height: 60px;
  filter: grayscale(100%) brightness(200%); /* Робить логотипи світлішими на чорному фоні */
  opacity: 0.8;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.1);
  filter: grayscale(0%) drop-shadow(0 0 8px var(--shadow-medium));
  opacity: 1;
}

.site-footer{
  background: var(--bg);
  padding: 48px 0;
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  border-top: 2px solid var(--primary);
  width: 100%;
  margin-top: 300px;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 28px;
  align-items: start;
}

.footer-brand{
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark{
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg); /* темний текст на золотому */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 20px var(--shadow-light);
  flex-shrink: 0;
}

.brand-name{
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.brand-sub{
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.footer-contacts{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts-title{
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px 0;
}

.contact-row{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}

.contact-row i{
  min-width: 26px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.contact-row .contact-text{
  color: var(--muted);
}

.contact-mail:hover,
.phone-link:hover{
  color: var(--primary);
}

.contact-phone{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.phone-link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration: none;
  color: inherit;
}

.messengers{
  display: flex;
  gap: 10px;
  align-items: center;
}

.msgr{
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: all .18s ease;
  font-size: 16px;
}

.msgr:hover{
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-light);
  border-color: transparent;
}

.msgr:hover i {
  color: var(--bg);
}

.contact-person{
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.contact-person i{ color: var(--primary); }

.footer-meta{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.meta-top{
  background: linear-gradient(90deg, var(--primary-bg-light), var(--primary-bg-ultralight));
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  text-align: right;
  border: 1px solid rgba(197, 163, 103, 0.2);
}

.meta-bottom{
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 920px){
  .footer-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-meta{ align-items: center; }
  .brand-mark{ margin: 0 auto; }
}

@media (max-width: 420px){
  .brand-mark{ width:56px; height:56px; font-size:16px; }
  .msgr{ width:34px; height:34px; font-size:14px; }
}

.msgr:focus, .contact-mail:focus, .phone-link:focus{
  outline: 3px solid var(--shadow-light);
  outline-offset: 2px;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .logo-track img {
    height: 40px;
  }
  .logo-track {
    gap: 30px;
  }
}

@keyframes fillProgress {
  0% { width: 0%; }
  20% { width: 20%; }
  40% { width: 40%; }
  60% { width: 60%; }
  80% { width: 80%; }
  100% { width: 90%; }
}

.progress-step:nth-child(1) .progress-icon { animation: stepPulse 9.5s infinite; animation-delay: 0s; }
.progress-step:nth-child(2) .progress-icon { animation: stepPulse 9.5s infinite; animation-delay: 2s; }
.progress-step:nth-child(3) .progress-icon { animation: stepPulse 9.5s infinite; animation-delay: 4s; }
.progress-step:nth-child(4) .progress-icon { animation: stepPulse 9.5s infinite; animation-delay: 6s; }
.progress-step:nth-child(5) .progress-icon { animation: stepPulse 9.5s infinite; animation-delay: 8s; }

@keyframes stepPulse {
  0%, 100% {
    background-color: var(--bg);
    color: var(--primary);
    transform: scale(1);
    box-shadow: none;
  }
  10%, 15% {
    background-color: var(--primary);
    color: var(--bg);
    transform: scale(1.15);
    box-shadow: 0 0 15px var(--shadow-strong);
  }
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--card-bg); /* Темний фон для мобільного меню */
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(166, 166, 166, 0.2);
  font-weight: 600;
  color: var(--primary);
}

.mobile-nav.show {
  display: flex;
}

@media (max-width: 768px) {
  .progress-bar {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .progress-line,
  .progress-fill {
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 90%;
  }

  .progress-fill {
    animation: fillVertical 10s linear infinite;
  }

  @keyframes fillVertical {
    0% { height: 0%; }
    20% { height: 20%; }
    40% { height: 40%; }
    60% { height: 60%; }
    80% { height: 80%; }
    100% { height: 100%; }
  }
}

@keyframes gradientBreath {
  0% { background-position: 30% 30%; }
  25% { background-position: 70% 40%; }
  50% { background-position: 50% 70%; }
  75% { background-position: 20% 60%; }
  100% { background-position: 30% 30%; }
}

@media (max-width: 1024px) {
  .header { padding: 15px 20px; }
  .hero-sections-container,
  .about-us-container {
    padding: 0 20px;
    gap: 30px;
  }
  .benefits-cards-container,
  .services-cards-container { gap: 25px; }
}

@media (max-width: 768px) {
  .navigations { display: none; }
  .burger {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
  }
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg);
    border-top: 1px solid var(--border);
  }
  .mobile-nav.show {
    display: flex;
    position: absolute;
    top: 113px;
    width: 100%;
    align-items: center;
    height: 100%;
    z-index: 999;
  }
  .mobile-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(166, 166, 166, 0.2);
    font-weight: 600;
  }
  .hero-sections-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 10px;
  }
  .hero-left-text { font-size: 2rem; }
  .hero-img {
    max-width: 90%;
    height: auto;
    margin-top: 20px;
  }
  .about-us-container {
    flex-direction: column;
    text-align: center;
  }
  .about-us-image { order: -1; }
  .benefits-cards-container,
  .services-cards-container { flex-direction: column; }
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-left-text { font-size: 1.6rem; }
  .about-us-title,
  .benefits-title { font-size: 1.4rem; }
  .hero-btn-check,
  .hero-btn-scroll {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  .brand-name { font-size: 1.2rem; }
  .footer-brand { flex-direction: column; }
  .footer-contacts { align-items: center; }
  .meta-top { text-align: center; }
  .benefits-cards-container,
  .services-cards-container { width: 90%; }
  .about-us-image, .hero-sections-container img { display: none; }
  .site-footer, .how-we-work-container, .trusted-by-section { margin-top: 100px; }
  .hero-btn-conatiner { gap: 5px; }
}

/* =========================================
   Стилі для секції Портфоліо (Слайдер)
   ========================================= */
.portfolio-section {
    width: 100%;
    padding: 80px 0;
    margin-top: 200px;
    text-align: center;
}

.portfolio-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 50px;
    text-transform: uppercase;
}

.portfolio-slider {
    width: 100%;
    padding: 20px 0 50px 0 !important;
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    border: 1px solid rgba(197, 163, 103, 0.3);
    transition: transform 0.4s ease;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), transparent);
    text-align: left;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-info h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--text);
    font-size: 0.9rem;
    opacity: 0.8;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-card:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-slider .swiper-button-next,
.portfolio-slider .swiper-button-prev {
    color: var(--primary) !important;
}

.portfolio-slider .swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

@media (max-width: 480px) {
    .portfolio-section { margin-top: 100px; }
    .portfolio-card { height: 300px; }
}