/* 
   Air Filter Company Website Styles
   Color Palette:
   - Primary: #1FBBA6 (Turquoise)
   - Accent: #CFFF04 (Lime neon)
   - Dark background: #1A1A1D (Anthracite)
   - Light text: #FDFDFD (Milk white)
   - Additional: #8CAEBB (Muted blue-gray)
*/

/* Base Styles */
:root {
    --primary: #1FBBA6;
    --accent: #CFFF04;
    --dark: #1A1A1D;
    --light: #FDFDFD;
    --muted: #8CAEBB;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px for easy rem calculation */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
    text-align: center;
    position: relative;
    margin-bottom: 4rem;
}

h2:after {
    content: '';
    display: block;
    width: 8rem;
    height: 0.4rem;
    background-color: var(--accent);
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

section {
    padding: 8rem 0;
}

.rounded-img {
    border-radius: 1.5rem;
    overflow: hidden;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem var(--shadow);
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    background-color: var(--light);
    box-shadow: 0 0.2rem 1rem var(--shadow);
    z-index: 100;
    padding: 1.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 5rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li:not(:last-child) {
    margin-right: 2rem;
}

.main-nav a {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
}

.main-nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 26, 29, 0.7), rgba(26, 26, 29, 0.7)), url('img/CW4ylG.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
    text-align: center;
    padding: 15rem 0;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 2.2rem;
    max-width: 70rem;
    margin: 0 auto 4rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.benefit-box {
    text-align: center;
    padding: 3rem;
    border-radius: 1.5rem;
    background-color: white;
    box-shadow: 0 0.5rem 2rem var(--shadow);
    transition: var(--transition);
}

.benefit-box:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 3rem var(--shadow);
}

.icon {
    width: 10rem;
    height: 10rem;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 50%;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Categories Section */
.categories {
    background-color: #f9f9f9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.category-box {
    background-color: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem var(--shadow);
    transition: var(--transition);
}

.category-box:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 3rem var(--shadow);
}

.category-box img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

.category-box h3, .category-box p {
    padding: 0 2rem;
}

.category-box h3 {
    margin-top: 2rem;
}

.category-box a {
    margin: 2rem;
    display: inline-block;
}

/* About Us Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 1.5rem;
    box-shadow: 0 1rem 3rem var(--shadow);
}

/* How We Work Section */
.how-we-work {
    background-color: var(--dark);
    color: var(--light);
}

.how-we-work h2:after {
    background-color: var(--accent);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 1.5rem;
    transition: var(--transition);
}

.step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-0.5rem);
}

.step-number {
    background-color: var(--primary);
    color: var(--light);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.review-box {
    background-color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 2rem var(--shadow);
    transition: var(--transition);
}

.review-box:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 3rem var(--shadow);
}

.stars {
    color: var(--accent);
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.review-text {
    font-style: italic;
}

.client-name {
    font-weight: 600;
    text-align: right;
}

/* Order Form Section */
.order-section {
    background: linear-gradient(rgba(26, 26, 29, 0.9), rgba(26, 26, 29, 0.9)), url('img/v1Dd5H.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light);
}

.order-section h2:after {
    background-color: var(--accent);
}

.form-container {
    max-width: 60rem;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 1.5rem;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border-radius: 0.8rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    font-size: 1.6rem;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.4rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.form-group.checkbox a {
    color: var(--accent);
}

.form-group.checkbox a:hover {
    color: var(--primary);
}

/* Footer Styles */
.main-footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    margin-bottom: 2rem;
    color: var(--primary);
}

.contact-list, .legal-links {
    list-style: none;
}

.contact-list li, .legal-links li {
    margin-bottom: 1rem;
}

.contact-list a, .legal-links a {
    color: var(--light);
}

.contact-list a:hover, .legal-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    color: var(--light);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    box-shadow: 0 -0.5rem 2rem var(--shadow);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.8rem 2rem;
    border-radius: 5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    transition: var(--transition);
}

#cookie-accept {
    background-color: var(--accent);
    color: var(--dark);
}

#cookie-reject {
    background-color: transparent;
    color: var(--light);
    border: 1px solid var(--light);
}

#cookie-accept:hover {
    background-color: var(--primary);
    color: var(--light);
}

#cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-header {
        position: relative;
    }
    
    .header-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .form-container {
        padding: 3rem 2rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0.5rem;
    }
} 