/* === VARIABLES === */
:root {
    /* Colors based on requirements */
    --primary: #00BCC2;         /* luzurny - primary background */
    --accent1: #FFC145;         /* shafranovo-zholty - accent */
    --accent2: #B5FFE1;         /* svetlyy izumrud - accent */
    --accent3: #6B0F1A;         /* nayschennyy fioletovy - accent */
    --text-dark: #222222;       /* antracitovy - dark text */
    --text-light: #FFFFFF;      /* white - light text */
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    
    /* Typography */
    --font-main: 'Arial', sans-serif;
    --font-heading: 'Arial', sans-serif;
    
    /* Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
}

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 80px;
    background: var(--accent1);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 60px 0;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #FF00FF, #FFC145);
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.btn-nav {
    background-color: var(--accent1);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: var(--border-radius);
}

.btn-nav:hover {
    background-color: var(--accent3);
    color: var(--text-light);
}

.btn-cookie {
    background-color: var(--accent1);
    color: var(--text-dark);
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
}

.btn-cookie:hover {
    background-color: var(--accent3);
    color: var(--text-light);
}

/* === HEADER & NAVIGATION === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

/* === COOKIE POPUP === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: var(--text-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    z-index: 2000;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--text-light);
    text-align: center;
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === ABOUT SECTION === */
.about {
    background-color: var(--gray-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* === SERVICES SECTION === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
    color: var(--primary);
}

.service-card p {
    margin-bottom: 20px;
}

/* === WHY US SECTION === */
.why-us {
    background-color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature img {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.feature h3 {
    color: var(--accent3);
    margin-bottom: 10px;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background-color: var(--primary);
    color: var(--text-light);
}

.testimonials h2:after {
    background-color: var(--accent2);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    width: 100%;
    max-width: 500px;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 10px 20px;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.5;
}

.client {
    display: flex;
    align-items: center;
}

.client img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.client-name {
    font-weight: bold;
    margin-bottom: 0;
}

.client-position {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* === FAQ SECTION === */
.faq {
    background-color: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-item input[type="checkbox"] {
    display: none;
}

.faq-item label {
    display: block;
    background-color: var(--accent2);
    color: var(--text-dark);
    padding: 15px;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    transition: background-color 0.3s;
}

.faq-item label:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.faq-item label::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: var(--text-light);
    transition: max-height 0.3s ease;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 15px;
}

/* === CONTACT INFO === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.contact-map {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* === FOOTER === */
.main-footer {
    background-color: var(--accent3);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent1);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent1);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* === THANK YOU PAGE === */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 50px 20px;
    background-color: var(--accent2);
    margin-top: var(--header-height);
}

.thank-you h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

.thank-you p {
    max-width: 600px;
    margin-bottom: 30px;
}

/* === POLICY PAGES === */
.policy-page {
    margin-top: calc(var(--header-height) + 30px);
    padding: 50px 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 30px;
}

.policy-content h2 {
    text-align: left;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content h2:after {
    left: 0;
    transform: none;
}

.policy-content p, .policy-content ul {
    margin-bottom: 15px;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 5px;
}

/* === ORDER FORM === */
.order-form {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent3) 100%);
    padding: 80px 0;
    color: var(--text-light);
}

.order-form h2 {
    color: var(--text-light);
    margin-bottom: 40px;
}

.order-form h2:after {
    background: var(--accent1);
}

.custom-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-light);
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    outline: none;
    background: transparent;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    padding-right: 30px;
}

.form-group select option {
    background: var(--accent3);
    color: var(--text-light);
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: 0.3s ease all;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: var(--accent1);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent1);
    transition: 0.3s ease all;
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line {
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-group label {
    position: static;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.checkbox-group a {
    color: var(--accent1);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent1);
    color: var(--text-dark);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease all;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        order: -1;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 15px;
        z-index: 1001;
    }
    
    .nav-toggle-label span, 
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-dark);
        height: 2px;
        width: 25px;
        position: relative;
        transition: transform 0.3s;
    }
    
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--text-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        left: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .hero {
        height: 60vh;
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .client img {
        width: 40px;
        height: 40px;
    }
} 