/* 
* Main Styles for domain Website
* Color Palette:
* - Main background: #EFF9F0 (mint-white)
* - Accent: #FF6A00 (orange)
* - Text: #1E1E1E (almost black)
* - Secondary background: #FFF3E0 (light peach)
* - Buttons and links: #009688 (turquoise)
* - Shadows: rgba(0,0,0,0.15)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px; /* Для правильного позиционирования якорей с учетом фиксированного хедера */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #EFF9F0;
    color: #1E1E1E;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #009688;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6A00;
}

ul {
    list-style: none;
}

section {
    padding: 4rem 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FF6A00;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    background-color: #009688;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.btn:hover {
    background-color: #FF6A00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.card {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Header & Navigation */
header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: #FF6A00;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: #1E1E1E;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.3rem;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #FF6A00;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6A00;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

/* Mobile menu - CSS only */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1E1E1E;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

/* Main Sections */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background-color: #EFF9F0;
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: #1E1E1E;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}


.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Benefits Section */
.benefits {
    background-color: #FFF3E0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    color: #FF6A00;
    margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #FF6A00;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #FFF3E0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 500;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

/* FAQ Section */
.faq {
    background-color: #FFF3E0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* CSS-only FAQ accordion */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    display: none;
}

.faq-label {
    display: block;
    background-color: white;
    padding: 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.faq-label:hover {
    background-color: #EFF9F0;
}

.faq-label::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #FF6A00;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    border-radius: 0 0 20px 20px;
    transition: max-height 0.3s ease;
}

.faq-question:checked ~ .faq-content {
    max-height: 500px;
    padding: 1rem;
}

.faq-question:checked ~ .faq-label::after {
    content: '-';
}

/* Contact Section */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #009688;
}

.form-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

.form-check {
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background-color: #1E1E1E;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #FF6A00;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
}

.footer-section a:hover {
    color: #FF6A00;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
}

#accept-cookies {
    background-color: #FF6A00;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

#accept-cookies:hover {
    background-color: #009688;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-container h2 {
    margin-top: 2rem;
}

.policy-container ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Thank you page */
.thank-you {
    text-align: center;
    padding: 5rem 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thank-you h1 {
    color: #FF6A00;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .menu-toggle {
        display: none;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.15);
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }

    .main-nav ul li {
        margin: 0;
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 0.8rem 0;
    }

    .menu-toggle:checked ~ .main-nav {
        height: auto;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .footer-content {
        flex-direction: column;
    }
} 