/* ==========================================================================
   STYLE SHEET: ECO SPACE PRODUCTS (MULTI-PAGE CORPORATE STATIC SYSTEMS)
   Optimized and verified for GitHub Pages branch deployment.
   ========================================================================== */

/* --- BRAND COLOR TOKENS & DESIGN CONSTANTS --- */
:root {
  --blue: #0078B6;          /* Primary Corporate Blue */
  --blue-dark: #005E8F;     /* Deep corporate blue hover */
  --green: #8CC63F;         /* Secondary Active Green */
  --green-dark: #74A82F;    /* Active eco-green hover */
  --grey: #8A8A8A;          /* Neutral Grey Tagline */
  --dark: #242424;          /* Deep Charcoal Header/Footer */
  --deep-black: #0e1112;    /* Dark Matte Backgrounds */
  --alloy-dark: #14191c;    /* Deep Partition section background */
  --light: #F5F7F8;         /* Subtle Light Backgrounds */
  --text-main: #1F2528;     /* Body Charcoal */
  --white: #FFFFFF;
  --border-light: rgba(255, 255, 255, 0.08);
  --error: #E53935;
  
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
  --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  
  --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 8px 25px rgba(140, 198, 63, 0.3);
  --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.06);
}

/* --- RESET & SYSTEM STANDARDS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* --- PAGE COMPOSITION WRAPPER (FOR FOOTER STICKINESS) --- */
main {
  flex-grow: 1;
}

/* --- SUB-PAGE TOP SPACER OFFSET --- 
   Used on pages without hero banners (About, Contact) to ensure content starts below the 80px fixed header.
*/
.subpage-spacer-top {
  padding-top: 80px;
}

/* --- REUSABLE STRUCTURES & UTILITIES --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
}

.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-header-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-headings);
  font-size: 38px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  margin: 0 auto 24px auto;
  border-radius: 2px;
}

.accent-line-left {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  margin: 0 0 24px 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-hero {
  background-color: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary-hero:hover {
  background-color: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 120, 182, 0.35);
}

.btn-secondary-accent {
  background-color: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-secondary-accent:hover {
  background-color: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(116, 168, 47, 0.45);
}


/* ==========================================================================
   1. FIXED HEADER & MULTI-PAGE NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(36, 36, 36, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 9999;
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background-color: #242424;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  height: 100%;
  width: 260px;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.main-header.scrolled .brand-logo-img {
  height: 50px;
}

/* Nav Links - Underline aligns on active matching filenames */
.desktop-nav .nav-links-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item-link {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.5px;
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--green);
  transition: var(--transition-smooth);
}

.nav-item-link:hover::after,
.nav-item-link.active::after {
  width: 100%;
}

.nav-item-link:hover,
.nav-item-link.active {
  color: var(--green);
}

.contact-button {
  background-color: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 20px;
}

.contact-button::after {
  display: none !important;
}

.contact-button:hover {
  background-color: var(--green);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Products Dropdown Desktop triggers */
.dropdown-container {
  position: relative;
}

.dropdown-trigger .arrow-icon {
  font-size: 8px;
  margin-left: 4px;
  transition: var(--transition-fast);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: -20px;
  background-color: #242424;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  padding: 16px 0;
  border-radius: 8px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 40px;
  width: 12px;
  height: 12px;
  background-color: #242424;
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-container:hover .dropdown-trigger .arrow-icon {
  transform: rotate(180deg);
}

.dropdown-link {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--green);
  padding-left: 30px;
}

/* Mobile Toggles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

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

.mobile-nav-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 0;
  background-color: #242424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.mobile-nav-drawer.active {
  max-height: 400px;
}

.mobile-nav-links {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  display: block;
  padding: 6px 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--green);
}

.mobile-dropdown-container {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-trigger {
  font-family: var(--font-headings);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.mobile-arrow-icon {
  font-size: 10px;
  transition: var(--transition-fast);
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  margin-top: 8px;
  gap: 12px;
}

.mobile-dropdown-menu.active { display: flex; }
.mobile-dropdown-trigger.active { color: var(--green); }
.mobile-dropdown-trigger.active .mobile-arrow-icon { transform: rotate(180deg); }

.sub-link {
  font-size: 14px !important;
  color: rgba(255,255,255,0.7) !important;
}

.mobile-contact-btn {
  background-color: var(--blue);
  text-align: center;
  border-radius: 20px;
  padding: 10px 0 !important;
  margin-top: 8px;
}


/* ==========================================================================
   2. PAGE 1: index.html (HOME CAROUSEL & PREVIEWS)
   ========================================================================== */
.hero-carousel-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--deep-black);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
  animation: kenBurns 10s ease-out forwards;
}

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

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 2;
}

