/* 
 * FILTR-AIR - Main Stylesheet
 * Colors:
 * - Primary: #00BFA6 (bírůzovo-zelený)
 * - Secondary: #1E1E1E (tmavý antracit)
 * - Accent: #F2C94C (světlo-zlatý)
 * - Background: #F4F4F4 (šedý)
 * - Text: #2D2D2D (uhelný černý)
 */

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2D2D2D;
    background-color: #F4F4F4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #00BFA6;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: #008d7a;
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8em;
}

h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1em;
    position: relative;
    
}



h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: #00BFA6;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid #00BFA6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover, .btn:focus {
    background-color: transparent;
    color: #00BFA6;
    text-decoration: none;
}

.btn-secondary {
    background-color: #1E1E1E;
    border-color: #1E1E1E;
}

.btn-secondary:hover, .btn-secondary:focus {
    color: #1E1E1E;
    background-color: transparent;
}

.btn-accent {
    background-color: #F2C94C;
    border-color: #F2C94C;
    color: #1E1E1E;
}

.btn-accent:hover, .btn-accent:focus {
    color: #F2C94C;
    background-color: transparent;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.logo {
    max-width: 250px;
    display: flex;
    align-items: center;
}

.logo svg {
    height: auto;
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #2D2D2D;
    font-weight: 600;
    position: relative;
}

nav ul li a:hover, nav ul li a:focus {
    color: #00BFA6;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: #00BFA6;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a:focus::after {
    width: 100%;
}

/* Main Content */
main {
    margin-top: 80px; /* To account for fixed header */
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/XhqJZN.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 160px 0 100px !important;
}

.hero h1 {
    font-size: 3rem;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Benefits Section */
.benefits {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    padding: 30px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 191, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
    fill: #00BFA6;
}

/* How It Works */
.how-it-works {
    background-color: #F4F4F4;
}

.steps-container {
    margin-top: 50px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #00BFA6;
    transform: translateX(-50%);
}

.step {
    display: flex;
    margin-bottom: 80px;
}

.step:nth-child(odd) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    top: 30px;
    transform: rotate(45deg);
}

.step:nth-child(odd) .step-content::after {
    left: -10px;
}

.step:nth-child(even) .step-content::after {
    right: -10px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00BFA6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    top: 20px;
    z-index: 10;
}

.step:nth-child(odd) .step-number {
    right: -25px;
}

.step:nth-child(even) .step-number {
    left: -25px;
}

.step-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image img {
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    object-fit: cover;
}

/* Services */
.services {
    background-color: white;
}

.service-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-header {
    background-color: #00BFA6;
    color: white;
    padding: 20px 30px;
    text-align: center;
}

.plan-card:nth-child(2) .plan-header {
    background-color: #1E1E1E;
}

.plan-card:nth-child(3) .plan-header {
    background-color: #F2C94C;
    color: #1E1E1E;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0;
}

.plan-price span {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-features {
    padding: 30px;
    background-color: white;
}

.plan-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.plan-features ul li::before {
    content: "✓";
    color: #00BFA6;
    font-weight: bold;
    margin-right: 10px;
}

.plan-cta {
    padding: 20px 30px;
    text-align: center;
    background-color: #f9f9f9;
}

/* Testimonials */
.testimonials {
    background-color: #F4F4F4;
}

.testimonial-container {
    margin-top: 50px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 191, 166, 0.1);
    line-height: 1;
}

.testimonial-content {
    padding-left: 40px;
    font-style: italic;
}

.testimonial-author {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.accordion {
    margin-top: 50px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background-color: #f9f9f9;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: #00BFA6;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.accordion-content-inner {
    padding: 20px;
}

/* Use CSS to make accordion work without JS */
.accordion-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion-item input[type="checkbox"]:checked + .accordion-header::after {
    content: '−';
}

.accordion-item input[type="checkbox"]:checked ~ .accordion-content {
    max-height: 500px;
}

/* Contact Form Section */
.contact-form {
    background-color: #F4F4F4;
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.radio-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-container input[type="radio"] {
    margin-right: 8px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.form-error {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-success {
    background-color: rgba(0, 191, 166, 0.1);
    border-left: 4px solid #00BFA6;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #1E1E1E;
    color: white;
    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: #00BFA6;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #00BFA6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
}

.footer-col a:hover {
    color: #00BFA6;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 30, 30, 0.95);
    color: white;
    padding: 20px;
    z-index: 1001;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

/* Thank You Page */
.thank-you-container {
    text-align: center;
    max-width: 650px;
    margin: 100px auto;
    padding: 60px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(0, 191, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    fill: #00BFA6;
}
.policy h2{
    text-align: left !important;
}
/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    header .cta-button{
        display: none;
    }
    .step {
        flex-direction: column !important;
    }
    
    .step-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .steps-container::before {
        left: 20px;
    }
    
    .step-number {
        left: 8px !important;
        right: auto !important;
    }
    
    .step-content {
        margin-left: 50px;
    }
    
    .step-content::after {
        display: none;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    nav {
        display: none;
        margin: 15px 0;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        padding-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .benefit-icon,
    .thank-you-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon svg,
    .thank-you-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
} 