/*
 * THE BLIND SMITH - Design System & Stylesheet
 * Premium Architectural Aesthetic (Bespoke Blinds Specialist)
 * Author: Antigravity CLI Pair Programming
 */

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

:root {
  /* Colors */
  --primary: #121212;             /* Deep Architectural Charcoal */
  --primary-rgb: 18, 18, 18;
  --bg-light: #F9F8F5;            /* Premium Alabaster / Cream */
  --bg-white: #FFFFFF;
  --bg-dark: #1E1E1D;             /* Rich dark slate/bronze-black */
  --accent: #C5A880;              /* Architectural Bronze / Gold */
  --accent-rgb: 197, 168, 128;
  --accent-dark: #A48662;
  --text-dark: #1A1A1A;
  --text-muted: #666666;
  --text-light: #ECEAE4;
  --border-light: rgba(18, 18, 18, 0.08);
  --border-strong: rgba(18, 18, 18, 0.2);
  --border-white: rgba(255, 255, 255, 0.15);
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Transitions */
  --ease-custom: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: all 0.6s var(--ease-custom);
  --transition-medium: all 0.4s var(--ease-custom);
  --transition-fast: all 0.2s ease;
  
  /* Layout */
  --container-max: 1440px;
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.02em;
}

p {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.lead-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--text-dark);
}

/* --- Grid & Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 4%;
}

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

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-padding {
  padding: 8rem 0;
}

.section-padding-large {
  padding: 10rem 0;
}

/* --- Premium Buttons (Completely Avoid Rounded Looks) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0px; /* Completely square, architectural look */
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-light);
  border-color: var(--primary);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--bg-light);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

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

.btn-white:hover {
  background-color: transparent;
  color: var(--bg-white);
  border-color: var(--bg-white);
}

/* Elegant Text Link with arrow animation */
.text-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  gap: 0.5rem;
  margin-top: 1rem;
}

.text-link span {
  transition: transform 0.3s var(--ease-custom);
}

.text-link:hover span {
  transform: translateX(6px);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition-medium);
}

header.scrolled {
  background-color: rgba(25, 25, 25, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-white);
  height: 80px;
}

header.scrolled .nav-logo img {
  height: 42px;
}

header.scrolled .nav-links a {
  color: var(--bg-light);
}

header.scrolled .nav-links a.active {
  color: var(--accent);
}

header.scrolled .hamburger span {
  background-color: var(--bg-light);
}

header.inner-page {
  background-color: var(--primary);
  border-bottom: 1px solid var(--border-white);
}

header.inner-page .nav-links a {
  color: var(--bg-light);
}

header.inner-page .nav-links a.active {
  color: var(--accent);
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-medium);
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  flex-direction: column;
}

header.scrolled .brand-text,
header.inner-page .brand-text {
  color: var(--bg-light);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-links a.active {
  color: var(--accent);
}

/* Mobile Nav Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 1.5px;
  background-color: var(--primary);
  transition: var(--transition-medium);
}

/* --- Mobile Navigation Menu Overlay --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: var(--transition-slow);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--bg-light);
  letter-spacing: 0.05em;
}

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

.mobile-nav-contact {
  text-align: center;
  color: var(--text-light);
}

.mobile-nav-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
  display: flex;
  align-items: center;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.85);
  transform: scale(1.05);
  animation: slowZoom 20s ease-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--bg-light);
  max-width: 650px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* --- Architectural Philosophy Section --- */
.philosophy {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 5rem;
}

.philosophy-image-container {
  position: relative;
}

.philosophy-image-container img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
}

.philosophy-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--bg-dark);
  color: var(--accent);
  padding: 2.5rem;
  max-width: 250px;
  border-left: 3px solid var(--accent);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.philosophy-badge h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--bg-light);
  margin-bottom: 0.5rem;
}

.philosophy-badge p {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Featured Collections Grid --- */
.collections {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem auto;
}

.section-header h2 {
  margin-top: 0.5rem;
}

.collection-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.collection-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

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

.collection-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--primary);
  color: var(--bg-light);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.5rem 1rem;
}

