/* Основные стили для сайта domain.com */

:root {
    --color-bg: #0e1a1f;         /* глубокий нефрит */
    --color-accent: #ff4a57;     /* яркий коралл */
    --color-heading: #ffffff;    /* чисто белый */
    --color-text: #b1c1c7;       /* приглушенный голубой */
    --gradient-button: linear-gradient(45deg, #ff4a57, #ffa07a);
    --font-main: 'Roboto', Arial, sans-serif;
}

/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

.btn {
    display: inline-block;
    background: var(--gradient-button);
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 74, 87, 0.2);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Хедер */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(14, 26, 31, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-heading);
    text-transform: lowercase;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--color-heading);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Главный баннер */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(14, 26, 31, 0.9), rgba(14, 26, 31, 0.7));
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Преимущества */
.benefits {
    background: rgba(14, 26, 31, 0.7);
}

.benefits-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* Виды аудита */
.audit-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.audit-type {
    padding: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.audit-type:hover {
    transform: translateY(-10px);
}

.audit-type h3 {
    color: var(--color-accent);
    margin-top: 10px;
}

.audit-type ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.audit-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.audit-type:hover .audit-image {
    transform: scale(1.05);
}

/* Интерактивный блок */
.interactive-audit {
    position: relative;
    height: 400px;
    overflow: hidden;
}

/* Отзывы клиентов */
.testimonials {
    background: rgba(14, 26, 31, 0.7);
}

.testimonial-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    padding: 25px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 20px;
}

/* Форма заказа */
.order-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-heading);
    font-size: 16px;
    appearance: none; /* Удаляет стандартный вид селекта */
}

.form-control::placeholder {
    color: rgba(177, 193, 199, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}

select.form-control {
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--color-accent) 50%), 
                      linear-gradient(135deg, var(--color-accent) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px), 
                         calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 30px; /* Место для стрелки */
}

select.form-control option {
    background-color: var(--color-bg);
    color: var(--color-heading);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    width: auto;
}

/* Футер */
footer {
    background: rgba(10, 20, 25, 0.9);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    padding: 20px;
    background: rgba(14, 26, 31, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup .btn {
    align-self: flex-end;
}

/* Политики страницы */
.policy-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    margin-bottom: 30px;
    color: var(--color-accent);
}

.policy-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Страница благодарности */
.thank-you {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    padding: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    text-align: center;
}

.thank-you h1 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .benefits-items,
    .audit-types,
    .testimonial-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(14, 26, 31, 0.95);
        width: 100%;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-items,
    .audit-types,
    .testimonial-items {
        grid-template-columns: 1fr;
    }
}
