/* Domain - CSS Styles */
/* Уникальная цветовая палитра */
:root {
    --primary-purple: #6A0DAD;
    --peach: #FFCBA4;
    --slate-gray: #2F2F2F;
    --aquamarine: #6FFFE9;
    --light-beige: #FAF3E0;
    --white: #FFFFFF;
    --text-dark: #2F2F2F;
    --text-light: #666666;
    --border-light: #E5E5E5;
    --shadow: rgba(106, 13, 173, 0.1);
    --shadow-hover: rgba(106, 13, 173, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-beige);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--primary-purple);
    text-shadow: 2px 2px 4px var(--shadow);
}

h2 {
    font-size: 2.5rem;
    color: var(--slate-gray);
}

h3 {
    font-size: 1.8rem;
    color: var(--slate-gray);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-purple);
    color: var(--white);
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-content p {
    color: var(--white);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.accept-btn {
    background: var(--peach);
    color: var(--slate-gray);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accept-btn:hover {
    background: var(--aquamarine);
    transform: translateY(-2px);
}

.policy-link {
    color: var(--aquamarine);
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Smooth scroll offset for anchor links */
html {
    scroll-padding-top: 100px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-purple);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px var(--shadow);
    transition: all 0.3s ease;
}

.logo a:hover {
    color: var(--slate-gray);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--slate-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-beige) 0%, var(--peach) 100%);
    padding: 150px 0 100px;
    margin-top: 80px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--slate-gray);
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    background: var(--primary-purple);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    animation: slideInLeft 1s ease 0.6s both;
}

.cta-button:hover {
    background: var(--slate-gray);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.hero-image {
    animation: slideInRight 1s ease 0.3s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Section Base Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Service Section */
.about-service {
    background: var(--white);
}

.service-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--light-beige);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 30px var(--shadow);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Advantages Section */
.advantages {
    background: linear-gradient(135deg, var(--aquamarine) 0%, var(--light-beige) 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.advantage-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Services Cards Section */
.services-cards {
    background: var(--white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light-beige);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 25px 50px var(--shadow-hover);
}

.service-card.featured {
    border-color: var(--primary-purple);
    transform: scale(1.05);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transform: rotate(10deg);
    z-index: 1;
}

.card-header {
    background: var(--primary-purple);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.card-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--peach);
}

.card-body {
    padding: 2rem;
}

.card-body ul {
    list-style: none;
}

.card-body li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 2rem;
}

.card-body li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
}

.card-footer {
    padding: 0 2rem 2rem;
}

.card-btn {
    display: block;
    background: var(--aquamarine);
    color: var(--slate-gray);
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-btn:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--peach) 0%, var(--light-beige) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.author-info h4 {
    color: var(--primary-purple);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Infographic Section */
.infographic {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background: var(--slate-gray);
    transform: scale(1.1);
}

.infographic-visual {
    text-align: center;
}

.infographic-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--aquamarine) 0%, var(--light-beige) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-purple);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-item h4 {
    color: var(--primary-purple);
    margin-bottom: 0.3rem;
}

.contact-info .contact-item p {
    color: var(--text-dark) !important;
    font-weight: 600;
}

.contact-image {
    margin-top: 2rem;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px var(--shadow);
}

/* Form Styles */
.order-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--slate-gray);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light-beige);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px var(--shadow);
    transform: translateY(-2px);
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-item label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-item a {
    color: var(--primary-purple);
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: var(--primary-purple);
    color: var(--white);
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--slate-gray);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

/* Footer */
.footer {
    background: var(--slate-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--peach);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #CCCCCC;
    margin-bottom: 1rem;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #CCCCCC;
}

.legal-links,
.footer-section ul {
    list-style: none;
}

.legal-links li,
.footer-section ul li {
    margin-bottom: 0.5rem;
}

.legal-links a,
.footer-section ul li {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--aquamarine);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: #CCCCCC;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .logo a {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-content,
    .advantages-grid,
    .cards-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .order-form {
        padding: 1.5rem;
    }
    
    .service-card,
    .testimonial-item,
    .advantage-item {
        margin: 0 10px;
    }
}