.collection-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.collection-content h3 {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.collection-content p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.collection-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-top: auto;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.spec-val {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
}

/* --- Features / Value Prop (Split layout) --- */
.feature-split {
  background-color: var(--bg-dark);
  color: var(--bg-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}

.feature-split-content {
  padding: 8rem 12% 8rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-split-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.feature-split-image {
  background-size: cover;
  background-position: center;
  min-height: 500px;
  position: relative;
}

.feature-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.feature-text h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--bg-light);
  margin-bottom: 0.5rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* --- Banner CTA --- */
.banner-cta {
  background-color: var(--primary);
  color: var(--bg-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
}

.banner-cta .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.banner-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.banner-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

/* --- Interactive Product Catalog (Products Page) --- */
.product-page-intro {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 10rem 0 5rem 0;
}

.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.filter-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  transition: var(--transition-fast);
  position: relative;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-medium);
}

.filter-btn:hover {
  color: var(--primary);
}

.filter-btn.active {
  color: var(--primary);
  font-weight: 700;
}

.filter-btn.active::after {
  width: 100%;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  transition: var(--transition-medium);
}

.catalog-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.catalog-item.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.95);
}

.catalog-item.visible {
  display: flex;
  animation: fadeIn 0.6s var(--ease-custom) forwards;
}

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

/* --- Gallery Grid (Gallery Page) --- */
.gallery-intro {
  padding: 10rem 0 4rem 0;
  background-color: var(--bg-white);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery-item.col-6 {
  grid-column: span 6;
}

.gallery-item.col-4 {
  grid-column: span 4;
}

.gallery-item.col-8 {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.gallery-item.col-12 {
  grid-column: span 12;
  aspect-ratio: 21 / 9;
}

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

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.85);
  opacity: 0;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--bg-light);
}

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

.gallery-item-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  transform: translateY(15px);
  transition: transform 0.4s var(--ease-custom);
}

.gallery-item-overlay p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  transform: translateY(15px);
  transition: transform 0.4s var(--ease-custom) 0.1s;
}

.gallery-item:hover .gallery-item-overlay h4,
.gallery-item:hover .gallery-item-overlay p {
  transform: translateY(0);
}

/* Custom Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1100;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-medium);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--border-white);
}

.lightbox-caption {
  color: var(--bg-light);
  font-family: var(--font-serif);
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--bg-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- About/Expertise Page Custom Elements --- */
.process-timeline {
  margin-top: 5rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background-color: var(--border-light);
  transform: translateX(-50%);
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-bottom: 6rem;
  position: relative;
}

.process-step:nth-child(even) {
  direction: rtl;
}

.process-step:nth-child(even) .process-text {
  direction: ltr;
}

.process-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -20%);
  background-color: var(--accent);
  color: var(--primary);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 2;
}

.process-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.process-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-text h3 {
  margin-bottom: 1rem;
}

/* --- Interactive Quotation Calculator (Contact Page) --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

.quote-calculator {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(18,18,18,0.03);
}

.calc-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.calc-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-light);
  transform: translateY(-50%);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  background-color: var(--bg-white);
  padding: 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.step-indicator.active {
  color: var(--accent);
}

.step-indicator.completed {
  color: var(--primary);
}

.calc-step-pane {
  display: none;
}

.calc-step-pane.active {
  display: block;
  animation: fadeIn 0.4s var(--ease-custom) forwards;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Option Cards for styles */
.blind-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.option-card {
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-medium);
  text-align: left;
}

.option-card:hover {
  border-color: var(--accent);
}

.option-card.selected {
  border-color: var(--primary);
  background-color: rgba(197, 168, 128, 0.05);
}

.option-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.option-card p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

/* Form Fields */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-white);
}

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

/* Step navigation buttons */
.calc-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

