/* Wirth Furniture Rebuild CSS - Shared Style System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Color Palette (WCAG 2.1 AA Compliant Contrast) */
  --primary-dark: #121212;
  --primary-light: #ffffff;
  --bg-alabaster: #FAF9F5;
  --text-dark: #222222;
  --text-light: #f5f5f5;
  --text-muted: #666666;
  --accent-gold: #D4AF37; /* Elegant gold contrast */
  --accent-gold-dark: #B5942B;
  --accent-gold-light: #E6C252;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 110px;
}

/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--primary-light);
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

/* Skip Link for Keyboard Nav (ADA) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-gold);
  color: var(--primary-dark);
  padding: 10px 20px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Keyboard Focus Ring */
*:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Utility Containers */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-padding {
  padding: 80px 0;
}

/* Section Title */
.section-title-holder {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-holder h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

.section-title-holder .separator {
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 15px auto 0;
}

/* --- Divided Header (Desktop Layout) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  position: relative;
}

.nav-part {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-part.left {
  justify-content: flex-end;
  padding-right: 40px;
}

.nav-part.right {
  justify-content: flex-start;
  padding-left: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

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

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

.nav-menu a:hover {
  color: var(--accent-gold);
}

/* Centered Logo container */
.logo-container {
  flex: 0 0 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1010;
}

.logo-link {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  padding: 10px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  margin-top: 30px; /* Overlap down slightly */
}

.site-header.scrolled .logo-link {
  width: 90px;
  height: 90px;
  margin-top: 10px;
}

.logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile Header Controls */
.mobile-header-holder {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 20px;
}

.mobile-logo-link {
  width: 50px;
  height: 50px;
}

.mobile-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1020;
}

.hamburger-btn span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--primary-dark);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger-btn span:nth-child(1) { top: 0px; }
.hamburger-btn span:nth-child(2) { top: 10px; }
.hamburger-btn span:nth-child(3) { top: 20px; }

.hamburger-btn.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.hamburger-btn.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Mobile Overlay Menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-dark);
  z-index: 1015;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.mobile-nav-overlay a {
  color: var(--text-light);
  font-size: 1.8rem;
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: capitalize;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
  color: var(--accent-gold);
}

/* --- Hero Banner (Sliders / Landing) --- */
.hero-section {
  position: relative;
  height: 100vh;
  background-attachment: scroll;
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

/* Overlay for contrast */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.2s;
  letter-spacing: 2px;
}

.hero-content .subtitle {
  font-size: 1.3rem;
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--bg-alabaster);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-content .divider {
  width: 80px;
  height: 1px;
  background-color: var(--accent-gold);
  margin: 0 auto 20px;
  opacity: 0;
  animation: fadeIn 0.8s forwards 0.6s;
}

.hero-content .details {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.6s;
}

/* Page Intro Block */
.intro-block {
  background-color: var(--bg-alabaster);
  border-bottom: 1px solid var(--border-color);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.intro-img-holder {
  padding-left: 20px;
}

.intro-img-holder img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  max-height: 400px;
  width: 100%;
  object-fit: cover;
}

.intro-text-holder h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 400;
  text-align: justify;
}

/* --- Timeline / Workflow Style --- */
.timeline-holder {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
  overflow: hidden;
}

/* Flex header for aligning years and lines */
.time-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
}

.timeline-cell.left .time-header {
  justify-content: flex-end;
  gap: 15px;
}

.timeline-cell.right .time-header {
  justify-content: flex-start;
  gap: 15px;
}

.timeline-row {
  position: relative;
  margin-bottom: 60px;
}

.timeline-cell {
  position: relative;
}

.timeline-cell .time-tag {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  display: inline-block;
  margin: 0;
}

.timeline-cell .subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: 10px;
  color: var(--accent-gold);
}

.timeline-cell.left .subtitle {
  text-align: right;
}

.timeline-cell.right .subtitle {
  text-align: left;
}

.timeline-cell .text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-cell.left .text {
  text-align: right;
}

.timeline-cell.right .text {
  text-align: left;
}

