/* 
 * style.css - Main stylesheet for ČistýVZDUCH s.r.o. website
 * Responsive design with flexbox
 */

/* ===== Base Styles ===== */
:root {
    /* Color palette */
    --deep-ultramarine: #120E43;
    --light-lavender: #C1CEFE;
    --grey-mint: #A8C0B6;
    --bright-yellow: #FFD93D;
    --soft-white: #FDFDFD;
    --error-color: #cc0000;
    
    /* Font sizes */
    --font-small: 0.875rem;
    --font-medium: 1rem;
    --font-large: 1.125rem;
    --font-xl: 1.5rem;
    --font-xxl: 2rem;
    --font-hero: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--font-medium);
    line-height: 1.6;
    color: #333;
    background-color: var(--soft-white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--deep-ultramarine);
}

h1 {
    font-size: var(--font-hero);
}

h2 {
    font-size: var(--font-xxl);
    text-align: center;
}

h3 {
    font-size: var(--font-xl);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--deep-ultramarine);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--bright-yellow);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: var(--deep-ultramarine);
    color: var(--soft-white);
}

.primary-btn:hover {
    background-color: var(--bright-yellow);
    color: var(--deep-ultramarine);
}

.secondary-btn {
    background-color: var(--light-lavender);
    color: var(--deep-ultramarine);
}

.secondary-btn:hover {
    background-color: var(--deep-ultramarine);
    color: var(--soft-white);
}

section {
    padding: 5.2rem 0;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* ===== Header Styles ===== */
.site-header {
    background-color: var(--soft-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo a {
    display: block;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--deep-ultramarine);
    height: 2px;
    width: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 600;
}

/* ===== Hero Section ===== */
.hero-section {
    background-color: var(--light-lavender);
    text-align: center;
    padding: 6rem 0;
}

.hero-section h1 {
    color: var(--deep-ultramarine);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: var(--font-xl);
    color: var(--deep-ultramarine);
    margin-bottom: 2rem;
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* ===== Benefits Section ===== */
.benefits-section {
    background-color: var(--grey-mint);
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background-color: var(--soft-white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--deep-ultramarine);
}

/* ===== Services Section ===== */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--soft-white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    margin-bottom: 1.5rem;
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.price {
    font-weight: 700;
    font-size: var(--font-xl);
    color: var(--deep-ultramarine);
    margin: 1.5rem 0;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--light-lavender);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: var(--soft-white);
    border-radius: 8px;
    padding: 2rem;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* ===== Certificates Section ===== */
.certificates-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-item {
    background-color: var(--soft-white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.certificate-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.certificate-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--deep-ultramarine);
}

/* ===== Order Form Section ===== */
.order-section {
    background-color: var(--grey-mint);
}

.order-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--soft-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: var(--soft-white);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.form-note {
    font-size: var(--font-small);
    color: #666;
}

.form-errors {
    background-color: #ffe6e6;
    border: 1px solid #ff9999;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-errors ul {
    list-style-position: inside;
    color: #cc0000;
}

/* ===== Contact Section ===== */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-map {
    flex: 1 1 300px;
}

.business-hours {
    margin-top: 1.5rem;
    border-top: 1px solid #ccc;
    padding-top: 1.5rem;
}

/* ===== Footer Styles ===== */
.site-footer {
    background-color: var(--deep-ultramarine);
    color: var(--soft-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.legal-section h1{
    text-align: center;
    font-size: 2.3rem;
}
.footer-company-info {
    flex: 2 1 300px;
}

.footer-links, .footer-sitemap {
    flex: 1 1 200px;
}

.site-footer h3 {
    color: var(--soft-white);
    margin-bottom: 1.5rem;
}

.site-footer a {
    color: var(--light-lavender);
}

.site-footer a:hover {
    color: var(--bright-yellow);
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ===== Cookie Popup ===== */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--deep-ultramarine);
    color: var(--soft-white);
    padding: 1rem;
    z-index: 1001;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
}

/* ===== Thank You Section ===== */
.thank-you-section {
    padding: 16rem 0;
    background-color: var(--light-lavender);
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--soft-white);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.thank-you-content .btn {
    margin-top: 2rem;
}

.error-message {
    color: var(--error-color);
    font-weight: 600;
    padding: 1rem;
    background-color: rgba(204, 0, 0, 0.1);
    border-radius: 4px;
    margin: 1.5rem 0;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-toggle-label {
        display: none;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
    }
    
    .nav-menu li a {
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .benefit-card, .service-card, .testimonial-card, .certificate-item {
        flex-basis: 100%;
    }
} 