/* Summary Box */
.estimate-summary {
  background-color: var(--bg-light);
  padding: 2rem;
  border-left: 2px solid var(--accent);
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.summary-row.total {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  border-top: 1px solid var(--border-strong);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.contact-info-panel {
  background-color: var(--bg-dark);
  color: var(--bg-light);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.contact-info-panel h2 {
  color: var(--bg-light);
}

.info-details {
  margin: 3rem 0;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  color: var(--accent);
  font-size: 1.2rem;
  width: 24px;
}

.info-text h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.info-text p, .info-text a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.info-text a:hover {
  color: var(--bg-light);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-light);
  transition: var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Footer --- */
footer {
  background-color: var(--bg-dark);
  color: var(--bg-light);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid var(--border-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-links h4,
.footer-newsletter h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav a:hover {
  color: var(--bg-light);
  padding-left: 5px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bg-light);
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal a:hover {
  color: var(--bg-light);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  .section-padding {
    padding: 5rem 0;
  }
  .grid-2, .grid-3, .grid-4, .catalog-grid, .philosophy-grid, .feature-split, .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .philosophy-image-container img {
    height: 350px;
  }
  .philosophy-badge {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 2rem;
    max-width: 100%;
  }
  .feature-split-content {
    padding: 4rem 1.5rem;
  }
  .feature-split-image {
    min-height: 300px;
  }
  .process-timeline::before {
    left: 1.5rem;
  }
  .process-step {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .process-step:nth-child(even) {
    direction: ltr;
  }
  .process-number {
    left: 1.5rem;
    transform: translate(-50%, -20%);
  }
  .process-image {
    padding-left: 3rem;
  }
  .process-text {
    padding-left: 3rem;
  }
  .process-image img {
    height: 250px;
  }
  .gallery-grid {
    gap: 1rem;
  }
  .gallery-item.col-4, .gallery-item.col-6, .gallery-item.col-8, .gallery-item.col-12 {
    grid-column: span 12;
    aspect-ratio: 4 / 3;
  }
  .quote-calculator {
    padding: 1.5rem;
  }
  .blind-options-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-panel {
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-newsletter {
    grid-column: span 1;
  }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 0px; /* Zero rounded corners for structural, premium look */
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  transition: var(--transition-medium);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float i {
  font-size: 1.4rem;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem;
  }
  .whatsapp-float span {
    display: none; /* Icon-only on mobile for minimal obtrusiveness */
  }
}

/* --- Homepage Hospitality Inquiry Section --- */
.hospitality-inquiry {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.inquiry-grid {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: 5rem;
  align-items: start;
}

.inquiry-info-pane {
  padding-right: 2rem;
}

.inquiry-form-pane {
  background-color: var(--bg-light);
  padding: 3.5rem;
  border: 1px solid var(--border-light);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.method-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.method-detail {
  display: flex;
  flex-direction: column;
}

.method-detail span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.method-detail a {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 500;
}

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

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

.pure-contact-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-dark);
}

.pure-contact-form .form-control {
  background-color: var(--bg-white);
  border: 1px solid var(--border-strong);
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.pure-contact-form .form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.pure-contact-form textarea.form-control {
  resize: vertical;
}

@media (max-width: 1024px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .inquiry-info-pane {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .inquiry-form-pane {
    padding: 2rem 1.5rem;
  }
  .pure-contact-form .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* --- Comprehensive Mobile Optimization Refinements --- */

/* Base & Global Overrides for Mobile */
@media (max-width: 768px) {
  /* Tighten Container Paddings */
  .container {
    padding: 0 1.25rem !important; /* Standard 20px padding for beautiful alignment */
  }

  /* Refined Typography Hierarchy for Small Screens */
  h1 {
    font-size: clamp(2rem, 7.5vw, 2.75rem) !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: clamp(1.6rem, 6vw, 2.25rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 1.25rem !important;
  }

  h3 {
    font-size: clamp(1.25rem, 5vw, 1.6rem) !important;
    line-height: 1.3 !important;
  }

  p {
    font-size: 0.95rem !important;
  }

  .lead-text {
    font-size: 1.25rem !important;
    line-height: 1.4 !important;
  }

  /* Structural Spacing & Vertical Rhythm */
  .section-padding {
    padding: 3.5rem 0 !important; /* Reduced to avoid excessive vertical scrolling */
  }

  .section-padding-large {
    padding: 5rem 0 !important;
  }

  .section-header {
    margin-bottom: 2.5rem !important; /* Compact header spacing */
  }

  .grid-2, .grid-3, .grid-4, .catalog-grid, .philosophy-grid, .feature-split, .contact-layout {
    gap: 2rem !important; /* Slightly tighter gaps for better visual grouping */
  }

  /* Page Intros - Reduce excessive top padding */
  .gallery-intro {
    padding: 7rem 0 3rem 0 !important; /* Clear fixed header with perfect white space */
  }

  /* Hero Section Mobile Polish */
  .hero-content {
    max-width: 100%;
    padding: 7rem 0 2rem 0; /* Add padding to prevent clipping and clear fixed header */
  }

  .hero-content p {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
  }

  /* Stacking Hero Actions vertically to prevent button overflows on narrow screens */
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.85rem !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    text-align: center;
    justify-content: center;
  }

  /* Split Layouts & Panes spacing */
  .feature-split-content {
    padding: 3rem 1.25rem !important; /* Elegant architectural margins */
  }

  .inquiry-form-pane {
    padding: 2.5rem 1.25rem !important;
  }

  /* Product Catalog Page Filters spacing */
  .product-filters {
    margin-bottom: 2.5rem !important;
    padding-bottom: 1rem !important;
    gap: 0.75rem !important;
  }

  .filter-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.7rem !important;
  }

  /* Card paddings and spec tighteners */
  .collection-content {
    padding: 1.5rem !important; /* Sleeker cards with more breathing room for text */
  }

  /* Process steps timeline tweaks */
  .process-timeline {
    margin-top: 3.5rem !important;
  }

  .process-step {
    margin-bottom: 3.5rem !important;
  }

  .process-image img {
    height: 220px !important; /* Compact beautiful masonry image height */
  }

  /* Digital Estimator (Contact Page) optimization */
  .quote-calculator {
    padding: 1.5rem 1.25rem !important;
  }

  .step-indicator {
    font-size: 0.65rem !important;
    padding: 0 0.25rem !important;
  }

  .blind-options-grid {
    gap: 1rem !important;
  }

  .option-card {
    padding: 1.25rem !important; /* Sleek, comfortable touch targets */
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important; /* Vertically stack form fields nicely */
  }

  .quote-calculator .form-group[style*="max-width: 50%"],
  .quote-calculator .form-group[style*="max-width:50%"] {
    max-width: 100% !important; /* Expand quantity field to full-width */
  }

  /* Custom Lightbox viewport optimization */
  .lightbox-content {
    max-width: 90% !important;
    max-height: 75vh !important;
  }

  .lightbox-content img {
    max-height: 65vh !important;
  }

  .lightbox-close {
    position: fixed !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(18, 18, 18, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    z-index: 1200 !important;
  }

  .lightbox-caption {
    font-size: 1.1rem !important;
    margin-top: 1.25rem !important;
    padding: 0 0.5rem !important;
    line-height: 1.4 !important;
  }

  /* Minimal, perfectly square floating WhatsApp on mobile */
  .whatsapp-float {
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    padding: 0 !important;
    width: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Fix Homepage Transparent Header Initial Contrast State (for both mobile and desktop) */
header:not(.inner-page):not(.scrolled) .brand-text {
  color: var(--bg-light) !important;
}

header:not(.inner-page):not(.scrolled) .nav-links a {
  color: var(--bg-light) !important;
}

header:not(.inner-page):not(.scrolled) .hamburger span {
  background-color: var(--bg-light) !important;
}

/* Body No-Scroll Lock when Mobile Menu is Active */
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Premium Mobile Menu Link Hover Micro-Animations */
.mobile-nav-links a {
  transition: color 0.3s ease, transform 0.3s ease !important;
}

.mobile-nav-links a:hover {
  color: var(--accent) !important;
  transform: translateY(-2px) !important;
}
