/* 
* ČistýVzduch s.r.o. Stylesheet
* Colors:
* - Primary: #B497BD (Lavender)
* - Secondary: #A8D5BA (Pistachio)
* - Background: #FDFDFD (Milk white)
* - Text: #3D3D3D (Graphite)
* - Accent: #E8B44C (Ochre)
*/

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3D3D3D;
    background-color: #FDFDFD;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #B497BD;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #A8D5BA;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2em;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: #B497BD;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #A8D5BA;
    margin: 0.8rem auto 0;
}

/* ===== HEADER & NAVIGATION ===== */
.main-header {
    background-color: #FDFDFD;
    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: 15px 0;
}

.logo a {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-list a {
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-list a:hover, .nav-list a.active {
    background-color: rgba(180, 151, 189, 0.1);
}

.nav-list .cta-btn {
    background-color: #B497BD;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-list .cta-btn:hover {
    background-color: #A8D5BA;
    color: #3D3D3D;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
}

/* ===== BUTTONS & INPUTS ===== */
button, .cta-button, .service-button, .submit-btn, .return-home, .cookie-btn {
    background-color: #B497BD;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    text-align: center;
}

button:hover, .cta-button:hover, .service-button:hover, .submit-btn:hover, .return-home:hover, .cookie-btn:hover {
    background-color: #A8D5BA;
    color: #3D3D3D;
    transform: translateY(-3px);
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d9d9d9;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    margin-top: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #B497BD;
    box-shadow: 0 0 0 3px rgba(180, 151, 189, 0.2);
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(168, 213, 186, 0.2), rgba(180, 151, 189, 0.2));
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: #B497BD;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background-color: #FDFDFD;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #A8D5BA;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #B497BD;
    margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background-color: #FDFDFD;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    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.1);
}

.service-card h3 {
    color: #FDFDFD;
    background-color: #B497BD;
    padding: 15px 20px;
    margin: 0;
    text-align: center;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-features {
    padding: 20px;
    margin-bottom: 15px;
}

.service-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 5px;
    color: #A8D5BA;
    font-weight: bold;
}

.service-price {
    text-align: center;
    font-size: 1.2rem;
    padding: 0 20px 15px;
}

.service-button {
    display: block;
    margin: 0 20px 20px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 80px 0;
    background-color: #FDFDFD;
}

.reviews-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.review-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
    color: #3D3D3D;
}

.review-quote::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    left: 0;
    top: -20px;
    color: #E8B44C;
    opacity: 0.3;
}

.review-author {
    text-align: right;
    color: #B497BD;
}

/* ===== ORDER FORM SECTION ===== */
.order-section {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.order-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 5px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group:nth-child(3), .form-group:nth-child(4), .form-group:nth-child(5), .form-group:nth-child(6), .form-group:nth-child(7) {
    grid-column: 1 / span 2;
}

.form-note {
    grid-column: 1 / span 2;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #777;
}

/* ===== CONTACTS SECTION ===== */
.contacts-section {
    padding: 80px 0;
    background-color: #FDFDFD;
}

.contacts-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    flex: 2;
    min-width: 300px;
    position: relative;
    height: 450px;
    overflow: hidden;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #3D3D3D;
    color: #FDFDFD;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #A8D5BA;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column p, .footer-column address {
    margin-bottom: 15px;
    font-style: normal;
    opacity: 0.8;
    line-height: 1.6;
}

.legal-links li {
    margin-bottom: 8px;
}

.legal-links a {
    color: #FDFDFD;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
    color: #A8D5BA;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== LEGAL PAGES ===== */
.legal-section {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-section h1 {
    color: #B497BD;
    text-align: center;
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #3D3D3D;
    margin-top: 30px;
    font-size: 1.4rem;
}

.legal-section ul, .legal-section ol {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 10px;
}

.legal-section address {
    margin-top: 20px;
    font-style: normal;
    border-left: 3px solid #A8D5BA;
    padding-left: 15px;
}

/* ===== THANK YOU PAGE ===== */
.thanks-section {
    padding: 150px 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    margin: 30px auto;
    width: 80px;
}

.contact-details {
    margin: 25px 0;
}

.return-home {
    margin-top: 20px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(61, 61, 61, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}


/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero-section .container, .about-content {
        flex-direction: column;
    }
    .order-form {
        display: flex;
        flex-direction: column;
    }
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 22px;
        position: relative;
    }
    
    .menu-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #B497BD;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    
    .menu-icon span:nth-child(1) {
        top: 0px;
    }
    
    .menu-icon span:nth-child(2) {
        top: 9px;
    }
    
    .menu-icon span:nth-child(3) {
        top: 18px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(1) {
        top: 9px;
        transform: rotate(135deg);
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .menu-toggle:checked + .menu-icon span:nth-child(3) {
        top: 9px;
        transform: rotate(-135deg);
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FDFDFD;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .menu-toggle:checked ~ .nav-list {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .order-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(3), .form-group:nth-child(4), .form-group:nth-child(5), .form-group:nth-child(6), .form-group:nth-child(7) {
        grid-column: 1;
    }
    
    .review-card {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .benefits-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .benefit-card, .service-card {
        padding: 20px;
    }
    
    .contact-map {
        height: 300px;
    }
}

/* Form errors styling */
.form-errors {
    background-color: rgba(255, 99, 71, 0.1);
    border-left: 4px solid #E8B44C;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.form-errors p {
    color: #E8644C;
    margin: 5px 0;
    font-size: 0.95rem;
}