/* 
 * ============================================================================
 *                         NS FURNITURE - STYLE SHEET
 * ============================================================================
 */

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

:root {
  /* Warm Premium Furniture Palette */
  --primary-color: #8B5E3C;       /* Rich Walnut Brown */
  --primary-hover: #754E30;
  --secondary-color: #C89B6D;     /* Warm Honey Oak */
  --secondary-hover: #B58A5D;
  --dark-color: #201B17;          /* Charcoal Black */
  --dark-accent: #2E2721;
  --cream-color: #F6F1EA;         /* Soft Cream Background */
  --light-color: #EFE7DC;         /* Warm Beige */
  --white-color: #FFFFFF;
  --gray-color: #7A726C;
  --gray-light: #DDD7CE;
  --success-color: #4E6E58;       /* Muted Sage Success */
  --error-color: #A34E36;         /* Clay Red Error */
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Shared Aesthetics */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 10px 30px rgba(32, 27, 23, 0.05);
  --shadow-hover: 0 20px 40px rgba(32, 27, 23, 0.12);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --max-width: 1200px;
}

/* 2. Global Resets & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

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

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

.text-center { text-align: center; }

/* 3. Scroll Progress Indicator */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 1001;
  background-color: rgba(223, 215, 206, 0.3);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--secondary-color);
  transition: width 0.1s linear;
}

/* 4. Reusable Components & Buttons */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  box-shadow: 0 4px 15px rgba(139, 94, 60, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 94, 60, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white-color);
  box-shadow: 0 4px 15px rgba(200, 155, 109, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 155, 109, 0.3);
}

.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

/* Common Section Typography */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 50px auto;
  color: var(--gray-color);
  font-size: 1.1rem;
}

/* 5. Header & Navigation */
.header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.header-scrolled {
  background-color: var(--dark-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.30);
  padding: 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.header-scrolled .navbar {
  padding: 10px 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo-img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--white-color);
  box-shadow: 0 2px 8px rgba(32, 27, 23, 0.12);
  transition: var(--transition-smooth);
}

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

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-item {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--cream-color);
  opacity: 0.9;
}

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

.navbar-item:hover,
.navbar-item.active {
  opacity: 1;
  color: var(--primary-color);
}

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

/* Mobile Hamburger Menu */
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1010;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--cream-color);
  transition: var(--transition-smooth);
}

/* Burger Active States */
.burger-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-active span:nth-child(2) {
  opacity: 0;
}

.burger-active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--cream-color);
  z-index: 1005;
  box-shadow: -10px 0 30px rgba(32, 27, 23, 0.15);
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px 40px;
  transition: var(--transition-smooth);
}

.drawer-active {
  right: 0;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-menu-item {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark-color);
}

.mobile-menu-item:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

/* 6. Advanced 3D Interactive Hero Section */
.hero-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--cream-color);
  overflow: hidden;
  padding-top: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-content {
  z-index: 10;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--gray-color);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* 3D Scene Wrapper styles */
.hero-3d-scene-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

.hero-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

/* 3D Scene Layers */
.hero-3d-layer {
  position: absolute;
  will-change: transform;
}

.hero-3d-bg {
  width: 90%;
  height: 80%;
  top: 10%;
  left: 5%;
  z-index: 1;
  transform: translateZ(-200px);
  filter: blur(2px) brightness(0.9);
}

.hero-3d-boy {
  width: 160px;
  height: 220px;
  bottom: 10%;
  left: 2%;
  z-index: 10;
  transform: translateZ(50px);
}

.hero-3d-girl {
  width: 170px;
  height: 230px;
  bottom: 8%;
  right: 2%;
  z-index: 12;
  transform: translateZ(90px);
}

.hero-3d-sofa {
  width: 320px;
  height: 200px;
  top: 30%;
  left: 20%;
  z-index: 5;
  transform: translateZ(140px);
}

.hero-3d-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  border: 4px solid var(--white-color);
  box-shadow: 0 15px 35px rgba(32, 27, 23, 0.15);
  transition: border-color 0.3s;
}

.hero-3d-scene img:hover {
  border-color: var(--secondary-color);
}

/* 7. Stats & Trust Section */
.stats-main {
  background-color: var(--light-color);
  padding: 60px 0;
  box-shadow: inset 0 1px 0 rgba(32, 27, 23, 0.05);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  text-align: center;
}

.stat-card {
  flex: 1 1 200px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-color);
  font-weight: 500;
}

