/* Импорт CSS переменных */
@import url('variables.css');

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Кнопки */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
}

/* Навигация (Glassmorphism) */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-main);
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Герой-секция (Первый экран) */
.hero-section {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(255,255,255,1) 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}
.hero-title span {
    color: var(--primary);
}

/* Карточки направлений */
.service-card {
    background: #fff;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.service-card:hover::after {
    transform: scaleX(1);
}
.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: var(--secondary);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}

/* Секция Обо мне */
.about-section {
    padding: 100px 0;
}
.about-img-placeholder {
    width: 100%;
    height: 500px;
    background: var(--secondary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}
.about-img-placeholder::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary);
    border-radius: var(--border-radius-lg);
    top: 15px;
    left: -15px;
    z-index: -1;
}

/* Доверие и отзывы */
.trust-section {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 100px 0;
}
.trust-section h2, .trust-section h3 {
    color: var(--text-on-dark);
}
.testimonial-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Footer */
footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding: 60px 0 20px;
}
footer h5 {
    color: #fff;
    margin-bottom: 20px;
}
footer a {
    color: #94a3b8;
}
footer a:hover {
    color: var(--accent);
}
