/* ============================================
   Air Purification Plant Website Styles
   Biophilic Minimalism + Wellness Tech Design
   ============================================ */

/* CSS Variables */
:root {
  /* Colors - Air Purification Palette */
  --color-primary: #7EBF74;
  --color-secondary: #DDE2E1;
  --color-accent: #A6D2C8;
  --color-dark: #0F4C3A;
  --color-light: #F7F9F6;
  --color-text: #2C3E2D;
  --color-text-light: #5A6B5C;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Typography */
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Rubik', sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
  
  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
  --border-thin: 1px solid rgba(126, 191, 116, 0.2);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 76, 58, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 76, 58, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 76, 58, 0.16);
  --shadow-glow: 0 0 20px rgba(126, 191, 116, 0.3);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
  --transition-breathe: 0.6s ease-in-out;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.header-container {
  background: rgba(247, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-thin);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  z-index: 1000;
}

.header-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-dark);
  font-weight: 400;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  background: rgba(126, 191, 116, 0.1);
  color: var(--color-primary);
}

/* Burger Menu */
.burger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-dark);
  font-size: 1.5rem;
}

.burger-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  position: relative;
  transition: var(--transition-fast);
}

.burger-icon::before,
.burger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition-fast);
}

.burger-icon::before {
  top: -8px;
}

.burger-icon::after {
  bottom: -8px;
}

.burger-toggle.active .burger-icon {
  background: transparent;
}

.burger-toggle.active .burger-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-toggle.active .burger-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(166, 210, 200, 0.1) 0%, rgba(126, 191, 116, 0.1) 100%);
  padding: var(--space-xxl) var(--space-lg);
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: var(--space-xl);
}

.hero-title {
  color: var(--color-dark);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1.2s ease;
}

/* Floating Particles Effect */
.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0.6;
  }
}

/* Sections */
.content-section {
  padding: var(--space-xxl) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  border-radius: var(--radius-full);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.plant-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: var(--border-thin);
  transition: all var(--transition-breathe);
  position: relative;
  overflow: hidden;
}


.plant-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.plant-card:hover::before {
  opacity: 1;
}

.plant-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  background: var(--color-secondary);
}

.plant-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

.plant-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.plant-price {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-breathe);
  text-align: center;
}

.btn:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

/* Filter System */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  justify-content: center;
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  border: var(--border-thin);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Info Cards */
.info-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  border: var(--border-thin);
  transition: all var(--transition-breathe);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  color: white;
}

/* Room Sections */
.room-section {
  margin-bottom: var(--space-xxl);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  border: var(--border-thin);
}

.room-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.room-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-dark);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: var(--border-thin);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(126, 191, 116, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.checkbox-input {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Google Maps */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-xl) 0;
  border: var(--border-thin);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer-container {
  background: var(--color-dark);
  color: var(--color-light);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section h3 {
  color: var(--color-light);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.footer-menu {
  list-style: none;
}

.footer-link {
  color: rgba(247, 249, 246, 0.8);
  display: block;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 249, 246, 0.6);
  font-size: 0.9rem;
}

/* Privacy Popup */
.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 76, 58, 0.9);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.privacy-popup.active {
  display: flex;
}

.popup-content {
  background: var(--color-light);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.popup-close:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
}

/* Thank You Page */
.thank-you-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl);
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 3rem;
  color: white;
  animation: scaleIn 0.6s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 404 Page */
.error-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl);
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-primary);
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background: rgba(247, 249, 246, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    transform: translateX(-100%);
    transition: transform var(--transition-fast);
    border-bottom: var(--border-thin);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .burger-toggle {
    display: block;
  }

  .hero-section {
    min-height: 50vh;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .filter-container {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--space-sm);
  }

  .filter-btn {
    white-space: nowrap;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: var(--space-lg) var(--space-md);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .header-container {
    padding: var(--space-md);
  }

  .hero-content {
    padding: var(--space-lg);
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .plant-card {
    padding: var(--space-md);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .card-grid {
    gap: var(--space-md);
  }
}

/* Circular Image Frames */
.circular-frame {
  border-radius: var(--radius-full);
  overflow: hidden;
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-md);
  border: 3px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}

.circular-frame p{
    font-size: 0.2rem;
}

/* Scientific Indicators */
.purification-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.indicator-circle {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* Translucent Panels */
.translucent-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.hidden {
  display: none;
}