/* 8. About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content-left {
  position: relative;
}

.about-img-wrap {
  width: 100%;
  height: 480px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  box-shadow: var(--shadow-hover);
}

.about-text {
  color: var(--gray-color);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.about-feature-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* 9. Rebuilt Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-img-container {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(32, 27, 23, 0.7);
  color: var(--white-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.service-content {
  padding: 30px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark-color);
}

.service-desc {
  color: var(--gray-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-link i {
  transition: transform 0.3s;
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* Sofa Customization / Component Card Interaction */
.sofa-3d-wrap {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sofa-3d-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 380px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  cursor: pointer;
}

.sofa-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-hover);
  border: 6px solid var(--white-color);
}

.floating-badge {
  position: absolute;
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(32, 27, 23, 0.15);
  pointer-events: none;
  transform: translate3d(0, 0, 30px);
  transition: transform 0.1s ease-out;
}

.fb-1 { top: 20%; left: 10%; }
.fb-2 { top: 75%; left: 25%; }
.fb-3 { top: 15%; right: 15%; }
.fb-4 { top: 60%; right: 10%; }

.floating-badge i {
  color: var(--secondary-color);
}

/* 10. Interactive Before/After Comparison Slider */
.slider-container-box {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background-color: var(--white-color);
  padding: 6px;
}

.before-after-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  border-radius: var(--border-radius-md);
}

.before-image-wrapper, .after-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.before-img, .after-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-image-wrapper {
  width: 50%;
  z-index: 2;
  border-right: 3px solid var(--white-color);
}

.slider-label {
  position: absolute;
  top: 20px;
  background-color: rgba(32, 27, 23, 0.75);
  color: var(--white-color);
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  border-radius: 4px;
  z-index: 5;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: 218px; /* centering vertically */
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(32, 27, 23, 0.3);
  z-index: 10;
  pointer-events: none;
  border: 3px solid var(--white-color);
  transition: transform 0.2s;
}

.before-after-slider:hover .slider-handle {
  transform: scale(1.1);
}

/* 11. Testimonials Slider */
.testimonials-slider-box {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
  text-align: center;
}

.reviewer-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 3px solid var(--white-color);
  box-shadow: var(--shadow-premium);
}

.reviewer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-stars {
  color: #F39C12;
  margin-bottom: 20px;
}

.review-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray-color);
  line-height: 1.7;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.testimonial-dot.active-dot {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* 12. Dynamic Call to Action (CTA) Section */
.cta-section {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: 80px 60px;
  color: var(--white-color);
  box-shadow: var(--shadow-hover);
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: 1;
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 16px;
}

/* 13. Dynamic Masonry Gallery & Filters */
.library-search-container {
  max-width: 500px;
  margin: 0 auto 30px auto;
  position: relative;
}

.library-search-input {
  width: 100%;
  padding: 14px 18px 14px 50px;
  background-color: var(--white-color);
  border: 1px solid var(--gray-light);
  border-radius: 30px;
  color: var(--dark-color);
  box-shadow: var(--shadow-premium);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.library-search-input:focus {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-hover);
}

.library-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-color);
  font-size: 1.1rem;
  pointer-events: none;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.gallery-filter-btn {
  padding: 10px 22px;
  background-color: var(--white-color);
  color: var(--dark-color);
  border: 1px solid var(--gray-light);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active-filter {
  background-color: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.15);
}

.gallery-grid {
  columns: 3 300px;
  column-gap: 24px;
}

.gallery-grid-loader {
  column-span: all;
  text-align: center;
  padding: 80px 20px;
  font-size: 1.2rem;
  color: var(--gray-color);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 24px;
  background-color: var(--white-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(32, 27, 23, 0.07);
  cursor: pointer;
  position: relative;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(32, 27, 23, 0.15);
}

.gallery-item-img {
  position: relative;
  overflow: hidden;
}

.gallery-item-img img {
  width: 100%;
  display: block;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(164, 131, 99, 0.35);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item-overlay i {
  color: var(--white-color);
  font-size: 1.8rem;
  transform: scale(0.8);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item-overlay i {
  transform: scale(1);
}

.gallery-item-info {
  padding: 20px;
  border-top: 1px solid var(--cream-color);
}

.gallery-item-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--dark-color);
  margin-bottom: 4px;
}

.gallery-item-info p {
  color: var(--gray-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 14. Premium Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 27, 23, 0.95);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.lightbox-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--border-radius-md);
  border: 4px solid var(--white-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: none;
}

.lightbox-caption {
  color: var(--white-color);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-align: center;
}

.lightbox-placeholder-fallback {
  width: 100%;
  max-width: 500px;
  height: 350px;
  background-color: var(--dark-accent);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white-color);
  border: 4px solid var(--gray-color);
  padding: 40px;
}

.inner-ph i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.inner-ph p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

/* Lightbox Controls Buttons */
.lightbox-btn {
  position: absolute;
  color: var(--white-color);
  font-size: 2.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-smooth);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(32, 27, 23, 0.4);
}

