:root {
    --dropdown-top-distance: 11.9vh; /* Default top distance, 20% of viewport height */
}
body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    color: #fff;
    background-color: #000;
}

.header {
    position: relative;
    text-align: center;
}







.custom-hr-gradient {
    border: none;
    height: 4px;
    background: linear-gradient(to right, #64531a, #d4af37, #d4af37);
    margin: 0px 0;
    box-shadow: 0 0 15px #816b2183;
}

.custom-hr-gradient2 {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #d4af37, #ffd95a, #d4af37);
    margin: 0px 0;
    box-shadow: 0 0 15px #816b2183;
}
.service-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    
}
.service-hero a {
    text-decoration: none;
    
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;

}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;

}

.cta-button {
    padding: 12px 24px;
    background: linear-gradient(90deg, #d4af37, #ffd700, #b8860b);
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    background-size: 200% auto;
    transition: 0.4s;
}

.cta-button:hover {
    background-position: right center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.7);
}


.podology-intro {
    max-width: 750px; /* Ширина для удобства чтения */
    margin: 0 auto; /* Центрирование блока */
    padding: 50px 20px; /* Отступы для внешнего вида */
    text-align: justify; /* Выравнивание текста по ширине */
  }
  
  .podology-intro h2 {
    font-size: 2rem; /* Размер заголовка */
    color: #d4af37; /* Цвет заголовка */
    margin-bottom: 20px;
  }
  
  .podology-intro p {
    font-size: 1.2rem;
    line-height: 1.5; /* Высота строки для комфортного чтения */
    margin-bottom: 20px; /* Отступы между абзацами */
  }
  

  .services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Добавляем пространство между карточками */
    gap: 20px;
    padding: 20px;


}

.service-item {
    flex: 1 1 calc(33.33% - 20px); /* Каждая карточка занимает 1/3 строки */
    max-width: 600px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

.service-item:hover {
    transform: translateY(-10px);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 22px;
    color: #d4af37;
    margin-bottom: 10px;
}

.service-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.service-price {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}



.service-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(90deg, #d4af37, #ffd700, #b8860b);
    border-radius: 5px;
    background-size: 200% auto;
    text-decoration: none;
    transition: 0.4s;
}

.service-button:hover {
    background-position: right center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.7);
}

/* Адаптивные стили для мобильных */
@media (max-width: 1024px) {
    .service-item {
        flex: 1 1 calc(50% - 20px); /* 2 карточки в строке */
    }
}

@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%; /* 1 карточка в строке */
    }
}


