/* ============================================
   CSS Variables - Organic Fabric Theme
   ============================================ */
:root {
  /* Color Palette */
  --color-canvas: #FAF7F2; /* Raw Cotton White */
  --color-warm: #D9CDB8; /* Soft Wheat Sand */
  --color-cool: #C6D6DB; /* Pale Blue Mist */
  --color-eco: #9FB192; /* Herbal Linen Green */
  --color-dark: #5A4B3F; /* Warm Shade Umber */
  --color-primary: #9FB192;
  --color-secondary: #D9CDB8;
  --color-text: #5A4B3F;
  --color-text-light: #8A7A6F;
  --color-white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Caladea', serif;
  --font-body: 'Manrope', sans-serif;
  --font-accent: 'Italiana', serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(90, 75, 63, 0.08);
  --shadow-medium: 0 8px 30px rgba(90, 75, 63, 0.12);
  --shadow-strong: 0 12px 40px rgba(90, 75, 63, 0.15);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.4s 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;
    overflow-x: hidden;
}

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

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

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

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
}

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

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

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

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

.accent-text {
  font-family: var(--font-accent);
  font-size: 1.1em;
  letter-spacing: 0.05em;
}

/* ============================================
   Header Styles
   ============================================ */
.site-header {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  border-bottom: 1px solid rgba(217, 205, 184, 0.3);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

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

.brand-name {
  font-family: var(--font-accent);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-dark);
  letter-spacing: 0.1em;
  font-weight: 400;
}

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

.nav-menu a {
  color: var(--color-text);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-eco);
  transition: width var(--transition-slow);
}

.nav-menu a:hover::after {
  width: 100%;
}

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

/* ============================================
   Main Content
   ============================================ */
main {
  min-height: calc(100vh - 200px);
}

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-canvas) 50%, var(--color-cool) 100%);
  overflow: hidden;
  padding: var(--space-xxl) var(--space-lg);
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-lg);
  color: var(--color-dark);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

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

/* ============================================
   Button Styles
   ============================================ */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-eco);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-slow);
  letter-spacing: 0.03em;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--color-eco);
  border: 2px solid var(--color-eco);
}

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

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

.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-breathe);
  border: 1px solid rgba(217, 205, 184, 0.2);
}

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

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-soft);
}

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

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

.card-price {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-eco);
  font-weight: 600;
}

/* ============================================
   Image Gallery
   ============================================ */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-breathe);
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ============================================
   Banner Section
   ============================================ */
.banner-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-canvas) 100%);
  margin: var(--space-xxl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

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

/* ============================================
   Form Styles
   ============================================ */
.form-container {
  max-width: 600px;
  margin: var(--space-xl) auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-warm);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-eco);
}

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

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

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

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

/* ============================================
   Footer Styles
   ============================================ */
.site-footer {
  background: var(--color-dark);
  color: var(--color-warm);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-container {
  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-warm);
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

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

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

.footer-menu a {
  color: var(--color-warm);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(217, 205, 184, 0.2);
  color: var(--color-warm);
  font-size: 0.9rem;
}

/* ============================================
   Privacy Popup
   ============================================ */
.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  z-index: 1000;
  display: none;
  animation: slideInUp 0.5s ease-out;
}

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

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

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

.privacy-popup .btn {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
}

/* ============================================
   Map Container
   ============================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin: var(--space-xl) 0;
}

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

/* ============================================
   Fabric Swatch Slider
   ============================================ */
.swatch-container {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-md) 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.swatch-item {
  min-width: 150px;
  text-align: center;
  flex-shrink: 0;
}

.swatch-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  transition: transform var(--transition-slow);
}

.swatch-image:hover {
  transform: scale(1.1);
}

.swatch-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ============================================
   Diagram Styles
   ============================================ */
.diagram-container {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
}

.diagram-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
}

.diagram-icon {
  width: 60px;
  height: 60px;
  background: var(--color-eco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ============================================
   Texture Samples
   ============================================ */
.texture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.texture-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform var(--transition-breathe);
}

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

.texture-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-soft);
}

/* ============================================
   Thank You Page
   ============================================ */
.thank-you-container {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  max-width: 700px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-eco);
  margin-bottom: var(--space-lg);
}

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

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

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .burger-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--space-xxl) var(--space-lg);
    transition: right var(--transition-slow);
    z-index: 999;
    box-shadow: var(--shadow-strong);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(217, 205, 184, 0.3);
  }
  
  .hero-section {
    min-height: 50vh;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .privacy-popup {
    right: var(--space-md);
    left: var(--space-md);
    max-width: none;
  }
  
  .swatch-container {
    padding: var(--space-md);
  }
  
  .diagram-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .hero-section {
    min-height: 40vh;
    padding: var(--space-lg) var(--space-md);
  }
  
  .form-container {
    padding: var(--space-lg);
  }
  
  .texture-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }
  
  .header-container {
    padding: var(--space-sm);
  }
  
  .card {
    padding: var(--space-md);
  }
}