.lightbox-btn:hover {
  opacity: 1;
  background-color: rgba(32, 27, 23, 0.8);
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-prev {
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
}

/* 15. Contact Section & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.contact-card-box {
  background-color: var(--white-color);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
}

.contact-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-intro {
  color: var(--gray-color);
  margin-bottom: 30px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-color);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--cream-color);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  color: var(--dark-color);
  transition: var(--transition-smooth);
}

.form-control:focus {
  background-color: var(--white-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.1);
}

/* Feedback Status Messages */
.form-status-msg {
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  margin-top: 20px;
  display: none;
  font-weight: 500;
}

.status-success {
  background-color: rgba(78, 110, 88, 0.15);
  color: var(--success-color);
  border: 1px solid rgba(78, 110, 88, 0.3);
}

.status-error {
  background-color: rgba(163, 78, 54, 0.15);
  color: var(--error-color);
  border: 1px solid rgba(163, 78, 54, 0.3);
}

/* Contact Information Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-widget {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-widget-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.info-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--cream-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.info-details p, .info-details a {
  color: var(--gray-color);
  font-size: 0.95rem;
}

.info-details a:hover {
  color: var(--primary-color);
}

/* Map Helper Card */
.map-helper-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 30px;
  text-align: center;
}

.map-helper-card i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.map-helper-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.map-helper-card p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 20px;
}

/* 16. Dark Premium Footer */
.footer-main {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--white-color);
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-desc {
  opacity: 0.75;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--dark-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--white-color);
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  opacity: 1;
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  opacity: 0.75;
  font-size: 0.95rem;
}

.footer-link:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  opacity: 0.75;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--secondary-color);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.footer-bottom-info {
  display: flex;
  flex-direction: column;
}

.dev-link:hover {
  transform: scale(1.2);
  text-shadow: 0 0 10px rgba(164, 131, 99, 0.8);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--secondary-color);
}

/* 17. Floating Sticky Quick Action Links */
.floating-actions-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(32, 27, 23, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.float-call {
  background-color: var(--primary-color);
}

.float-call:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1) rotate(10deg);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-whatsapp:hover {
  background-color: #20BA5A;
  transform: scale(1.1) rotate(-10deg);
}

.btn-back-to-top {
  background-color: var(--dark-color);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back-to-top.visible-btn {
  opacity: 0.9;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  opacity: 1;
  background-color: var(--primary-color);
}

/* 18. Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 19. Magnetic CTA animation */
.magnetic-btn {
  display: inline-flex;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 20. RESPONSIVE MEDIA QUERIES BREAKPOINTS */

@media (max-width: 1440px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-heading {
    font-size: 3.2rem;
  }
  
  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 720px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-3d-scene-wrap {
    height: 480px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-img-wrap {
    height: 400px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .lightbox-prev {
    left: -20px;
    top: 92%;
  }
  
  .lightbox-next {
    right: -20px;
    top: 92%;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
    padding: 0 16px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .navbar-burger {
    display: flex;
  }
  
  .navbar-menu {
    display: none;
  }
  
  .hero-heading {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .before-after-slider {
    height: 380px;
  }
  
  .slider-handle {
    margin-top: 168px;
  }
  
  .cta-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .gallery-grid {
    columns: 2 240px;
  }
}

/* Deliberate Stacked Mobile Layout for 3D Hero Scene */
@media (max-width: 480px) {
  .container {
    max-width: 100%;
  }
  
  .hero-heading {
    font-size: 2.1rem;
  }
  
  .hero-3d-scene-wrap {
    height: 360px;
    perspective: none;
  }
  
  .hero-3d-scene {
    transform: none !important;
  }
  
  .hero-3d-bg {
    display: none; /* Hide background on mobile to clean space */
  }
  
  .hero-3d-sofa {
    width: 250px;
    height: 150px;
    top: 5%;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 5;
  }
  
  .hero-3d-boy {
    width: 110px;
    height: 150px;
    bottom: 2%;
    left: 2%;
    transform: none !important;
    z-index: 10;
  }
  
  .hero-3d-girl {
    width: 120px;
    height: 160px;
    bottom: 2%;
    right: 2%;
    transform: none !important;
    z-index: 12;
  }
  
  .before-after-slider {
    height: 300px;
  }
  
  .slider-handle {
    margin-top: 128px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .gallery-filters {
    gap: 8px;
  }
  
  .gallery-filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .hero-heading {
    font-size: 1.8rem;
  }
  
  .hero-3d-sofa {
    width: 200px;
    height: 120px;
  }
  
  .hero-3d-boy {
    width: 90px;
    height: 120px;
  }
  
  .hero-3d-girl {
    width: 100px;
    height: 130px;
  }
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}
