/* ============================================
   CLOTHING REPAIR & CREATIVE UPCYCLING
   Futuristic Design System - Functional Deconstruction
   ============================================ */

:root {
  /* Color Palette */
  --color-industrial: #8E8E8E;
  --color-electric: #DFFF00;
  --color-indigo: #1A237E;
  --color-thread: #FDFDFD;
  --color-dark: #1a1a1a;
  --color-light: #f5f5f5;
  
  /* Typography */
  --font-headline: 'Roboto Slab', serif;
  --font-body: 'Barlow Condensed', sans-serif;
  --font-annotation: 'Barlow Condensed', 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: 12px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  
  /* Grid */
  --grid-gap: 1.5rem;
  --container-max: 1200px;
}

/* ============================================
   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-dark);
  background-color: var(--color-thread);
  overflow-x: hidden;
}

/* Structural Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(142, 142, 142, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 142, 142, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

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

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

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

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

p {
  margin-bottom: var(--space-md);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

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

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

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

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

.section {
  padding: var(--space-xxl) 0;
  position: relative;
  z-index: 1;
}

.section-content {
  display: grid;
  gap: var(--grid-gap);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.section-content.text-left {
  text-align: left;
  justify-items: start;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  background: rgba(253, 253, 253, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(142, 142, 142, 0.2);
  padding: var(--space-md) 0;
  position: relative;
  z-index: 1000;
}

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

.brand-name {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-indigo);
}

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

.nav-menu a {
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm) var(--space-md);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-electric);
  transition: width var(--transition-base);
}

.nav-menu a:hover::after {
  width: 80%;
}
.footer-section a{
  color: whitesmoke;
}

/* Burger Menu Button */
.burger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 100001;
  position: relative;
}

.burger-icon {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-indigo);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

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

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

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

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

.hero-image {
  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(26, 35, 126, 0.85) 0%,
    rgba(142, 142, 142, 0.7) 100%
  );
  z-index: 1;
}

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

.hero-content h1 {
  color: var(--color-thread);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: rgba(253, 253, 253, 0.95);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SECTION GRIDS
   ============================================ */

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
  margin-top: var(--space-xl);
  max-width: 100%;
  justify-items: center;
}

.content-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.content-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.grid-item {
  background: var(--color-thread);
  border: 1px solid rgba(142, 142, 142, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.grid-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-electric);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

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

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

.grid-image {
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(142, 142, 142, 0.1);
}

.grid-image-small {
  height: 140px;
}

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

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--color-indigo);
  background: transparent;
  color: var(--color-indigo);
  cursor: pointer;
  transition: all var(--transition-base);
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 10px;
}

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

.btn-accent {
  border-color: var(--color-electric);
  color: var(--color-dark);
  background: var(--color-electric);
}

.btn-accent:hover {
  background: var(--color-indigo);
  color: var(--color-thread);
  border-color: var(--color-indigo);
}

/* ============================================
   FORMS
   ============================================ */

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

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-indigo);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(142, 142, 142, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--color-thread);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-electric);
  box-shadow: 0 0 0 3px rgba(223, 255, 0, 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.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.btn-full {
  width: 100%;
  margin-top: var(--space-lg);
}

.business-hours-grid {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
  background: var(--color-thread);
  border: 1px solid rgba(142, 142, 142, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

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

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

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

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-electric);
  margin-top: var(--space-md);
}

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

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(142, 142, 142, 0.2);
  margin-top: var(--space-lg);
}

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

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

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

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

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

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

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(142, 142, 142, 0.2);
  color: rgba(253, 253, 253, 0.6);
  font-size: 0.85rem;
}

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

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

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

.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 DESIGN
   ============================================ */

@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(253, 253, 253, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xxl) var(--space-lg);
    gap: var(--space-md);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-base);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    width: 100%;
    padding: var(--space-md);
    border-bottom: 1px solid rgba(142, 142, 142, 0.1);
  }

  .nav-menu a::after {
    display: none;
  }

  .burger-toggle {
    display: block;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-xxl: 3rem;
  }

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

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

  .grid-item {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 var(--space-sm);
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .btn {
    width: 100%;
    padding: var(--space-md);
  }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* X-Ray Scan Effect */
.xray-overlay {
  position: relative;
  overflow: hidden;
}

.xray-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(223, 255, 0, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.xray-overlay:hover::after {
  left: 100%;
}

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

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

.popup-content {
  background: var(--color-thread);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  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;
  cursor: pointer;
  color: var(--color-indigo);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}

.popup-close:hover {
  background: rgba(142, 142, 142, 0.1);
}

