/* 
* vujuhe-fevegu.sbs - Air Filters Website
* Main stylesheet with modern, adaptive design and CSS animations
* Colors:
*  - Main: Electric purple #8F00FF
*  - Secondary: Deep emerald #046C63
*  - Accents: Icy silver #D6E1E7, light orange #FFA552
*  - Background: Gradient from misty white #F6F7FB to light gray #EAEAEA
*/

/* ========== RESET & BASE STYLES ========== */
:root {
  --color-primary: #8F00FF;
  --color-secondary: #046C63;
  --color-accent-1: #D6E1E7;
  --color-accent-2: #FFA552;
  --color-bg-light: #F6F7FB;
  --color-bg-dark: #EAEAEA;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #FFFFFF;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-bg-light), var(--color-bg-dark));
  background-attachment: fixed;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

ul, ol {
  list-style-position: inside;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.8em;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  margin: 15px auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

button, .btn, .cta-button {
  cursor: pointer;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  transition: var(--transition);
  display: inline-block;
}

.btn, .cta-button {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn:hover, .cta-button:hover {
  background-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(143, 0, 255, 0.3);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* ========== ANIMATIONS ========== */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -500px 0; }
  100% { background-position: 500px 0; }
}

.pulse {
  animation: pulse 2s infinite;
}

.shimmer {
  background: linear-gradient(to right, #f6f7fb 8%, #f0f0f0 18%, #f6f7fb 33%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

/* ========== HEADER & NAVIGATION ========== */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 180px;
}

.logo-svg {
  width: 100%;
  height: auto;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--color-primary);
  background-color: rgba(143, 0, 255, 0.1);
}

.main-nav .cta-button {
  color: var(--color-white);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(4, 108, 99, 0.95);
  color: var(--color-white);
  z-index: 900;
  padding: 15px 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-banner p {
  margin-bottom: 0;
  font-size: 0.9rem;
  max-width: 80%;
}

.cookie-banner .btn {
  background-color: var(--color-accent-2);
  color: var(--color-text);
  padding: 8px 16px;
  font-size: 0.9rem;
}

.cookie-banner .btn:hover {
  background-color: var(--color-white);
  color: var(--color-secondary);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, var(--color-primary) 5%, transparent 70%),
              radial-gradient(circle at bottom left, var(--color-secondary) 5%, transparent 70%);
  opacity: 0.1;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.hero .cta-button {
  font-size: 1.2rem;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 30px;
}

/* ========== ABOUT SECTION ========== */
.about {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  max-width: 450px;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.about-img:hover {
  transform: scale(1.02);
}

/* ========== ADVANTAGES SECTION ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
  margin-bottom: 20px;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(143, 0, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  transition: var(--transition);
}

.advantage-card:hover .icon-circle {
  background-color: rgba(4, 108, 99, 0.1);
  transform: scale(1.1) rotate(5deg);
}

.icon-circle svg {
  width: 50px;
  height: 50px;
}

/* ========== CATEGORIES SECTION ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-img {
  transform: scale(1.05);
}

.category-content {
  padding: 20px;
}

.category-card h3 {
  color: var(--color-secondary);
}

/* ========== PRICING SECTION ========== */
.price-table-container {
  overflow-x: auto;
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  background-color: var(--color-white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.price-table th, 
.price-table td {
  padding: 15px;
  border: 1px solid #eee;
}

.price-table th {
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-weight: bold;
}

.price-table tr:nth-child(even) {
  background-color: rgba(214, 225, 231, 0.3);
}

.price-table tr:hover {
  background-color: rgba(143, 0, 255, 0.05);
}

.price-table td:first-child {
  font-weight: bold;
  text-align: left;
}

/* ========== ORDER FORM SECTION ========== */
.order {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
}

.order-form {
  background: linear-gradient(135deg, var(--color-bg-light), var(--color-white));
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.order-form::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-accent-2));
  z-index: -1;
  border-radius: 12px;
  opacity: 0.7;
  animation: pulse 3s infinite;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input, 
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(4, 108, 99, 0.2);
}

.checkboxes {
  margin-top: 30px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-button {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: var(--color-white);
  font-size: 1.1rem;
  padding: 15px 40px;
  border-radius: 30px;
}

.submit-button:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.error-messages {
  background-color: rgba(255, 99, 71, 0.1);
  border-left: 4px solid tomato;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.error-messages ul {
  list-style: none;
}

.error-messages li {
  color: tomato;
  margin-bottom: 5px;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--color-white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-card::before {
  content: """;
  font-size: 100px;
  position: absolute;
  top: -20px;
  left: 10px;
  opacity: 0.1;
  color: var(--color-primary);
  font-family: Georgia, serif;
}

.quote {
  font-style: italic;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

.author {
  text-align: right;
  font-weight: bold;
  color: var(--color-secondary);
}

/* ========== FAQ SECTION ========== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: var(--color-white);
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  transition: var(--transition);
}

.faq-toggle:checked + .faq-question {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.faq-toggle:checked + .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--color-white);
  transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: #333;
  color: var(--color-white);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo svg {
  width: 150px;
  margin-bottom: 20px;
}

.company-desc {
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-contact h3, .footer-links h3 {
  color: var(--color-accent-2);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-contact ul, .footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-contact li, .footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-accent-1);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent-2);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ========== THANK YOU PAGE ========== */
.thank-you {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
}

.thank-you h1 {
  color: var(--color-secondary);
}

.thank-you .subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: var(--color-primary);
}

.message {
  margin-bottom: 40px;
}

.return-home {
  margin-top: 30px;
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  padding: 60px 0;
}

.legal-page h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-secondary);
}

.legal-content {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.effective-date {
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 30px;
  font-style: italic;
}

.legal-content h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-top: 30px;
  color: var(--color-primary);
}

.legal-content h2::after {
  content: none;
}

.legal-content ul, 
.legal-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.legal-content li {
  margin-bottom: 10px;
}

.back-to-home {
  text-align: center;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }
  
  .main-nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .cookie-banner .container {
    flex-direction: column;
    gap: 15px;
  }
  
  .cookie-banner p {
    max-width: 100%;
    text-align: center;
  }
  
  .thank-you-content,
  .legal-content {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .advantage-card,
  .testimonial-card,
  .category-card {
    padding: 15px;
  }
  
  .price-table th, 
  .price-table td {
    padding: 10px 5px;
    font-size: 0.9rem;
  }
  
  .form-group input, 
  .form-group select {
    padding: 10px;
  }
} 