/* ============================================
   ORGANIC FUTURISM DESIGN SYSTEM
   Bento-Grid Minimalism with Soft Shadows
   ============================================ */

:root {
  /* Color Palette - The "Living Clean" */
  --color-base: #F7F7F2;
  --color-primary: #2D4739;
  --color-highlight: #D1FAE5;
  --color-neutral: #4A4A4A;
  --color-white: #FFFFFF;
  --color-shadow: rgba(45, 71, 57, 0.1);
  --color-shadow-strong: rgba(45, 71, 57, 0.15);
  
  /* Typography */
  --font-header: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing - Massive padding for "organized" feel */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 8rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions - Micro-animations */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows - Soft and natural */
  --shadow-sm: 0 2px 8px var(--color-shadow);
  --shadow-md: 0 4px 16px var(--color-shadow);
  --shadow-lg: 0 8px 32px var(--color-shadow-strong);
  
  /* Layout */
  --container-max: 1400px;
  --section-padding: var(--space-xl);
}

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

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-neutral);
  background-color: var(--color-base);
  overflow-x: hidden;
}

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

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

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

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

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

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--space-sm);
  max-width: 65ch;
}

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

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

/* ============================================
   HEADER - Floating Navigation
   ============================================ */

.site-header {
  position: relative;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: rgba(247, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-shadow);
  z-index: 1000;
}

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

.brand-name {
  font-family: var(--font-header);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--color-primary);
}

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

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.nav-menu a:hover {
  background: var(--color-highlight);
  color: var(--color-primary);
}

/* Burger Menu Button - Always Visible in Header */
.burger-toggle {
  display: flex;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  order: 999;
  z-index: 1001;
}

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

.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 - Opens Separately from Header */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247, 247, 242, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 400px;
  margin: 0;
  padding: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  width: 100%;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Responsive Header */
@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
  
  .site-header {
    padding: var(--space-sm) var(--space-md);
  }
}

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

@media (max-width: 768px) {

  .brand-name {
    flex: 1;
  }
}

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

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--section-padding) 0;
  width: 100%;
}

.section-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================
   HERO BANNER - Full Width
   ============================================ */

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(247, 247, 242, 0.85) 0%,
    rgba(45, 71, 57, 0.3) 100%
  );
  z-index: 1;
}

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

.hero-content h1 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-neutral);
  margin: 0 auto var(--space-lg);
  max-width: 600px;
}

/* ============================================
   BENTO GRID LAYOUT
   ============================================ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  max-width: 100%;
  margin: 0 auto;
}

.bento-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.bento-item-large {
  grid-column: span 2;
}

.bento-item-tall {
  grid-row: span 2;
}

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

.bento-item img {
  max-width: 100%;
  height: auto;
}

.bento-item h3 {
  margin-bottom: var(--space-sm);
}

.bento-item p {
  font-size: 0.9375rem;
  color: var(--color-neutral);
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-item-large,
  .bento-item-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ============================================
   SECTION BANNERS - Image Under Text
   ============================================ */

.section-banner {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

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

.section-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(247, 247, 242, 0.92) 0%,
    rgba(247, 247, 242, 0.85) 50%,
    rgba(45, 71, 57, 0.15) 100%
  );
  z-index: 1;
}

.section-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  max-width: 800px;
}

.section-banner-content h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section-banner-content p {
  color: var(--color-neutral);
  margin: 0 auto;
}

/* ============================================
   CONTENT SECTIONS - Centered Grid
   ============================================ */

.content-section {
  padding: var(--space-xl) 0;
}

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

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  margin: 0 auto;
  color: var(--color-neutral);
  font-size: 1.125rem;
}

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

.feature-card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-base);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--color-highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.9375rem;
  margin: 0;
}

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

.contact-section {
  padding: var(--space-xl) 0;
}

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

.contact-info {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-shadow);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-highlight);
}

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

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

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

.checkbox-group label {
  font-size: 0.875rem;
  font-weight: normal;
}

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

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

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
}

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

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

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

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

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

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

.product-info h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.product-info p {
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: var(--space-sm);
}

/* ============================================
   MAP CONTAINER
   ============================================ */

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

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

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

.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

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

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

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

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

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

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

.privacy-popup {
  display: none;
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  max-width: 400px;
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
}

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

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

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

.privacy-popup-buttons .btn {
  flex: 1;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
}

/* ============================================
   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); }

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

@media (max-width: 1024px) {
  :root {
    --section-padding: var(--space-lg);
  }
  
  .container,
  .section-content {
    padding: 0 var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--space-md);
    --space-xl: 4rem;
    --space-xxl: 5rem;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .bento-grid,
  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
  }
  
  .hero-content,
  .section-banner-content {
    padding: var(--space-md);
  }
  
  .privacy-popup {
    max-width: calc(100% - var(--space-md) * 2);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}

@media (max-width: 320px) {
  .container,
  .section-content {
    padding: 0 var(--space-sm);
  }
  
  .site-header {
    padding: var(--space-sm);
  }
}

/* ============================================
   DIGITAL INTERFACE STYLES
   ============================================ */

.digital-interface {
  background: #1a1a1a;
  color: #e0e0e0;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  font-family: 'Courier New', monospace;
}

.digital-section {
  background: #2D4739;
  color: var(--color-highlight);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.digital-section-title {
  color: var(--color-highlight);
  margin-bottom: var(--space-sm);
}

/* ============================================
   PAGE ICON STYLES
   ============================================ */

.page-icon-large {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  background: var(--color-highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-icon-large i {
  font-size: 3rem;
  color: var(--color-primary);
}

