/* ============================================
   BIOMIMETIC STRUCTURALISM DESIGN SYSTEM
   ============================================ */

:root {
  /* Atmospheric Colors */
  --color-atmospheric: #E0F7FA;
  --color-feather: #2E5A88;
  --color-feather-hover: #4A7BA7;
  --color-bark: #2C2C2B;
  --color-eggshell: #F5F5F0;
  --color-white: #FFFFFF;
  --color-text-dark: #1A1A1A;
  --color-text-light: #666666;
  
  /* Typography */
  --font-headline: 'Tenor Sans', 'Georgia', serif;
  --font-telemetry: 'Space Mono', 'Courier New', monospace;
  --font-body: 'Poppins', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Layout */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(46, 90, 136, 0.1);
  --shadow-md: 0 4px 16px rgba(46, 90, 136, 0.15);
  --shadow-lg: 0 8px 32px rgba(46, 90, 136, 0.2);
  --shadow-glow: 0 0 20px rgba(46, 90, 136, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Thermal Pulse */
  --pulse-base: 120;
  --pulse-hover: 180;
}

/* ============================================
   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-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-atmospheric);
  overflow-x: hidden;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

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

.telemetry-text {
  font-family: var(--font-telemetry);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--color-feather);
}

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

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 90, 136, 0.1);
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.brand-text {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--color-bark);
}

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

.nav-link {
  font-size: 0.9375rem;
  color: var(--color-text-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link:hover {
  color: var(--color-feather);
  background: rgba(46, 90, 136, 0.05);
}

/* Burger Menu */
.burger-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 100001;
  padding: var(--space-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  order: 999;
}

.burger-line {
  width: 24px;
  height: 2px;
  background: var(--color-bark);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

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

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

/* Mobile Navigation */
@media (max-width: 1023px) {
  .burger-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xxl) var(--space-lg);
    gap: var(--space-md);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    width: 100%;
    padding: var(--space-md);
    font-size: 1.125rem;
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  
  .nav-overlay.active {
    display: block;
  }
}

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

main {
  min-height: calc(100vh - 200px);
}

/* ============================================
   FULL-WIDTH BANNER
   ============================================ */

.hero-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.banner-title {
  margin-bottom: var(--space-md);
  color: var(--color-bark);
}

.banner-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.content-section {
  padding: var(--space-xxl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  justify-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.grid-item {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  animation: float 3s ease-in-out infinite;
  max-width: 100%;
  width: 100%;
}

.grid-item:nth-child(even) {
  animation-delay: 1s;
}

.grid-item:nth-child(3n) {
  animation-delay: 2s;
}

.grid-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.grid-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.grid-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-bark);
}

.grid-text {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.two-column-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-white);
  background: var(--color-feather);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  margin-top: 10px;
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-feather);
  border-color: var(--color-feather);
}

.btn-secondary:hover {
  background: var(--color-feather);
  color: var(--color-white);
}

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

.contact-section {
  padding: var(--space-xxl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid rgba(46, 90, 136, 0.2);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-feather);
  box-shadow: 0 0 0 3px rgba(46, 90, 136, 0.1);
}

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

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

.checkbox-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

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

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

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

/* ============================================
   PRODUCTS
   ============================================ */

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-lg);
}

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

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

.product-price {
  font-family: var(--font-telemetry);
  font-size: 1.25rem;
  color: var(--color-feather);
  font-weight: 600;
}

/* ============================================
   FOOTER & THERMAL PULSE
   ============================================ */

.site-footer {
  position: relative;
  background: var(--color-bark);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
  overflow: hidden;
}

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

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-link {
  display: block;
  padding: var(--space-xs) 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-info {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}
.footer-info p {
color: black;
}

.footer-container p{
  color: whitesmoke;
}

/* Thermal Pulse Effect */
.thermal-pulse {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 90, 136, 0.4) 0%, transparent 70%);
  opacity: 0.6;
  animation: pulse var(--pulse-base)ms ease-in-out infinite;
  z-index: 1;
}

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

.thermal-pulse.hover-active {
  animation-duration: calc(var(--pulse-hover) * 1ms);
  transform: translateX(-50%) scale(1.3);
}

.footer-copyright {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 2;
}

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

.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

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

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

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.popup-title {
  font-size: 1.5rem;
  color: var(--color-bark);
}

.popup-close {
  font-size: 1.5rem;
  color: var(--color-text-light);
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-xs);
  line-height: 1;
}

.popup-text {
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 0.9375rem;
}

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

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

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

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

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

.date {
  font-family: var(--font-telemetry);
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .header-container {
    padding: 0;
  }
  
  .content-section {
    padding: var(--space-lg) var(--space-md);
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .banner-content {
    margin: var(--space-md);
    padding: var(--space-lg);
  }
  
  .grid-container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .form-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .thermal-pulse {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
  
  .content-section {
    padding: var(--space-md) var(--space-sm);
  }
  
  .hero-banner {
    min-height: 40vh;
  }
  
  .banner-content {
    margin: var(--space-sm);
    padding: var(--space-md);
  }
}

/* ============================================
   404 PAGE
   ============================================ */

.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

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

.error-message {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: var(--space-lg);
  color: var(--color-text-dark);
}

.error-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

