:root {
    --font-heading: 'Roboto Condensed', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --primary: #ff6a00;
    --primary-dark: #e55a00;
    --dark: #121212;
    --dark-light: #1e1e1e;
    --light: #f8f9fa;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: var(--font-body);
    scroll-behavior: smooth;
}

.bg-dark-custom {
    background-color: var(--dark-light) !important;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-outline-primary-custom {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary);
    color: white;
}

.border-primary-custom {
    border-color: var(--primary) !important;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
}

.service-card {
    transition: transform 0.3s;
    border: none;
    background-color: var(--dark-light);
}

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

.trainer-card {
    background-color: var(--dark-light);
    border: none;
    transition: transform 0.3s;
    overflow: hidden;
}

.trainer-card:hover {
    transform: scale(1.03);
}

.trainer-image {
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.trainer-card:hover .trainer-image {
    transform: scale(1.1);
}

.trainer-social {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.trainer-card:hover .trainer-social {
    opacity: 1;
}

.price-card {
    background-color: var(--dark-light);
    border: 2px solid var(--dark);
    transition: all 0.3s;
    position: relative;
}

.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.contact-info {
    background-color: var(--dark-light);
    border-radius: 10px;
    padding: 2rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

.navbar {
    background-color: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
}

footer {
    background-color: var(--dark-light);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 106, 0, 0.4);
}

.modal-content {
    background-color: var(--dark-light);
    color: var(--light);
}

.form-control {
    background-color: var(--dark);
    border: 1px solid #444;
    color: var(--light);
}

.form-control:focus {
    background-color: var(--dark);
    border-color: var(--primary);
    color: var(--light);
    box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25);
}

.callback-section {
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
    padding: 80px 0;
}

.callback-form-container {
    background-color: var(--dark-light);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 106, 0, 0.2);
}

.address-highlight {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-white-custom {
    color: #ffffff !important;
}

.big-call-button {
    font-size: 1.2rem;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.3);
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.big-call-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.big-call-button:hover::before {
    left: 100%;
}

.big-call-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 106, 0, 0.4);
}

.big-call-button:active {
    transform: translateY(-2px) scale(1.02);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 106, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, -10px); }
    100% { transform: translate(0, 0px); }
}

.trainer-specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.price-period {
    color: #888;
    font-size: 0.9rem;
}

/* Стили для неактивной кнопки */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Стили для валидных полей */
.is-valid {
    border-color: #198754 !important;
}

.form-check-input.is-valid {
    background-color: #198754;
    border-color: #198754;
}

.form-check-input.is-valid:checked {
    background-color: #198754;
    border-color: #198754;
}

/* Стили для невалидных полей */
.is-invalid {
    border-color: #dc3545 !important;
}

.form-check-input.is-invalid {
    border-color: #dc3545;
}

/* Стили для ссылки в чекбоксе */
.form-check-label a {
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Стили для текста ошибок */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Стили для текста подсказок */
.form-text {
    font-size: 0.875em;
    margin-top: 0.25rem;
}