/* ČistýVzduch - Main Stylesheet
   Created by Claude AI
*/

/* Root Variables */
:root {
    --primary-color: #00e5c5;
    --accent-color: #1c1c1e;
    --background-color: #f0fcff;
    --button-color: #ffe600;
    --text-color: #333333;
    --light-gray: #f5f5f7;
    --gray: #888888;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.6em;
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent-color);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--button-color);
    color: var(--accent-color);
    box-shadow: var(--shadow);
}

.hero .btn-primary {
    background-color: var(--primary-color);
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background-color: #fff;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/Dn05D7.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2::after {
    display: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.about-item {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.about-icon svg {
    width: 100%;
    height: 100%;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--background-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card h3 {
    padding: 20px 20px 10px;
    text-align: center;
    margin-bottom: 0;
}

.product-image {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-image svg {
    width: 120px;
    height: 120px;
}

.product-desc {
    padding: 0 20px 20px;
    flex-grow: 1;
}

.product-desc ul {
    margin: 15px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.product-desc ul li {
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #006154;
    margin: 15px 0;
}

.product-card .btn {
    margin: 0 20px 20px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #fff;
}

.benefits-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 30px;
}

.benefits-content {
    flex: 1;
    min-width: 200px;
}

.benefits-image {
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

.benefits-image svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.benefit-item {
    margin-bottom: 30px;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--background-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: #fff;
}

.reviews-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.review-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 350px;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.review-stars {
    display: flex;
    margin-bottom: 15px;
}

.review-stars svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 700;
    color: var(--accent-color);
}

/* Order Section */
.order {
    padding: 80px 0;
    background-color: var(--background-color);
}

.order-form {
    max-width: 600px;
    margin: 30px auto 0;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

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: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.order-form .btn {
    width: 100%;
    padding: 15px;
}

/* Form errors */
.form-errors {
    background-color: #ffe6e6;
    border-left: 4px solid #ff6b6b;
    color: #d32f2f;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.form-errors ul {
    list-style-type: disc;
    margin: 0;
    padding-left: 20px;
}

.form-errors li {
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background-color: var(--accent-color);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-col p,
.footer-col a {
    color: #aaa;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    color: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-container {
        padding: 10px 0;
    }
    
    .nav-toggle {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }
    .products-grid, .about-grid{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .nav-toggle span {
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--accent-color);
        left: 0;
        transition: var(--transition);
    }
    
    .nav-toggle span:nth-child(1) {
        top: 0;
    }
    
    .nav-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle span:nth-child(3) {
        bottom: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .benefits-wrapper {
        flex-direction: column;
    }
    
    .benefits-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .order-form {
        padding: 30px 20px;
    }
    
    .cookie-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .about-item,
    .product-card,
    .review-card {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
} 