/* 
 * AeroČist - Main Stylesheet
 * Colors:
 * - Main background: #005F73 (lazurno-siniy)
 * - Accents: #FF6B6B (koralloviy)
 * - Text: #F7F5F2 (svetlo-bezheviy)
 * - Gradients: svetlo-salatoviy to biryuzoviy
 */

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #005F73;
    --accent-color: #FF6B6B;
    --text-color: #F7F5F2;
    --dark-text: #333333;
    --light-bg: #f8f9fa;
    --gradient-start: #98DFAF;
    --gradient-end: #2AB3B1;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff8f8f;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.large-text {
    font-size: 1.25rem;
}

/* Header Styles */
.site-header {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: var(--text-color);
    padding: 0.5rem 0.75rem;
    position: relative;
}

.main-nav ul li a:hover {
    color: var(--accent-color);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0.75rem;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: calc(100% - 1.5rem);
}

.nav-cta {
    background-color: var(--accent-color);
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
}

.nav-cta:hover {
    background-color: #ff8f8f;
    color: white !important;
}

.nav-cta::after {
    display: none !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 95, 115, 0.85), rgba(42, 179, 177, 0.85)), url('../img/cj7aH9.jpg');
    background-size: cover;
    background-position: center;
   
    display: flex;
    align-items: center;
    text-align: center;
    padding: 15rem 0 !important;
    position: relative;
}

section {  
    padding: 6rem 0 !important;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: normal;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #ff8f8f;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: white;
    color: var(--dark-text);
}

.about-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    color: var(--dark-text);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.benefit-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: white;
    color: var(--dark-text);
}

.services-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card .price {
    color: var(--accent-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-card ul {
    text-align: left;
    list-style-position: inside;
    margin-bottom: 2rem;
    flex: 1;
}

.service-card ul li {
    margin-bottom: 0.75rem;
}

.service-card .cta-button {
    width: 80%;
    margin: 0 auto;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-color);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.service-card.featured h3,
.service-card.featured .price {
    color: white;
}

.featured-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.gallery-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

/* Order Section */
.order-section {
    padding: 5rem 0;
    background-color: white;
    color: var(--dark-text);
}

.order-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 95, 115, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 10px;
}

.submit-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #ff8f8f;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
    color: var(--dark-text);
}

.contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info strong {
    color: var(--primary-color);
}

.open-hours {
    margin-top: 2rem;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.contact-map iframe {
    height: 100%;
    border-radius: 10px;
}

/* Footer Styles */
.site-footer {
    background-color: var(--primary-color);
    padding: 4rem 0 2rem;
    color: var(--text-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 60px;
}

.footer-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-nav h4,
.footer-legal h4,
.footer-contact h4 {
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 0.75rem;
}

.footer-nav ul li a,
.footer-legal ul li a {
    color: var(--text-color);
}

.footer-nav ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--accent-color);
}

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-popup p {
    flex: 1;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

/* Thank You Page */
.thank-you-section {
    
    display: flex;
    align-items: center;
    padding: 15rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 10px;
    color: var(--dark-text);
}

.thank-you-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.thank-you-content .large-text {
    font-size: 1.35rem;
    margin-bottom: 2rem;
}

.thank-you-content .cta-button {
    margin-top: 2rem;
}

/* Form Error Styles */
.form-errors {
    background-color: rgba(255, 107, 107, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 5px 5px 0;
}

.form-errors ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.form-errors li {
    color: #d9534f;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-errors li:last-child {
    margin-bottom: 0;
}

input.error, 
select.error {
    border-color: #d9534f;
    background-color: rgba(217, 83, 79, 0.05);
}

/* Thank You Page Error Message */
.error-message {
    color: #d9534f;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(217, 83, 79, 0.1);
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column-reverse;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
    }
    
    .nav-toggle-label span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0 1.5rem;
    }
    
    .main-nav ul li {
        margin: 1rem 0;
        margin-left: 0;
    }
    
    .nav-toggle:checked ~ .main-nav {
        max-height: 500px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        gap: 3rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.35rem;
    }
    
    section {
        padding: 3rem 0 !important;
    }
    
    .benefit-item,
    .testimonial-card,
    .contact-info {
        padding: 1.5rem;
    }
    
    .thank-you-content {
        padding: 2rem 1rem;
    }
} 