.timeline-img-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.timeline-img-wrapper {
  width: 100%;
  max-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.timeline-img-wrapper img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.timeline-img-wrapper img:hover {
  transform: scale(1.05);
}

/* Timeline Horizontal Line Connectors */
.timeline-line-left,
.timeline-line-right {
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  position: relative;
  opacity: 0;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

.timeline-line-left {
  transform-origin: right center;
}

.timeline-line-right {
  transform-origin: left center;
}

/* Left Line: Double bar on left (year), dot on right (chair) */
.timeline-line-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: -6px;
  width: 3px;
  height: 13px;
  border-left: 1px solid var(--accent-gold);
  border-right: 1px solid var(--accent-gold);
}

.timeline-line-left::after {
  content: '';
  position: absolute;
  right: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  background-color: var(--accent-gold);
  border-radius: 50%;
}

/* Right Line: Dot on left (chair), Double bar on right (year) */
.timeline-line-right::before {
  content: '';
  position: absolute;
  left: -3px;
  top: -3px;
  width: 7px;
  height: 7px;
  background-color: var(--accent-gold);
  border-radius: 50%;
}

.timeline-line-right::after {
  content: '';
  position: absolute;
  right: 0;
  top: -6px;
  width: 3px;
  height: 13px;
  border-left: 1px solid var(--accent-gold);
  border-right: 1px solid var(--accent-gold);
}

/* Succession Entrance Transitions (Desktop Only) */
@media (min-width: 1150px) {
  .timeline-row {
    display: grid;
    grid-template-columns: 1fr 240px 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 120px;
  }
  
  .timeline-cell.left {
    padding-top: 0;
    padding-right: 40px;
  }
  
  .timeline-img-cell {
    padding-top: 80px;
  }
  
  .timeline-cell.right {
    padding-top: 170px;
    padding-left: 40px;
  }
  
  /* Initial States before scroll triggers */
  .timeline-cell.left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .timeline-img-cell {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .timeline-cell.right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* Triggered visible states with delays */
  .timeline-row.visible .timeline-cell.left {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
  }
  
  .timeline-row.visible .timeline-line-left {
    width: 110px;
    opacity: 1;
    transition-delay: 0.4s;
  }
  
  .timeline-row.visible .timeline-img-cell {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.6s;
  }
  
  .timeline-row.visible .timeline-line-right {
    width: 110px;
    opacity: 1;
    transition-delay: 0.9s;
  }
  
  .timeline-row.visible .timeline-cell.right {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 1.1s;
  }
}

/* --- Parallax Statistics Block --- */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--primary-dark);
  text-align: center;
  padding: 100px 0;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 249, 245, 0.88); /* Light high-end tint overlay */
  z-index: 1;
}

