/* ===== DOMAIN WEBSITE STYLES ===== */
/* Уникальная цветовая палитра и современный дизайн */

:root {
    /* Основная палитра */
    --primary-bg: linear-gradient(135deg, #0F2027 0%, #2C5364 100%);
    --accent-yellow: #FFD300;
    --accent-coral: #FF6F61;
    --light-beige: #F5F0E1;
    --grey-blue: #A7C5BD;
    
    /* Дополнительные цвета */
    --dark-overlay: rgba(15, 32, 39, 0.9);
    --light-overlay: rgba(245, 240, 225, 0.1);
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Шрифты */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--primary-bg);
    color: var(--light-beige);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER STYLES ===== */
header {
    background: var(--dark-overlay);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-yellow);
    text-decoration: none;
    font-family: var(--font-heading);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--accent-yellow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light-beige);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-yellow);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ===== MAIN CONTENT ===== */
main {
    margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
    position: relative;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, var(--light-overlay) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--light-beige);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--grey-blue);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-coral), var(--accent-yellow));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: var(--light-overlay);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--accent-yellow);
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--grey-blue);
    text-align: center;
    margin-bottom: 3rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--dark-overlay);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-yellow);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-coral);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--light-beige);
    line-height: 1.6;
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent-coral);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    background: var(--dark-overlay);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-coral);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-item h4 {
    color: var(--accent-yellow);
    margin: 1rem 0;
    font-size: 1.3rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--dark-overlay);
    border-radius: 20px;
    padding: 2rem;
    border-left: 4px solid var(--accent-yellow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateX(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--light-beige);
}

.testimonial-author {
    color: var(--accent-yellow);
    font-weight: bold;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--dark-overlay);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    margin: 3rem auto;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: var(--light-overlay);
    color: var(--light-beige);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select {
    background: var(--dark-overlay);
    color: var(--light-beige);
}

.form-group select option {
    background: var(--dark-overlay);
    color: var(--light-beige);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-yellow);
    transform: scale(1.02);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    color: var(--light-beige);
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group label a {
    color: white !important;
    text-decoration: underline;
}

.submit-button {
    background: linear-gradient(45deg, var(--accent-coral), var(--accent-yellow));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: var(--dark-overlay);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-coral);
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--light-beige);
}

.contact-item a {
    color: var(--light-beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-yellow);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark-overlay);
    border-top: 2px solid var(--accent-yellow);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-beige);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-yellow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--grey-blue);
    color: var(--grey-blue);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--dark-overlay);
    border-radius: 15px;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
    max-width: 400px;
    margin: 0 auto;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup p {
    color: var(--light-beige);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-accept {
    background: var(--accent-coral);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .services-grid,
    .benefits-grid,
    .process-steps,
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem 1rem;
        margin: 2rem 1rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .service-card,
    .step-item,
    .testimonial-card,
    .contact-item {
        padding: 1.5rem;
    }
}

/* ===== RETINA OPTIMIZATION ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero,
    .content-section {
        background-attachment: fixed;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .cookie-popup,
    header,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
