/* ============================================
   ECO-FRIENDLY TEXTILE ORGANIZATION WEBSITE
   Futuristic "Living Dashboard" Design
   ============================================ */

:root {
  /* Color Palette - Living Dashboard Theme */
  --color-oxygen-white: #F7F9F9;
  --color-chlorophyll-green: #2ECC71;
  --color-deep-mycelium: #34495E;
  --color-prism-start: rgba(46, 204, 113, 0.1);
  --color-prism-end: rgba(52, 73, 94, 0.1);
  
  /* Typography */
  --font-primary: 'Comfortaa', sans-serif;
  --font-secondary: 'Lexend', sans-serif;
  
  /* Spacing - Breathable System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-xxl: 6rem;
  
  /* Border & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(52, 73, 94, 0.08);
  --shadow-md: 0 4px 16px rgba(52, 73, 94, 0.12);
  --shadow-lg: 0 8px 32px rgba(52, 73, 94, 0.16);
  --shadow-glow: 0 0 20px rgba(46, 204, 113, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.8s ease;
  
  /* Breathable Grid Variables */
  --breath-scale: 1;
  --breath-padding: var(--space-md);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background: var(--color-oxygen-white);
  color: var(--color-deep-mycelium);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Floating UI Particles Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(46, 204, 113, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(52, 73, 94, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.8; }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-deep-mycelium);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-lg);
}

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

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

p {
  margin-bottom: var(--space-sm);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

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

a:hover {
  color: var(--color-deep-mycelium);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header-container {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(247, 249, 249, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(52, 73, 94, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand-text {
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-deep-mycelium);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 15px;
  list-style: none;
  align-items: center;
}

.nav-menu li a {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--color-deep-mycelium);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-menu li a:hover {
  background: rgba(46, 204, 113, 0.1);
  color: var(--color-chlorophyll-green);
}

/* Burger Menu Button - Always Last in Header */
.burger-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-deep-mycelium);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--space-xs);
  transition: all var(--transition-fast);
  order: 999;
  z-index: 100001;
}

.burger-toggle:hover {
  background: rgba(46, 204, 113, 0.1);
  border-color: var(--color-chlorophyll-green);
}

.burger-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-deep-mycelium);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.burger-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(247, 249, 249, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: var(--space-xxl) var(--space-lg);
  flex-direction: column;
  gap: var(--space-lg);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-list li a {
  font-size: 1.25rem;
  color: var(--color-deep-mycelium);
  padding: var(--space-sm);
  display: block;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-nav-list li a:hover {
  background: rgba(46, 204, 113, 0.1);
  color: var(--color-chlorophyll-green);
  padding-left: var(--space-md);
}

/* Responsive Header - Burger Menu up to 1023px */
@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
  
  .burger-toggle {
    display: flex;
  }
  
  .header-container {
    padding: var(--space-sm) var(--space-md);
  }
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
    visibility: hidden !important;
  }
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

main {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 200px);
}

/* ============================================
   HERO BANNERS - Full Width
   ============================================ */