.parallax-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item .icon {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.stat-item .number {
  font-size: 3.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.team-img-holder {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.team-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.team-card:hover .team-img-holder img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.team-info .role {
  font-size: 0.85rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-alabaster);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.team-socials a:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* --- Internal/Sub Header --- */
.sub-header {
  padding: 160px 0 80px;
  background-color: var(--bg-alabaster);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.sub-header h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.breadcrumbs {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

/* --- Page Content Layouts --- */

/* Split Content Grid (Used on Upholstery / Design pages) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-layout.reversed .split-text-col {
  order: 2;
}

.split-layout.reversed .split-img-col {
  order: 1;
}

.split-img-col img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.split-text-col h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.split-text-col p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-btn-holder {
  margin-top: 30px;
}

.btn-gold {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--primary-light);
  padding: 12px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--accent-gold);
}

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

/* Products Grid (Furniture/Flooring pages) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.product-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

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

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

.product-card-body {
  padding: 25px;
}

.product-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Resource List Grid (Upholstery/Flooring carried lines) */
.resources-section {
  background-color: var(--bg-alabaster);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.resources-col h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 10px;
  display: inline-block;
}

.brand-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}

.brand-list li {
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
  color: var(--text-dark);
}

.brand-list li::before {
  content: '•';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
  font-size: 1.3rem;
  line-height: 1;
}

/* Single list resources (for pages with only one list) */
.single-resources-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
  text-align: center;
}

.single-resources-list li {
  background: white;
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.single-resources-list li:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Shared Footer --- */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
  border-top: 4px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.3fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

/* Column 1: Logo & Statement */
.footer-logo-holder {
  margin-bottom: 20px;
}

.footer-logo-holder img {
  max-width: 396px;
  height: auto;
}

/* Column 2: Address & Details */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact-list i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-list a:hover {
  color: var(--accent-gold);
}

.sale-disclosure {
  font-size: 0.85rem;
  color: #888888;
  margin-top: 20px;
  font-style: italic;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.footer-socials a:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Column 3: Instagram Static Grid */
.footer-insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.footer-insta-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}

.footer-insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.footer-insta-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.3); /* Translucent gold hover */
  opacity: 0;
  z-index: 1;
  transition: var(--transition-smooth);
}

.footer-insta-item:hover img {
  transform: scale(1.1);
}

.footer-insta-item:hover::before {
  opacity: 1;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #888888;
}

.footer-bottom a {
  color: var(--accent-gold);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* --- Responsive Media Queries (Mobile & Tablet) --- */

/* Tablets & Small Desktops (under 1150px) */
@media (max-width: 1150px) {
  :root {
    --header-height: 80px;
  }

  /* Switch header to standard logo/hamburger structure */
  .header-inner {
    display: none;
  }
  .mobile-header-holder {
    display: flex;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .parallax-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .split-layout.reversed .split-text-col,
  .split-layout.reversed .split-img-col {
    order: unset;
  }
}

/* Small Tablets & Mobile Devices (under 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content .subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  /* Intro Section */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .intro-img-holder {
    padding-left: 0;
  }

  /* Alternating Timeline to chronological single-column list */
  .timeline-holder::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--border-color);
  }

  .timeline-row {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
    gap: 15px;
    position: relative;
  }

  .timeline-cell.left,
  .timeline-cell.right {
    text-align: left !important;
    padding-left: 60px !important;
    padding-right: 0 !important;
  }

  .timeline-img-cell {
    position: absolute;
    left: 20px;
    top: 5px;
    transform: translateX(-50%);
    width: 60px !important;
    height: 60px !important;
    z-index: 2;
    padding: 0 !important;
  }
  
  .timeline-img-wrapper {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: white !important;
    border: 2px solid var(--accent-gold) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .timeline-img-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
  }

  /* Statistics */
  .parallax-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stat-item .number {
    font-size: 2.8rem;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Products list */
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  /* carried resources lists */
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .brand-list {
    grid-template-columns: 1fr;
  }
  
  .single-resources-list {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-col h4 {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .single-resources-list {
    grid-template-columns: 1fr;
  }
}

/* Back-to-Top Floating Button Style */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-gold);
  color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

/* Mobile & Tablet Adjustments for Parallax and Animations */
@media (max-width: 1024px) {
  .hero-section {
    background-attachment: scroll; /* Disabled parallax on touch devices for performance */
  }
  .parallax-section {
    background-attachment: scroll;
  }
}

@media (max-width: 1150px) {
  /* Reset timeline scroll translation behaviors on mobile */
  .timeline-cell.left,
  .timeline-cell.right,
  .timeline-img-cell {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .timeline-row {
    margin-bottom: 40px !important;
  }
}

/* Custom 3-column layout for Upholstery brand page */
.upholstery-triple-grid {
  display: grid;
  grid-template-columns: 440px 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.upholstery-triple-grid .grid-img-col img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.upholstery-triple-grid .brand-list {
  grid-template-columns: 1fr;
}

@media (max-width: 1150px) {
  .upholstery-triple-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .upholstery-triple-grid .grid-img-col {
    grid-column: span 2;
    display: flex;
    justify-content: center;
  }
  .upholstery-triple-grid .brand-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .upholstery-triple-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .upholstery-triple-grid .grid-img-col {
    grid-column: span 1;
  }
  .upholstery-triple-grid .brand-list {
    grid-template-columns: 1fr;
  }
}

/* Custom split layout for Designer profile */
.designer-split-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1150px) {
  .designer-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 4-column product grid for Flooring page */
.flooring-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media (max-width: 1150px) {
  .flooring-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .flooring-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .flooring-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}
