/* 
========================================
   1. VARIABLES & CONFIGURATION
========================================
*/
:root {
  /* Palette: Warm, Earthy, Premium */
  --color-primary: #BC6C56;        /* Muted Terracotta */
  --color-primary-hover: #A35A46;
  --color-secondary: #8E9E8B;      /* Soft Sage Green */
  --color-secondary-hover: #758572;
  --color-accent: #F2EFE9;         /* Warm Beige */
  
  /* Neutrals */
  --color-text-main: #2C2C2C;      /* Charcoal Gray Accents */
  --color-text-muted: #666666;
  --color-bg-body: #FFFFFF;        /* Crisp White Backdrop */
  --color-bg-surface: #F9F8F6;     /* Subtle Off-White/Beige Surface */
  --color-border: #E5E5E5;

  /* Status */
  --color-success: #8E9E8B;
  --color-warning: #E3B068;
  --color-danger: #C95555;

  /* Typography */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-serif: "Playfair Display", Georgia, "Times New Roman", serif; /* Sophisticated feel */
  
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;

  --line-height-tight: 1.2;
  --line-height-base: 1.6;

  /* Spacing Scale */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-8: 3rem;     /* 48px */
  --space-10: 4rem;    /* 64px */
  --space-12: 6rem;    /* 96px */

  /* UI Properties */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
}

/* 
========================================
   2. RESET & NORMALIZE
========================================
*/
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

/* 
========================================
   3. BASE STYLES
========================================
*/
body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-serif);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text-main);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-size-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--font-size-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
  /* Comfortable reading length */
}

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

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

ul, ol {
  list-style-position: inside;
  padding-left: var(--space-4);
}
.hero-img,
.living-hero__bg img{
  width: 100%;
  height: 100vh;
  object-fit: cover;
  background-color: var(--color-bg-surface);
}
/* 
========================================
   4. UTILITIES
========================================
*/
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.flex {
  display: flex;
}

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

.justify-between {
  justify-content: space-between;
}

.grid {
  display: grid;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }

/* 
========================================
   5. COMPONENTS
========================================
*/

/* Buttons: Polished, trustworthy feel */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-text-main);
  color: var(--color-text-main);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--color-text-main);
  color: #fff;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

/* Inputs: Clean and minimal */
.input {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text-main);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(188, 108, 86, 0.2);
}

.input-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-sm);
}

/* Cards: Product / Inspiration */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: var(--color-bg-surface);
  display: block;
}

.card-body {
  padding: var(--space-5);
}

/* Price Styling */
.price {
  color: var(--color-primary);
  font-size: var(--font-size-lg);
}

/* Section Utilities */
.section-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

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

.section-header p {
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.aspect-w-1 {
  aspect-ratio: 1 / 1;
}

.aspect-h-1 {
  aspect-ratio: 1 / 1;
}

.block {
  display: block;
}

/* Buttons: Polished, trustworthy feel */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-text-main);
  color: var(--color-text-main);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--color-text-main);
  color: #fff;
}

/* Inputs: Clean and minimal */
.input {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text-main);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(188, 108, 86, 0.2);
}

/* Cards: Product / Inspiration */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: var(--color-bg-surface);
}

.card-body {
  padding: var(--space-5);
}

/* 
========================================
   6. ACCESSIBILITY
========================================
*/
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 
========================================
   7. ADDITIONAL UTILITIES
========================================
*/

/* Margins */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-0 { padding-top: 0; padding-bottom: 0; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-10 { padding-top: var(--space-10); padding-bottom: var(--space-10); }

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Flexbox */
.flex {
  display: flex;
}

.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gap-10 { gap: var(--space-10); }

/* Sizing */
.max-w-sm { max-width: 24rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-none { max-width: none; }

/* Display */
.hidden { display: none; }
.inline-flex { display: inline-flex; }

/* Text */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-sm { font-size: var(--font-size-sm); }
.text-lg { font-size: var(--font-size-lg); }
.font-bold { font-weight: 600; }
.font-500 { font-weight: 500; }

/* List */
.list-none { list-style: none; }
.pl-0 { padding-left: 0; }

/* Borders & Shadows */
.border { border: 1px solid var(--color-border); }
.border-y { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.border-t { border-top: 1px solid var(--color-border); }
.border-b { border-bottom: 1px solid var(--color-border); }
.rounded-lg { border-radius: var(--radius-lg); }
.radius-md { border-radius: var(--radius-md); }
.radius-lg { border-radius: var(--radius-lg); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-sm { box-shadow: var(--shadow-sm); }

/* Background & Surface */
.bg-surface { background-color: var(--color-bg-surface); }
.bg-white { background-color: #fff; }

/* Object Fit */
.object-fit-cover { object-fit: cover; }
.object-cover { object-fit: cover; }

/* Responsive */
@media (min-width: 768px) {
  .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md-flex-nowrap { flex-wrap: nowrap; }
  .md-w-1-2 { width: 50%; }
  .md-w-full { width: 100%; }
  .md-block { display: block; }
  .md-hidden { display: none; }
}

@media (max-width: 767px) {
  .sm-hidden { display: none; }
}