.hero-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xxl) var(--space-lg);
  background: linear-gradient(135deg, var(--color-prism-start), var(--color-prism-end));
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(46,204,113,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.hero-text h1 {
  background: linear-gradient(135deg, var(--color-deep-mycelium), var(--color-chlorophyll-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(var(--breath-scale));
  transition: transform var(--transition-slow);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-image-wrapper {
    order: 2;
  }
  
  .hero-banner {
    min-height: 50vh;
    padding: var(--space-lg) var(--space-md);
  }
}

/* ============================================
   SECTIONS - Breathable Grid System
   ============================================ */

.content-section {
  padding: var(--space-md) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.footer-container,
.footer-container * {
  animation: none !important;
  transform: none !important;
}


.content-section:hover {
  --breath-scale: 1.08;
  padding: calc(var(--space-md) * 1.08) var(--space-lg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

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

/* Fluid Topography Dividers */
.section-divider {
  width: 100%;
  height: 100px;
  position: relative;
  overflow: hidden;
  margin: var(--space-xl) 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    var(--color-oxygen-white) 0%,
    rgba(46, 204, 113, 0.05) 50%,
    var(--color-oxygen-white) 100%
  );
  clip-path: path('M0,0 Q50,50 100,0 T200,0 T300,0 T400,0 T500,0 T600,0 T700,0 T800,0 T900,0 T1000,0 L1000,100 L0,100 Z');
  animation: waveFlow 8s ease-in-out infinite;
}

@keyframes waveFlow {
  0%, 100% { clip-path: path('M0,0 Q50,50 100,0 T200,0 T300,0 T400,0 T500,0 T600,0 T700,0 T800,0 T900,0 T1000,0 L1000,100 L0,100 Z'); }
  50% { clip-path: path('M0,0 Q50,30 100,0 T200,0 T300,0 T400,0 T500,0 T600,0 T700,0 T800,0 T900,0 T1000,0 L1000,100 L0,100 Z'); }
}

/* Section Content Grids */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.section-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.section-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-chlorophyll-green), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.section-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.section-item:hover::before {
  transform: scaleX(1);
}

.section-item img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  display: block;
}

.section-item h3 {
  color: var(--color-deep-mycelium);
  margin-bottom: var(--space-sm);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin: var(--space-lg) 0;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Responsive Sections */
@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .content-section {
    padding: var(--space-md) var(--space-sm);
  }
  
  .section-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-container {
  max-width: 800px;
  margin: var(--space-xl) auto;
  padding: var(--space-lg);
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--color-deep-mycelium);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(52, 73, 94, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--color-oxygen-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-chlorophyll-green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.5;
}

.submit-button {
  background: linear-gradient(135deg, var(--color-chlorophyll-green), var(--color-deep-mycelium));
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  width: 100%;
  margin-top: 10px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.submit-button:active {
  transform: translateY(0);
}

/* ============================================
   GOOGLE MAPS
   ============================================ */

.map-container {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

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

/* ============================================
   CONTACT INFO
   ============================================ */

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.contact-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.contact-card h3 {
  color: var(--color-chlorophyll-green);
  margin-bottom: var(--space-sm);
}

/* ============================================
   FOOTER
   ============================================ */

.footer-container {
  background: var(--color-deep-mycelium);
  color: var(--color-oxygen-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

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

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

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

.footer-menu li {
  margin-bottom: var(--space-xs);
}

.footer-menu a {
  color: rgba(247, 249, 249, 0.8);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-chlorophyll-green);
}

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

/* ============================================
   PRIVACY POPUP
   ============================================ */

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  max-width: 400px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  border: 2px solid var(--color-chlorophyll-green);
  animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.privacy-popup p {
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.privacy-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.privacy-button {
  flex: 1;
  padding: var(--space-xs) var(--space-sm);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.privacy-button.accept {
  background: var(--color-chlorophyll-green);
  color: white;
}

.privacy-button.decline {
  background: rgba(52, 73, 94, 0.1);
  color: var(--color-deep-mycelium);
}

.privacy-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

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

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

.date {
  font-size: 0.9rem;
  color: rgba(52, 73, 94, 0.7);
  font-style: italic;
}

/* ============================================
   SKELETON LOADING (Thread Outlines)
   ============================================ */

.skeleton {
  background: linear-gradient(90deg, 
    rgba(52, 73, 94, 0.1) 0%,
    rgba(52, 73, 94, 0.05) 50%,
    rgba(52, 73, 94, 0.1) 100%
  );
  background-size: 200% 100%;
  animation: skeletonLoad 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeletonLoad {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
  }
  
  .hero-banner {
    min-height: 40vh;
  }
  
  .contact-form {
    padding: var(--space-md);
  }
  
  .privacy-popup {
    max-width: calc(100% - var(--space-md) * 2);
    right: var(--space-md);
    left: var(--space-md);
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .header-container,
  .footer-container,
  .burger-toggle,
  .mobile-nav,
  .privacy-popup {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

