/* Valencia Coverings — Main Stylesheet */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #FAF9F6;
  --cream-dark: #EDE7D8;
  --warm-white: #FFFFFF;
  --light-gray: #F5F5F3;
  --charcoal: #111111;
  --charcoal-mid: #252523;
  --text-body: #333333;
  --text-muted: #777777;
  
  --gold: #B8935A;
  --gold-light: #D4B483;
  --gold-pale: #F8F5EE;
  
  --show-stopper: #A42E37;
  --border: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(184, 147, 90, 0.25);
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text-body);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--charcoal);
  font-weight: 300;
}

em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
}

/* 1. Top Announcement Bar */
.top-bar {
  background: var(--charcoal);
  color: var(--gold-light);
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: height 0.3s ease;
  overflow: hidden;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

.top-bar a:hover {
  color: white;
}

/* 2. Header & Sticky Navigation */
header {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 4rem;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Sub-pages (About, Collections, Services, Showroom, Contact) */
header.page-header {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

header.page-header .logo img {
  filter: none;
  height: 50px;
}

header.page-header .nav-menu a {
  color: var(--charcoal);
}

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

header.page-header .nav-mobile-toggle span {
  background: var(--charcoal);
}

header.sticky {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 0.8rem 4rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: all 0.4s ease;
  filter: brightness(0) invert(1); /* Make the logo white on transparent header */
}

header.sticky .logo img {
  height: 50px;
  filter: none; /* Return logo to original colors on sticky white header */
}

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

.nav-menu a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.3s;
}

header.sticky .nav-menu a {
  color: var(--charcoal);
}

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

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

/* Dropdown Menu styling like Shopify site */
.dropdown-nav {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: white;
  border: 1px solid var(--border);
  padding: 1.5rem;
  min-width: 250px;
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.dropdown-nav:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-menu a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.dropdown-subheader {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding: 0.2rem 0 0 0;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.2rem 0;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold) !important;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-nav-cta:hover {
  background: var(--gold);
  color: white !important;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-mobile-toggle span {
  width: 25px;
  height: 2px;
  background: white;
  transition: var(--transition-smooth);
}

header.sticky .nav-mobile-toggle span {
  background: var(--charcoal);
}

/* 3. Hero Slideshow/Carousel & Video Hero */
.hero-slideshow, .hero-video-section {
  position: relative;
  height: calc(100vh - 120px);
  min-height: 550px;
  background: var(--charcoal);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1.05);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  color: white;
}

.hero-slide-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-slide-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.hero-slide-cta {
  display: inline-flex;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.hero-slide-cta:hover {
  background: white;
  color: var(--charcoal);
}

/* Slideshow Controls */
.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.slideshow-arrow:hover {
  background: white;
  color: var(--charcoal);
  border-color: white;
}

.slideshow-arrow.prev {
  left: 2rem;
}

.slideshow-arrow.next {
  right: 2rem;
}

.slideshow-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.8rem;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.slide-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* Section Setup */
section {
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-header-box {
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.15;
  color: var(--charcoal);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.subsection-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.25;
}

.subsection-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

/* 4. Browse by Look (Grid Layout) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  aspect-ratio: 1.1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-card:hover .category-card-bg {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 15%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  color: white;
  transition: background 0.4s ease;
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(184, 147, 90, 0.85) 15%, rgba(184, 147, 90, 0.3) 60%);
}

.category-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.category-cta {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  transition: color 0.3s;
}

.category-card:hover .category-cta {
  color: white;
}

/* 5. Brand Legacy / Intro */
.legacy-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.legacy-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.legacy-text p.lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.legacy-img-frame {
  position: relative;
  cursor: pointer;
}

.legacy-img-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  position: relative;
  display: block;
}

.legacy-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.legacy-img-frame:hover .legacy-img-wrapper img {
  transform: scale(1.08);
}

.legacy-img-frame::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: width 0.15s ease, height 0.15s ease 0.15s, opacity 0.15s ease;
  z-index: 2;
}

.legacy-img-frame:hover::before {
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  opacity: 1;
  transition: width 0.15s ease, height 0.15s ease 0.15s, opacity 0.15s ease;
}







/* 6. Showroom Visit & Booking CTA */
.showroom-cta-section {
  background: var(--light-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}

.showroom-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  padding: 2rem 0;
}

.showroom-details h3 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.showroom-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.info-item-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.info-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-large {
  display: inline-flex;
  padding: 1rem 2.5rem;
  background: var(--charcoal);
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-large:hover {
  background: var(--gold);
}

.showroom-gallery {
  position: relative;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.showroom-gallery-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('showroom_vignette.png') no-repeat center center/cover;
  background-attachment: fixed;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.showroom-gallery:hover .showroom-gallery-inner {
  transform: scale(1.05);
}

.showroom-gallery::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 16px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
}

.showroom-gallery::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 0;
  height: 0;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: 16px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
}

.showroom-gallery:hover::before {
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  opacity: 1;
  transition: width 0.2s ease, height 0.2s ease 0.2s, opacity 0.1s ease;
}

.showroom-gallery:hover::after {
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  opacity: 1;
  transition: width 0.2s ease 0.4s, height 0.2s ease 0.6s, opacity 0.1s ease;
}

/* 7. Founders Section (2 Columns with outer drawing) */
.founders-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.founder-card {
  padding: 2.2rem;
  border: 1px solid var(--border);
  background: var(--warm-white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.founder-initial {
  width: 50px;
  height: 50px;
  background: var(--charcoal);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.founder-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.founder-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.founders-vertical-img {
  position: relative;
  min-height: 350px;
  cursor: pointer;
}

.founders-img-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.founders-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.founders-vertical-img:hover .founders-img-wrapper img {
  transform: scale(1.04);
}

.founders-vertical-img::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: width 0.15s ease, height 0.15s ease 0.15s, opacity 0.15s ease;
  z-index: 2;
}

.founders-vertical-img:hover::before {
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  opacity: 1;
  transition: width 0.15s ease, height 0.15s ease 0.15s, opacity 0.15s ease;
}






/* 8. Instagram Gallery (3x3 interactive hover grid) */
.gallery-section {
  border-top: 1px solid var(--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.25;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(184, 147, 90, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery-tag {
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid white;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
}

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

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* 9. Contact / Appointment Form */
.contact-section {
  background: var(--light-gray);
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-info-block p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-light);
}

.contact-item-title {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.contact-item-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--charcoal);
}

.contact-form-box {
  background: var(--warm-white);
  padding: 3.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.form-field input, .form-field select, .form-field textarea {
  background: var(--light-gray);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.9rem 1.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 300;
  outline: none;
  transition: all 0.3s;
  width: 100%;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold);
  background: white;
}

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

.btn-submit {
  padding: 1rem 3rem;
  background: var(--charcoal);
  color: white;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  display: block;
  width: 100%;
}

.btn-submit:hover {
  background: var(--gold);
}

/* 10. Footer Section */
footer {
  background: var(--charcoal);
  color: #DDDDDD;
  padding: 5rem 4rem 2rem 4rem;
  border-top: 2px solid var(--gold);
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h4 {
  font-size: 1.8rem;
  color: white;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-brand h4 span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-top: 1rem;
}

.footer-column h5 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column a {
  text-decoration: none;
  font-size: 0.85rem;
  color: #CCCCCC;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: white;
}

.footer-column p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #AAAAAA;
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 11. Responsive Media Queries */

/* ─── 1200px: Wide tablet / small desktop ─── */
@media (max-width: 1200px) {
  section {
    padding: 5rem 3rem;
  }

  .top-bar {
    padding: 0 2.5rem;
  }

  header {
    padding: 1.2rem 3rem;
  }

  header.sticky {
    padding: 0.8rem 3rem;
  }

  footer {
    padding: 4rem 3rem 2rem 3rem;
  }

  .legacy-layout {
    gap: 4rem;
  }

  .showroom-cta-inner {
    gap: 3rem;
  }
}

/* ─── 1100px: Tablet landscape ─── */
@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom-cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .showroom-gallery {
    height: 350px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── 900px: Tablet portrait ─── */
@media (max-width: 900px) {
  .top-bar {
    display: none;
  }

  header {
    padding: 1.2rem 2rem;
    top: 0;
  }

  header.sticky {
    padding: 0.8rem 2rem;
  }

  /* Nav logo always dark-coloured on mobile (transparent bg gone) */
  .logo img {
    filter: none;
  }
  header .logo img {
    filter: none;
  }

  .nav-mobile-toggle span {
    background: var(--charcoal);
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    color: var(--charcoal);
    font-size: 0.82rem;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0 0 1rem;
    display: flex;
    opacity: 1;
    min-width: unset;
  }

  .btn-nav-cta {
    display: inline-flex;
    align-self: flex-start;
  }

  section {
    padding: 4rem 1.5rem;
  }

  footer {
    padding: 3.5rem 1.5rem 2rem 1.5rem;
  }

  /* Collapse all two-column grids (including inline-style ones) */
  .legacy-layout,
  .founders-layout,
  .contact-layout,
  .services-intro {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  /* Inline-style grids in index.html sections */
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1.2fr 1fr; gap: 5rem"],
  [style*="grid-template-columns: 1fr 1.2fr; gap: 5rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* ── Image always first on mobile ─────────────────────────────────────
     Uses CSS `order` so we don't touch the HTML.
     Image containers get order: -1 (appears before text regardless of HTML order).
     Text containers get order: 1 (appears after).
  ─────────────────────────────────────────────────────────────────────── */

  /* Legacy layout sections (index, collections, showroom) */
  .legacy-layout .legacy-img-frame,
  .legacy-layout > .legacy-img-wrapper {
    order: -1;
  }
  .legacy-layout .legacy-text,
  .legacy-layout > div:not(.legacy-img-frame):not(.legacy-img-wrapper) {
    order: 1;
  }

  /* Inline-style grids: image frames always first */
  [style*="grid-template-columns: 1.1fr 1fr"] .legacy-img-frame,
  [style*="grid-template-columns: 1fr 1.1fr"] .legacy-img-frame,
  [style*="grid-template-columns: 1.2fr 1fr"] .legacy-img-frame,
  [style*="grid-template-columns: 1fr 1.2fr"] .legacy-img-frame,
  [style*="gap: 5rem"] .legacy-img-frame {
    order: -1;
  }
  [style*="grid-template-columns: 1.1fr 1fr"] > div:not(.legacy-img-frame),
  [style*="grid-template-columns: 1fr 1.1fr"] > div:not(.legacy-img-frame),
  [style*="grid-template-columns: 1.2fr 1fr"] > div:not(.legacy-img-frame),
  [style*="grid-template-columns: 1fr 1.2fr"] > div:not(.legacy-img-frame),
  [style*="gap: 5rem"] > div:not(.legacy-img-frame) {
    order: 1;
  }

  /* About page: founders vertical image always first */
  .founders-layout .founders-vertical-img {
    order: -1;
  }
  .founders-layout .founders-grid {
    order: 1;
  }

  /* Contact page: info first (location/icons), then form on mobile */
  .contact-layout .contact-info-block {
    order: -1;
  }
  .contact-layout .contact-form-box {
    order: 1;
  }

  /* Services page: promise box (image) before text grid */
  .services-intro .promise-box {
    order: -1;
  }
  .services-intro .services-intro-left {
    order: 1;
  }

  /* Hero sections */
  .hero-video-section,
  .hero-slideshow {
    height: 100svh;
    min-height: 520px;
  }

  /* Sub-page hero sections (About, Collections, Services, Showroom, Contact) */
  .about-hero,
  .collections-hero,
  .services-hero,
  .showroom-hero,
  .contact-hero {
    height: 260px !important;
    padding: 3rem 1.5rem !important;
  }

  .about-hero h1,
  .collections-hero h1,
  .services-hero h1,
  .showroom-hero h1,
  .contact-hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem) !important;
  }

  /* Hero main slide title */
  .hero-slide-title {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
  }

  /* Section inner max-width grids (About stats cards) */
  [style*="grid-template-columns: 1.2fr 1fr; gap: 6rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Partner block (index.html dark overlay box) */
  [style*="padding: 10rem 4rem"] {
    padding: 5rem 1.5rem !important;
  }

  /* Excellence, commitment, material sections */
  [style*="padding: 8rem 4rem"],
  [style*="padding: 6rem 4rem"] {
    padding: 4rem 1.5rem !important;
  }

  /* Journey CTA / Sections with text-align center */
  [style*="padding: 5rem 4rem"] {
    padding: 3.5rem 1.5rem !important;
  }

  /* Services intro left side */
  .services-intro-left {
    width: 100%;
  }

  /* Promise box */
  .promise-box {
    min-height: auto !important;
    padding: 3rem 2rem !important;
  }

  /* Founders grid */
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Timeline grid (about.html) */
  [style*="grid-template-columns: 1fr 1.2fr; gap: 5rem"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Warehouse mini-grid (showroom.html) */
  [style*="grid-template-columns: 1fr 1fr; gap: 2rem"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Contact form box */
  .contact-form-box {
    padding: 2rem 1.5rem;
  }
}

/* ─── 768px: Large phone / small tablet ─── */
@media (max-width: 768px) {
  .hero-slide-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
  }

  .section-title {
    font-size: clamp(1.7rem, 5.5vw, 2.5rem);
  }

  .subsection-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* Index commitment/excellence inline grids */
  [style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Services cards grid */
  .services-subgrid {
    grid-template-columns: 1fr;
  }

  /* Personas grid */
  .personas-bg-section {
    padding: 2.5rem 1.5rem;
  }

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

  /* About page stats cards */
  [style*="flex-direction: column; gap: 1.5rem"] {
    width: 100%;
  }

  .showroom-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Timeline wrapper */
  .timeline-wrapper {
    padding-left: 1.5rem;
  }

  /* Testimonial card */
  .testimonial-card {
    padding: 2.5rem 1.5rem 2rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  /* Category and gallery cards */
  .categories-grid {
    grid-template-columns: 1fr;
  }

  /* Nav inner box (dark overlay on index hero) */
  [style*="max-width: 800px; padding: 4rem"] {
    padding: 2rem 1.5rem !important;
    max-width: 100% !important;
  }
}

/* ─── 600px: Large mobile ─── */
@media (max-width: 600px) {
  section {
    padding: 3rem 1.25rem;
  }

  footer {
    padding: 3rem 1.25rem 1.5rem 1.25rem;
  }

  .categories-grid,
  .gallery-grid,
  .founders-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .showroom-info,
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .btn-large {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-slide-cta {
    padding: 0.85rem 1.5rem;
    font-size: 0.7rem;
  }

  /* Announcement bar hidden */
  .top-bar {
    display: none;
  }

  /* Showroom gallery section height */
  .showroom-gallery {
    height: 260px;
  }

  /* Services grid single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-subgrid {
    grid-template-columns: 1fr;
  }

  /* Index hero inline styles */
  [style*="font-size: 3.5rem"] {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
  }

  [style*="font-size: 3rem"] {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }

  [style*="font-size: 2.2rem"] {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }
}

/* ─── 480px: Small mobile ─── */
@media (max-width: 480px) {
  section {
    padding: 2.5rem 1rem;
  }

  footer {
    padding: 2.5rem 1rem 1.5rem 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .logo img {
    height: 42px;
  }

  header.sticky .logo img {
    height: 36px;
  }

  .hero-video-section,
  .hero-slideshow {
    min-height: 480px;
  }

  .about-hero,
  .collections-hero,
  .services-hero,
  .showroom-hero,
  .contact-hero {
    height: 220px !important;
    padding: 2rem 1rem !important;
  }

  .hero-slide-title,
  [style*="font-size: 3.5rem"] {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
  }

  .founder-card {
    padding: 1.5rem;
  }

  .contact-form-box {
    padding: 1.5rem 1rem;
  }

  .persona-card {
    padding: 3rem 1.2rem 1.5rem;
  }

  .personas-bg-section {
    padding: 2rem 1rem;
  }

  .testimonial-card {
    padding: 2rem 1.2rem 1.5rem;
    min-height: auto;
  }

  .gallery-grid {
    gap: 0.75rem;
  }

  .categories-grid {
    gap: 0.75rem;
  }

  .btn-submit,
  .btn-large {
    padding: 0.9rem 1.5rem;
  }

  /* Partner block text box */
  [style*="max-width: 800px; padding: 4rem"] {
    padding: 1.5rem 1rem !important;
  }

  [style*="padding: 10rem 4rem"] {
    padding: 3.5rem 1rem !important;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .slideshow-arrow {
    width: 38px;
    height: 38px;
  }

  .slideshow-arrow.prev {
    left: 0.75rem;
  }

  .slideshow-arrow.next {
    right: 0.75rem;
  }
}

/* Testimonial Slider Styling */
.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  max-width: 850px;
  margin: 0 auto 2rem auto;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.testimonial-card {
  background: white;
  padding: 3.5rem 3rem 3rem 3rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  min-height: 240px;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-text::before {
  content: "“";
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold-light);
  position: absolute;
  top: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.25;
}

.testimonial-author {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--charcoal);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Slider Controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
}

.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  user-select: none;
}

.testimonial-arrow:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.testimonial-dots {
  display: flex;
  gap: 0.6rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* Vertical Line Timeline */
.timeline-wrapper {
  position: relative;
  padding-left: 2.5rem;
  border-left: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 1.5rem;
  margin-left: 0.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2.5rem - 4.5px);
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  z-index: 2;
}

.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Services Section Styling */
.services-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: stretch;
  margin-bottom: 5rem;
}

.services-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.services-intro-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.promise-box {
  background: linear-gradient(rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.82)), url('img/op15.png') no-repeat center center/cover;
  padding: 4.5rem 3.5rem;
  position: relative;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.promise-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: white;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.promise-author {
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.service-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.service-card .service-num,
.service-card .service-title,
.service-card .service-desc {
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: var(--charcoal);
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover .service-num {
  color: var(--gold-light);
}

.service-card:hover .service-title {
  color: white;
}

.service-card:hover .service-desc {
  color: rgba(255, 255, 255, 0.8);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--gold-light);
  line-height: 1;
  font-weight: 300;
  margin-bottom: 1rem;
}

.service-title {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* Personas Section */
.personas-section {
  border-top: 1px solid var(--border);
  padding-top: 6rem;
}

.personas-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  text-align: center;
  color: var(--charcoal);
  margin-bottom: 4rem;
}

.personas-bg-section {
  position: relative;
  background: linear-gradient(rgba(15, 15, 15, 0.62), rgba(15, 15, 15, 0.62)), url('img/op9.png') no-repeat center center / cover;
  border-radius: 16px;
  padding: 5rem 4rem;
  overflow: hidden;
}

.personas-bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 147, 90, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.personas-bg-section .personas-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.personas-bg-section .persona-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.personas-bg-section .persona-card .persona-title {
  color: white;
}

.personas-bg-section .persona-card .persona-desc {
  color: rgba(255, 255, 255, 0.75);
}

.personas-bg-section .persona-card:hover {
  background: rgba(184, 147, 90, 0.25);
  border-color: var(--gold);
  transform: translateY(-6px);
}

.personas-bg-section .persona-card:hover .persona-letter {
  background: var(--gold);
  color: var(--charcoal);
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
}

.persona-card {
  position: relative;
  padding: 3.5rem 2rem 2rem 2rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition-smooth);
}

.persona-card .persona-letter,
.persona-card .persona-title,
.persona-card .persona-desc {
  transition: var(--transition-smooth);
}

.persona-card:hover {
  background: var(--charcoal);
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.persona-card:hover .persona-letter {
  background: var(--gold);
  color: var(--charcoal);
}

.persona-card:hover .persona-title {
  color: white;
}

.persona-card:hover .persona-desc {
  color: rgba(255, 255, 255, 0.8);
}

.persona-letter {
  width: 50px;
  height: 50px;
  background: var(--charcoal);
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.persona-title {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.persona-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* Responsive — Services & Personas (complementary rules) */
@media (max-width: 900px) {
  .services-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-subgrid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
  .personas-bg-section {
    padding: 3rem 2rem;
  }
  .personas-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .services-subgrid {
    grid-template-columns: 1fr;
  }
  .personas-bg-section .personas-grid,
  .personas-grid {
    grid-template-columns: 1fr;
  }
  .personas-bg-section {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .services-subgrid {
    grid-template-columns: 1fr;
  }
  .personas-bg-section .personas-grid,
  .personas-grid {
    grid-template-columns: 1fr;
  }
  .personas-bg-section {
    padding: 2rem 1.25rem;
  }
  .services-intro {
    margin-bottom: 2.5rem;
  }
  .services-grid {
    margin-bottom: 3rem;
  }
}

/* ─── Mobile utility fixes ─── */

/* Fix background-attachment: fixed on iOS (not supported in mobile Safari) */
@media (max-width: 900px) {
  .showroom-gallery-inner {
    background-attachment: scroll;
  }
}

/* page-header padding adjustment on mobile */
@media (max-width: 900px) {
  header.page-header {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  header.page-header {
    padding: 0.8rem 1rem;
  }
}

/* About page timeline section fix on mobile */
@media (max-width: 900px) {
  .timeline-wrapper {
    margin-left: 0;
  }
}

/* Ensure hero CTA button is readable on all screens */
@media (max-width: 480px) {
  .hero-slide-eyebrow,
  [style*="font-size: 0.85rem; letter-spacing: 0.2em"] {
    font-size: 0.7rem !important;
  }
}

/* Improve touch targets for nav links on mobile */
@media (max-width: 900px) {
  .nav-menu > li > a {
    padding: 0.3rem 0;
    display: block;
  }

  .nav-menu > li {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.8rem;
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }
}

/* Prevent horizontal overflow on all pages */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
