/* =====================================
   LAYOUT COMPONENTS
   ===================================== */

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 25, 24, 0.08);
  transition: var(--transition-default);
}

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

.logo {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-deep-black);
}

.nav-menu {
  display: flex;
  gap: var(--space-2xl);
}

.nav-menu a {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--color-charcoal);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav-menu a:hover {
  color: var(--color-deep-black);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-soft-brown);
  transition: width var(--duration-fast) var(--ease-smooth);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-deep-black);
  transition: var(--transition-default);
}

/* =====================================
   HERO SECTION
   ===================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.hero-content {
  text-align: center;
  color: var(--color-primary-white);
  z-index: 10;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--weight-light);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-4xl);
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-primary-white);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-primary-white);
  opacity: 0.6;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* =====================================
   SPACE SELECTION
   ===================================== */

.space-selection {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: var(--weight-medium);
  color: var(--color-deep-black);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--text-body);
  color: var(--color-warm-gray);
  line-height: var(--line-height-normal);
}

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

.space-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
}

.space-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26, 25, 24, 0.15);
}

.space-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.space-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.space-card:hover .space-image img {
  transform: scale(1.05);
}

.space-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--color-primary-white);
  transform: translateY(20px);
  transition: var(--transition-default);
}

.space-card:hover .space-info {
  transform: translateY(0);
}

.space-info h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.space-info p {
  font-size: var(--text-small);
  opacity: 0.9;
  line-height: var(--line-height-normal);
}

/* =====================================
   SIGNATURE COLLECTION
   ===================================== */

.signature-collection {
  padding: var(--space-5xl) 0;
  background: var(--color-primary-white);
}

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

.product-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-default);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(26, 25, 24, 0.1);
}

.product-card.featured {
  aspect-ratio: 4/3;
}

.product-card:not(.featured) {
  aspect-ratio: 3/4;
}

.product-image {
  width: 100%;
  height: 70%;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-info {
  padding: var(--space-lg);
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-warm-white);
}

.product-info h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-sm);
  color: var(--color-deep-black);
}

.product-info p {
  font-size: var(--text-small);
  color: var(--color-warm-gray);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-sm);
}

.product-tag {
  font-size: var(--text-micro);
  font-weight: var(--weight-semibold);
  color: var(--color-soft-brown);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

/* =====================================
   BRAND STORY
   ===================================== */

.brand-story {
  padding: var(--space-5xl) 0;
  background: var(--color-deep-black);
  color: var(--color-primary-white);
}

.story-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.story-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-tight);
}

.story-text p {
  font-size: var(--text-body);
  line-height: var(--line-height-relaxed);
  color: var(--color-light-gray);
  margin-bottom: var(--space-xl);
}

.text-link {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--color-warm-beige);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition-default);
}

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

.story-image {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================
   SHOWROOM CTA
   ===================================== */

.showroom-cta {
  padding: var(--space-4xl) 0;
  background: var(--color-warm-white);
  text-align: center;
}

.showroom-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--weight-medium);
  color: var(--color-deep-black);
  margin-bottom: var(--space-lg);
}

.showroom-content p {
  font-size: var(--text-body);
  color: var(--color-warm-gray);
  margin-bottom: var(--space-xl);
}

/* =====================================
   BUTTONS
   ===================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition-default);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-deep-black);
  color: var(--color-primary-white);
  border-color: var(--color-deep-black);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-deep-black);
  border-color: var(--color-deep-black);
}

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

.footer {
  background: var(--color-charcoal);
  color: var(--color-light-gray);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-white);
  margin-bottom: var(--space-md);
  letter-spacing: var(--letter-spacing-wide);
}

.footer-brand p {
  font-size: var(--text-small);
  line-height: var(--line-height-normal);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.footer-column h4 {
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-white);
  margin-bottom: var(--space-lg);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-column a {
  font-size: var(--text-small);
  color: var(--color-light-gray);
  transition: var(--transition-default);
}

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

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(229, 226, 221, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-micro);
  opacity: 0.7;
}

/* =====================================
   CUSTOM CURSOR
   ===================================== */

.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-soft-brown);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s ease;
}

.custom-cursor.hover {
  transform: scale(1.5);
  background: var(--color-soft-brown);
}

/* =====================================
   LOADING STATES
   ===================================== */

body:not(.loaded) .hero-title .line {
  opacity: 0;
  transform: translateY(40px);
}

body:not(.loaded) .scroll-indicator {
  opacity: 0;
  transform: translateY(20px);
}

/* =====================================
   HEADER SCROLL STATE
   ===================================== */

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(26, 25, 24, 0.1);
}

/* =====================================
   HOTSPOT TOOLTIP
   ===================================== */

.hotspot-tooltip {
  position: fixed;
  background: var(--color-deep-black);
  color: var(--color-primary-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  pointer-events: none;
  z-index: 1000;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-deep-black);
}

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

@media (max-width: 767px) {
  .nav-menu {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: var(--text-h1);
    margin-bottom: var(--space-2xl);
  }
  
  .space-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .collection-grid {
    grid-template-columns: 1fr;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .space-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .collection-grid .featured {
    grid-column: 1 / -1;
    aspect-ratio: 3/2;
  }
}

@media (min-width: 1440px) {
  .space-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}