.slide-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 750px;
  padding: 0 48px;
  margin-left: max(5%, calc((100vw - 1200px) / 2));
}

.slide-title {
  font-family: var(--font-headings);
  font-size: 54px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease-out 0.2s, opacity 0.8s ease-out 0.2s;
}

.slide-subtitle {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease-out 0.4s, opacity 0.8s ease-out 0.4s;
}

.slide-cta-wrapper {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease-out 0.6s, opacity 0.8s ease-out 0.6s;
}

.carousel-slide.active .slide-title,
.carousel-slide.active .slide-subtitle,
.carousel-slide.active .slide-cta-wrapper {
  transform: translateY(0);
  opacity: 1;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: var(--transition-smooth);
}

.carousel-arrow:hover {
  background-color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 120, 182, 0.4);
}

.prev-arrow { left: 40px; }
.next-arrow { right: 40px; }
.arrow-svg { width: 20px; height: 20px; }

/* Thumbnails */
.carousel-thumbnails-wrapper {
  position: absolute;
  bottom: 50px;
  right: 50px;
  display: flex;
  gap: 20px;
  z-index: 50;
}

.thumbnail-card {
  width: 170px;
  background-color: rgba(36, 36, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.thumbnail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.thumbnail-card.active {
  border-color: var(--green);
  background-color: rgba(36, 36, 36, 0.95);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.thumb-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
}

.progress-fill {
  width: 0;
  height: 100%;
  background-color: var(--green);
}

.thumbnail-card.active .progress-fill {
  animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
  0% { width: 0; }
  100% { width: 100%; }
}

.thumb-num {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.thumb-info { display: flex; flex-direction: column; }
.thumb-tag { font-size: 10px; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight:600; letter-spacing:1px; margin-bottom: 2px; }
.thumb-title { font-size: 13px; font-weight: 500; color: var(--white); line-height: 1.25; }

/* Products Preview Grid on index.html */
.products-overview-section {
  background-color: var(--light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.product-image-container {
  height: 240px;
  position: relative;
  overflow: hidden;
}

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

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

.card-overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 120, 182, 0.15);
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.product-card-body {
  padding: 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.product-card:hover .product-card-title { color: var(--blue); }
.product-card-desc { font-size: 15px; color: var(--grey); line-height: 1.6; margin-bottom: 24px; font-weight: 300; flex-grow: 1; }

.product-card-btn {
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.arrow-right-icon { transition: var(--transition-fast); }
.product-card-btn:hover .arrow-right-icon { transform: translateX(5px); color: var(--green); }
.product-card:hover .product-card-btn { color: var(--green); }


/* ==========================================================================
   3. PAGE 2: alloy.html (PARTITIONS / GRID MODAL & OVERLAYS)
   ========================================================================== */
.alloy-body {
  background-color: var(--alloy-dark);
  color: var(--white);
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Top content split hero styling */
.alloy-top-hero-section {
  padding-top: 140px; /* spacing below nav */
}

.alloy-copy-col { padding-right: 20px; }

.alloy-main-heading {
  font-family: var(--font-headings);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.alloy-paragraph {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.7;
}

.alloy-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alloy-bullets-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bullet-check-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgba(140, 198, 63, 0.15);
  color: var(--green);
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullet-text-wrapper { font-size: 15px; color: rgba(255,255,255,0.85); font-weight: 300; }
.bullet-text-wrapper strong { color: var(--white); font-weight: 500; }

/* Alloy slideshow frame right side */
.alloy-slideshow-col { display: flex; justify-content: center; }

.slideshow-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 380px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.slideshow-inner-slider { position: relative; width: 100%; height: 100%; }

.slideshow-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-img.active { opacity: 1; z-index: 2; }

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

.slideshow-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slideshow-dots .dot.active {
  background-color: var(--green);
  transform: scale(1.3);
}

/* Feature Grid Cards */
.alloy-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 32px 24px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: rgba(0, 120, 182, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--green);
  color: var(--white);
  transform: rotateY(180deg);
}

.feat-svg { width: 24px; height: 24px; }
.feature-card-title { font-family: var(--font-headings); font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.feature-card-desc { font-size: 14px; color: rgba(255, 255, 255, 0.6); font-weight: 300; line-height: 1.5; }

/* 20 Image grid */
.gallery-grid-20 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  display: block;
}

/* Hide images beyond index 12 initially, shown when see more is clicked */
.gallery-item.hidden-item {
  display: none;
}

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

.gallery-item:hover .gallery-thumbnail { transform: scale(1.1); }

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

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

.zoom-icon {
  font-size: 24px;
  color: var(--green);
  position: absolute;
  top: 20px;
  right: 20px;
  transform: scale(0.5);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .zoom-icon { transform: scale(1); opacity: 1; }
.gallery-item-title { font-family: var(--font-headings); font-size: 14px; font-weight: 500; color: var(--white); transform: translateY(10px); transition: var(--transition-smooth); }
.gallery-item:hover .gallery-item-title { transform: translateY(0); }

/* Grid button */
.gallery-see-more-wrapper {
  text-align: center;
  margin-top: 48px;
}


/* ==========================================================================
   4. PAGE 3: furniture.html (BANNER, CATEGORIES & SHOWROOMS)
   ========================================================================== */
.furniture-hero-banner {
  height: 45vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.furniture-banner-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding: 0 24px;
}

.furniture-banner-content h1 {
  font-family: var(--font-headings);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.furniture-banner-content p {
  font-size: 18px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,255,255,0.9);
}

/* Category cards grid */
.furniture-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.f-cat-card {
  background-color: var(--light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.f-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  background-color: var(--white);
}

.f-cat-img-wrapper { height: 180px; overflow: hidden; }
.f-cat-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.f-cat-card:hover .f-cat-img { transform: scale(1.06); }

.f-cat-info { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.f-cat-title { font-family: var(--font-headings); font-size: 18px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.f-cat-desc { font-size: 13px; color: var(--grey); line-height: 1.5; font-weight: 300; }

.full-width-cat { grid-column: span 4; flex-direction: row; }
.full-width-cat .f-cat-img-wrapper { width: 40%; height: 220px; }
.full-width-cat .f-cat-info { width: 60%; padding: 40px; justify-content: center; }
.full-width-cat .f-cat-title { font-size: 22px; margin-bottom: 12px; }
.full-width-cat .f-cat-desc { font-size: 14px; }

/* 8 Grid Gallery (White layout) */
.gallery-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.furniture-section .gallery-sub-heading { color: var(--text-main); }
.furniture-section .gallery-sub-desc { color: var(--grey); }

.furniture-cta-card {
  background: linear-gradient(135deg, var(--dark), var(--deep-black));
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.f-cta-content h4 { font-family: var(--font-headings); font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.f-cta-content p { color: rgba(255, 255, 255, 0.7); font-size: 15px; font-weight: 300; }


/* ==========================================================================
   5. PAGE 4: projects.html (MATTE BLACK STAGGERED CLUSTERS)
   ========================================================================== */
.projects-body {
  background-color: var(--deep-black);
  color: var(--white);
}

.project-header-white .section-title { color: var(--white); }
.project-header-white .section-subtitle { color: rgba(255, 255, 255, 0.5); }

.projects-carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.project-slide-card {
  background-color: #14191c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.project-slide-card:hover {
  transform: translateY(-8px);
  border-color: var(--white);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.project-slider-wrapper { position: relative; height: 240px; overflow: hidden; }
.project-slider-track { width: 100%; height: 100%; position: relative; }

.proj-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}

.proj-slide.active { opacity: 1; z-index: 2; }
.project-slide-card:hover .proj-slide.active { transform: scale(1.05); }

.project-mini-indicators {
  position: absolute;
  bottom: 12px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 5px;
}

.mini-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-fast);
}

.mini-dot.active {
  background-color: var(--green);
  width: 12px;
  border-radius: 3px;
}

.project-card-caption {
  padding: 24px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.project-card-name {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  transition: var(--transition-fast);
}

.project-slide-card:hover .project-card-name { color: var(--green); }
.project-card-tag { font-size: 12px; color: rgba(255, 255, 255, 0.4); font-weight: 300; text-transform: uppercase; letter-spacing: 1px; }


/* ==========================================================================
   6. PAGE 5: about.html (Narrative & values cards)
   ========================================================================== */
.about-img-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

.about-img-frame::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--green);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
}

.about-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}

.floating-badge-years {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background-color: var(--blue);
  color: var(--white);
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 120, 182, 0.3);
  text-align: center;
  z-index: 50;
  animation: badgePulse 3s infinite ease-in-out;
}

@keyframes badgePulse {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.years-num { font-family: var(--font-headings); font-size: 34px; font-weight: 800; color: var(--green); display: block; line-height: 1; margin-bottom: 4px; }
.years-text { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

.about-copy-col { padding-left: 20px; }
.about-main-heading { font-family: var(--font-headings); font-size: 38px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.about-secondary-heading { font-family: var(--font-headings); font-size: 16px; font-weight: 600; color: var(--blue); letter-spacing: 2px; margin-bottom: 24px; }
.about-p { font-size: 15px; color: var(--grey); line-height: 1.7; margin-bottom: 20px; font-weight: 300; }

.brand-stats-row { display: flex; gap: 30px; margin-top: 36px; }
.stat-box { flex: 1; }
.stat-number { font-family: var(--font-headings); font-size: 28px; font-weight: 700; color: var(--blue); display: block; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; }

/* Optional Values Cards grid */
.values-section {
  background-color: var(--light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  border-top: 4px solid var(--green);
}

.value-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.value-card-title {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.value-card-desc {
  font-size: 14px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.5;
}


/* ==========================================================================
   7. PAGE 6: contact.html (FORMS & LOCATION INTERACTION)
   ========================================================================== */
.contact-form-grid {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
  gap: 40px;
}

.contact-form-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.card-inner-title { font-family: var(--font-headings); font-size: 24px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.card-inner-subtitle { font-size: 14px; color: var(--grey); font-weight: 300; margin-bottom: 36px; }

/* Success popup card */
.contact-success-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.contact-success-box.active { opacity: 1; visibility: visible; }

.success-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: rgba(140, 198, 63, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(140,198,63,0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(140,198,63,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(140,198,63,0); }
}

.contact-success-box h4 { font-family: var(--font-headings); font-size: 24px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.contact-success-box p { color: var(--grey); font-size: 15px; margin-bottom: 30px; max-width: 360px; }
.btn-close-success { background-color: var(--blue); color: var(--white); padding: 12px 28px; border-radius: 30px; font-size: 13px; font-weight: 600; text-transform: uppercase; }

/* Interactive fields */
.interactive-form { display: flex; flex-direction: column; gap: 28px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.input-group { position: relative; width: 100%; }

.floating-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-inset);
}

.text-area-input { resize: vertical; min-height: 120px; }

.floating-label {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--grey);
  font-size: 15px;
  font-weight: 300;
  pointer-events: none;
  transition: var(--transition-fast);
  background-color: var(--white);
  padding: 0 4px;
}

.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
  top: -8px;
  left: 12px;
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
}

.floating-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 182, 0.1);
}

.input-group.invalid-field .floating-input { border-color: var(--error); }
.input-group.invalid-field .floating-label { color: var(--error); }
.error-msg-label { position: absolute; bottom: -18px; left: 4px; font-size: 11px; color: var(--error); font-weight: 500; display: none; }
.input-group.invalid-field .error-msg-label { display: block; }

/* Submitting */
.btn-submit-form {
  background-color: var(--blue);
  color: var(--white);
  font-size: 14px;
  border-radius: 8px;
  padding: 16px 36px;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 120, 182, 0.2);
  align-self: flex-start;
}

.btn-submit-form:hover { background-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,120,182,0.3); }
.btn-submit-form.submitting { pointer-events: none; background-color: var(--grey); }

.btn-submit-form.submitting .btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Details and hours cards */
.contact-details-card { display: flex; flex-direction: column; gap: 32px; }
.details-top-info { background-color: var(--white); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-premium); }
.contact-line-details { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.detail-item { display: flex; align-items: flex-start; gap: 16px; }
.detail-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background-color: rgba(0, 120, 182, 0.08); color: var(--blue); flex-shrink: 0; font-size: 20px; }
.detail-address-block { font-style: normal; font-size: 15px; color: var(--text-main); line-height: 1.6; }
.detail-link { color: var(--blue); font-weight: 500; }
.detail-link:hover { color: var(--green); }

.hours-table-wrapper { background-color: var(--white); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-premium); }
.hours-heading { font-family: var(--font-headings); font-size: 18px; font-weight: 600; color: var(--text-main); margin-bottom: 16px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.hours-table tr:last-child td { border-bottom: none; }
.day-col { font-weight: 500; color: var(--text-main); }
.time-col { text-align: right; color: var(--grey); }
.day-closed { color: var(--error); }
.time-closed { color: var(--error); font-weight: 500; }

/* Location card map with pulse marker */
.contact-map-frame {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255,255,255,0.8);
  display: block;
}

.map-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
  transition: var(--transition-smooth);
}

.contact-map-frame:hover .map-img-bg {
  filter: grayscale(0.2) contrast(1) brightness(0.95);
}

.map-marker-glow { position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%); z-index: 10; }
.marker-dot { width: 14px; height: 14px; border-radius: 50%; background-color: var(--blue); border: 2px solid var(--white); }
.pulse-ring { position: absolute; top: -13px; left: -13px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(0, 120, 182, 0.5); animation: mapPulseRing 2s infinite ease-out; }

@keyframes mapPulseRing {
  0% { transform: scale(0.3); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

.map-overlay-card {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(36,36,36,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 12px;
  border-radius: 6px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 15;
}
.map-overlay-card h5 { font-family: var(--font-headings); font-size: 11px; font-weight: 600; color: var(--white); }
.map-overlay-card p { font-size: 9px; color: var(--green); }

.social-links-wrapper { background-color: var(--white); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-premium); display: flex; align-items: center; gap: 16px; }
.social-label { font-size: 14px; font-weight: 500; color: var(--text-main); }

.social-anchor-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(140, 198, 63, 0.08);
  border: 1px solid rgba(140, 198, 63, 0.15);
  color: var(--green-dark);
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
}

.social-anchor-linkedin:hover {
  background-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.linkedin-logo-icon { width: 18px; height: 18px; }
.social-anchor-linkedin:hover .linkedin-logo-icon { filter: brightness(0) invert(1); }


/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--dark);
  color: var(--white);
  position: relative;
  z-index: 10;
  margin-top: auto; /* natural push to bottom */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 60px 24px;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer-brand-side { max-width: 420px; }
.footer-logo-img { height: 60px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 24px; }
.footer-tagline-text { font-size: 14px; color: rgba(255, 255, 255, 0.55); line-height: 1.7; font-weight: 300; }

.footer-quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; }
.footer-quick-links a { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.footer-quick-links a:hover { color: var(--green); padding-left: 6px; }

.footer-copyright-bar { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 24px 0; background-color: #1a1a1a; }
.copyright-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.4); }
.developed-by-text span { color: var(--green); font-weight: 600; }


/* ==========================================================================
   9. DYNAMIC LIGHTBOX VIEWPORT MODAL OVERLAY
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(14, 17, 18, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-loader { position: absolute; width: 48px; height: 48px; border: 3px solid rgba(255,255,255,0.1); border-top-color: var(--green); border-radius: 50%; animation: spin 1s infinite linear; display: none; z-index: 10005; }

.lightbox-content-frame {
  max-width: 85%;
  max-height: 80%;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
  z-index: 10002;
}

.lightbox-overlay.active .lightbox-content-frame { transform: scale(1); opacity: 1; }

.lightbox-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.lightbox-caption-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px 0 4px; }
.lightbox-label { font-family: var(--font-headings); font-size: 16px; font-weight: 500; color: var(--white); }
.lightbox-counter { font-size: 14px; color: var(--green); font-weight: 600; }

/* Control buttons inside lightbox modal */
.lightbox-btn { position: absolute; color: var(--white); font-size: 32px; display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); z-index: 10010; }
.close-btn { top: 30px; right: 30px; width: 48px; height: 48px; font-size: 24px; border-radius: 50%; background-color: rgba(255,255,255,0.05); }
.close-btn:hover { background-color: var(--error); transform: rotate(90deg); }

.arrow-btn { top: 50%; transform: translateY(-50%); width: 64px; height: 64px; background-color: rgba(255,255,255,0.03); border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); }
.arrow-btn:hover { background-color: var(--green); border-color: var(--green); color: var(--white); box-shadow: var(--shadow-glow); }
.left-arrow { left: 40px; }
.right-arrow { right: 40px; }

.lightbox-play-control { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10010; }
.lightbox-play-btn { background-color: rgba(255,255,255,0.05); color: var(--white); padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid rgba(255,255,255,0.1); transition: var(--transition-fast); }
.lightbox-play-btn:hover { background-color: var(--green); color: var(--white); border-color: var(--green); box-shadow: var(--shadow-glow); }


/* ==========================================================================
   10. ULTRA RESPONSIVE ADAPTABILITY (MEDIA QUERIES)
   ========================================================================== */

/* --- 1024px Landscape Tablet --- */
@media screen and (max-width: 1024px) {
  .section-container { padding: 60px 24px; }
  .two-column-layout { gap: 40px; }
  .slide-title { font-size: 42px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid article:last-child { grid-column: span 2; }
  
  .alloy-features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-20 { grid-template-columns: repeat(3, 1fr); }
  
  .furniture-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .full-width-cat { grid-column: span 2; }
  .gallery-grid-8 { grid-template-columns: repeat(3, 1fr); }
  
  .projects-carousel-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-grid { grid-template-columns: 1fr; }
}

/* --- 768px Portrait Tablet & Mobile --- */
@media screen and (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: flex; z-index: 10000; }
  .two-column-layout { grid-template-columns: 1fr; gap: 48px; }
  
  .about-img-frame { height: 380px; }
  .floating-badge-years { right: 0; bottom: -15px; padding: 16px 24px; }
  .years-num { font-size: 26px; }
  
  .carousel-arrow { display: none !important; }
  .carousel-thumbnails-wrapper { display: none !important; }
  
  .slide-content-wrapper { margin-left: 0; padding: 0 24px; text-align: center; }
  .slide-title { font-size: 34px; }
  .slide-subtitle { font-size: 16px; }
  
  .gallery-grid-20 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-8 { grid-template-columns: repeat(2, 1fr); }
  
  .full-width-cat { flex-direction: column; }
  .full-width-cat .f-cat-img-wrapper, .full-width-cat .f-cat-info { width: 100%; }
  
  .furniture-cta-card { flex-direction: column; text-align: center; padding: 32px; }
  .arrow-btn { width: 48px; height: 48px; }
  .left-arrow { left: 16px; }
  .right-arrow { right: 16px; }
  
  .footer-container { flex-direction: column; gap: 48px; }
  .copyright-container { flex-direction: column; gap: 12px; text-align: center; }
}

/* --- 480px Portrait Mobile --- */
@media screen and (max-width: 480px) {
  .section-title { font-size: 30px; }
  .slide-title { font-size: 28px; }
  
  .products-grid { grid-template-columns: 1fr; }
  .products-grid article:last-child { grid-column: span 1; }
  
  .alloy-main-heading { font-size: 32px; }
  .slideshow-frame-wrapper { height: 260px; }
  .alloy-features-grid { grid-template-columns: 1fr; }
  .gallery-grid-20 { grid-template-columns: 1fr; }
  
  .furniture-cats-grid { grid-template-columns: 1fr; }
  .full-width-cat { grid-column: span 1; }
  .gallery-grid-8 { grid-template-columns: 1fr; }
  
  .projects-carousel-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 32px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .btn-submit-form { width: 100%; align-self: stretch; }
  
  .details-top-info, .hours-table-wrapper { padding: 24px 16px; }
}
