/* Domain - Styles CSS */
/* Palette de couleurs :
   - Glubokii purpur: #6B0F1A
   - Elektricheskii korall: #FF5A5F
   - Slivochno-bezhevii: #F4E4C1
   - Pastel'nii indigo: #433C8A
   - Belii dim: #F5F5F5
   - Chernii ugol': #1A1A1A
*/

/* Reset et base */
* {
    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: #1A1A1A;
    background-color: #F5F5F5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #6B0F1A 0%, #433C8A 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F4E4C1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #F4E4C1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF5A5F;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF5A5F;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-phone {
    color: #F4E4C1;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #F4E4C1;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.header-phone:hover {
    background: #F4E4C1;
    color: #6B0F1A;
}

.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #F4E4C1;
    transition: all 0.3s ease;
}

/* Mobile menu animation */
.mobile-menu-checkbox:checked + .nav {
    display: flex;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-checkbox:checked ~ .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main content */
.main {
    margin-top: 80px;
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #6B0F1A;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #FF5A5F, #433C8A);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #6B0F1A;
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6B0F1A 0%, #433C8A 100%);
    color: white;
    padding: 6rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(244,228,193,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: #FF5A5F;
    background: linear-gradient(45deg, #FF5A5F, #F4E4C1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #F4E4C1;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #FF5A5F;
    color: white;
    border-color: #FF5A5F;
}

.btn-primary:hover {
    background: transparent;
    color: #FF5A5F;
    border-color: #FF5A5F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 95, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #F4E4C1;
    border-color: #F4E4C1;
}

.btn-secondary:hover {
    background: #F4E4C1;
    color: #6B0F1A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 228, 193, 0.3);
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #6B0F1A;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #1A1A1A;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F4E4C1 0%, #F5F5F5 100%);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #6B0F1A;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #433C8A;
    font-weight: 500;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Advantages Section */
.advantages {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F4E4C1 0%, #F5F5F5 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 90, 95, 0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: #6B0F1A;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #1A1A1A;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 15, 26, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #6B0F1A;
    margin-bottom: 1rem;
}

.service-content p {
    color: #1A1A1A;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #433C8A;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF5A5F;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #433C8A 0%, #6B0F1A 100%);
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .section-header p {
    color: #F4E4C1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: #F4E4C1;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #FF5A5F;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(107, 15, 26, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    background: linear-gradient(135deg, #F4E4C1 0%, #F5F5F5 100%);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #F4E4C1 0%, #F4E4C1 100%);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #6B0F1A;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #433C8A;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-answer {
    padding: 0 1.5rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: #1A1A1A;
    line-height: 1.6;
    margin: 0;
}

/* CSS-only accordion functionality */
.faq-checkbox:checked + .faq-question {
    background: linear-gradient(135deg, #F4E4C1 0%, #F4E4C1 100%);
}

.faq-checkbox:checked + .faq-question .faq-toggle {
    transform: rotate(45deg);
}

.faq-checkbox:checked + .faq-question .faq-toggle::before {
    content: "−";
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F4E4C1 0%, #F5F5F5 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6B0F1A;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(107, 15, 26, 0.1);
    border-radius: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F5F5F5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF5A5F;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.1);
}

.form-checkboxes {
    margin: 2rem 0;
}

.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 {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #433C8A;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info h3 {
    color: #6B0F1A;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(107, 15, 26, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item strong {
    color: #1A1A1A;
}

.contact-item a {
    color: #FF5A5F;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #6B0F1A 0%, #433C8A 100%);
    color: 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 {
    color: #F4E4C1;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #F5F5F5;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #F5F5F5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF5A5F;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.contact-info a {
    color: #FF5A5F;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info strong {
    color: #1A1A1A;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 228, 193, 0.2);
    color: #F4E4C1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-link {
    color: #FF5A5F;
    text-decoration: none;
    font-size: 0.9rem;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-accept {
    background: #FF5A5F;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: #F4E4C1;
    color: #6B0F1A;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 6rem 0;
    background: white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-content h1 {
    color: #6B0F1A;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #433C8A;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(107, 15, 26, 0.1);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: #6B0F1A;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: #433C8A;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #1A1A1A;
}

.legal-section a {
    color: #FF5A5F;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-actions {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(107, 15, 26, 0.1);
}

.legal-actions .btn {
    margin: 0 0.5rem;
}

.cookie-manager {
    background: linear-gradient(135deg, #F4E4C1 0%, #F5F5F5 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.cookie-manager h3 {
    color: #6B0F1A;
    margin-bottom: 1rem;
}

.cookie-manager p {
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.important-notice {
    background: linear-gradient(135deg, #FF5A5F 0%, #6B0F1A 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.important-notice h3 {
    color: #F4E4C1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.important-notice p {
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

/* Thank You Page Styles */
.thank-you .btn-secondary {
    background: transparent;
    color: #433C8A;
    border-color: #433C8A;
}

.thank-you .btn-secondary:hover {
    background: #433C8A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 60, 138, 0.3);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section ul {
        margin-left: 1rem;
    }
    
    .legal-actions .btn {
        display: block;
        margin: 0.5rem auto;
        width: 200px;
    }
} 