/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Цветовая палитра согласно ТЗ */
:root {
    --primary-color: #00CFC1;    /* насыщенный аквамарин */
    --bg-color: #1B1B1B;         /* угольно-черный */
    --accent-color: #FF6B6B;     /* коралловый */
    --secondary-text: #D1D1D1;   /* светло-серый */
    --form-accent: #FFC857;      /* шафрановый */
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header стили */
.header {
    background: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 207, 193, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 207, 193, 0.4);
}

/* Главный контент */
main {
    margin-top: 80px;
}

/* Секция Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 207, 193, 0.1), rgba(255, 107, 107, 0.1));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/mOuhh4.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.4rem;
    color: var(--secondary-text);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

/* Секции */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* Преимущества */
.advantages {
    background: rgba(0, 207, 193, 0.05);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 207, 193, 0.2);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 207, 193, 0.2);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 207, 193, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 207, 193, 0.3);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--secondary-text);
    line-height: 1.6;
}

.service-price {
    color: var(--form-accent);
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 15px;
}

/* Отзывы */
.testimonials {
    background: rgba(255, 107, 107, 0.05);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-style: italic;
    color: var(--secondary-text);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: bold;
}

/* Форма заказа */
.order-form {
    background: rgba(255, 200, 87, 0.05);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 200, 87, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-text);
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 200, 87, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--form-accent);
    background: rgba(255, 255, 255, 0.1);
}

.form-select {
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23FFC857' d='M8 12L3 7h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.form-select option {
    background: var(--bg-color);
    color: var(--white);
    padding: 10px;
    border: none;
    font-size: 16px;
}

.form-select option:hover {
    background: rgba(0, 207, 193, 0.2);
}

.form-select option:checked,
.form-select option:selected {
    background: var(--form-accent);
    color: var(--bg-color);
    font-weight: bold;
}

.form-select option[value=""] {
    color: var(--secondary-text);
    font-style: italic;
}

.form-select::-ms-expand {
    display: none;
}

/* Дополнительные стили для лучшей совместимости */
.form-select:invalid {
    color: var(--secondary-text);
}

.form-select:valid {
    color: var(--white);
}

/* Стили для браузеров Webkit */
.form-select::-webkit-input-placeholder {
    color: var(--secondary-text);
    opacity: 1;
}

/* Стили для Firefox */
.form-select::-moz-placeholder {
    color: var(--secondary-text);
    opacity: 1;
}

/* Стили для Internet Explorer */
.form-select:-ms-input-placeholder {
    color: var(--secondary-text);
}

/* Стили для современных браузеров */
.form-select::placeholder {
    color: var(--secondary-text);
    opacity: 1;
}

.form-input::placeholder {
    color: var(--secondary-text);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--form-accent);
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--form-accent), var(--accent-color));
    color: var(--bg-color);
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 200, 87, 0.4);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--secondary-text);
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--secondary-text);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 10000;
    border-top: 2px solid var(--primary-color);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    color: var(--secondary-text);
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-accept {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: var(--accent-color);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .advantages-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .advantage-card,
    .service-content,
    .testimonial-card {
        padding: 25px 20px;
    }
}

/* Политика страниц */
.policy-page {
    padding: 50px 0;
    max-width: 800px;
    margin: 0 auto;
}

.policy-content {
    color: var(--secondary-text);
    line-height: 1.8;
}

.policy-content h2 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.policy-content h3 {
    color: var(--accent-color);
    margin: 25px 0 10px;
}

.policy-content ul {
    padding-left: 20px;
    margin: 15px 0;
}

.policy-content li {
    margin-bottom: 5px;
}

/* Страница благодарности */
.thanks-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 207, 193, 0.1), rgba(255, 200, 87, 0.1));
}

.thanks-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.thanks-content p {
    color: var(--secondary-text);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Анимации для SVG галочки */
@keyframes circle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmark-path {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
} 