/*
Theme Name: RWA Theme
Theme URI: https://roaawoodartisan.com/
Author: Antigravity Pair Programmer
Description: Roaa Wood Artisan Showcase WordPress Theme (Elementor-friendly)
Version: 1.0.0
Text Domain: rwa-theme
*/

/* 
  RWA & CO. Design System
  Inspired by oddny.co
*/

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

:root {
  /* Colors */
  --primary-bg: #FFFFFF;     /* Pure White */
  --secondary-bg: #F9F6F0;   /* Luxurious warm off-white/cream */
  --dark-bg: #1A1816;        /* Deep charcoal wood/bronze tone */
  --accent-bg: #C5A880;      /* Signature Metallic Gold */
  --black-bg: #000000;       /* Black */
  
  --text-dark: #1A1816;
  --text-light: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-muted-dark: rgba(26, 24, 22, 0.65);
  --border-light: rgba(197, 168, 128, 0.25); /* Gold-tinted borders */
  --border-dark: rgba(26, 24, 22, 0.08);
  
  /* Fonts */
  --font-family: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --grid-gutter: 30px;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--primary-bg);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

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

p {
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--grid-gutter) / 2);
  margin-right: calc(-1 * var(--grid-gutter) / 2);
}

.col {
  flex: 1;
  padding-left: calc(var(--grid-gutter) / 2);
  padding-right: calc(var(--grid-gutter) / 2);
}

/* Specific grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gutter);
}

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

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

@media (max-width: 991px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .row {
    flex-direction: column;
  }
}

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

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.py-5 { padding-top: 50px; padding-bottom: 50px; }

/* Header & Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.sticky {
  position: fixed;
  background-color: var(--accent-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  color: var(--text-light);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.logo-text span {
  font-weight: 300;
  color: var(--text-muted);
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  border-color: var(--text-light);
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--accent-bg);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--dark-bg);
  padding-left: 25px;
}

/* Contact Us Nav Button (Oddny Pill Style) */
.btn-cta {
  background-color: var(--dark-bg);
  color: var(--text-light);
  border: 1px solid var(--border-light);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

header.sticky .btn-cta {
  background-color: var(--dark-bg);
  border-color: transparent;
}

.btn-cta:hover {
  background-color: var(--text-light);
  color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--accent-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 30px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-item {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding-left: 15px;
    margin-top: 10px;
    display: none;
  }
  .nav-item:hover .dropdown-menu {
    display: block;
  }
  .navbar-right {
    display: none;
  }
}

/* Nina Button Hover Animation Style */
.button {
  min-width: 180px;
  display: inline-block;
  padding: 0 2.2em;
  border: none;
  background: none;
  color: #fff !important;
  vertical-align: middle;
  position: relative;
  z-index: 1;
  border-radius: 8px !important;
  cursor: pointer;
  overflow: hidden;
  height: 50px;
  line-height: 50px;
}

.button--nina {
  background-color: var(--accent-bg) !important;
  transition: background-color 0.3s;
}

.button--nina::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0;
  line-height: 50px;
  transition: transform 0.3s, opacity 0.3s;
  transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.button--nina:hover {
  background-color: var(--dark-bg) !important;
}

.button--nina:hover::before {
  opacity: 0;
  transform: translate3d(0, 100%, 0);
}

.button--nina > span {
  display: inline-block;
  opacity: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  transform: translate3d(0, -10px, 0);
  transition: transform 0.3s, opacity 0.3s;
  transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.button--nina:hover > span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Staggered Delay for Nina Button letters */
.button--nina:hover > span:nth-child(1) { transition-delay: 0.03s; }
.button--nina:hover > span:nth-child(2) { transition-delay: 0.06s; }
.button--nina:hover > span:nth-child(3) { transition-delay: 0.09s; }
.button--nina:hover > span:nth-child(4) { transition-delay: 0.12s; }
.button--nina:hover > span:nth-child(5) { transition-delay: 0.15s; }
.button--nina:hover > span:nth-child(6) { transition-delay: 0.18s; }
.button--nina:hover > span:nth-child(7) { transition-delay: 0.21s; }
.button--nina:hover > span:nth-child(8) { transition-delay: 0.24s; }
.button--nina:hover > span:nth-child(9) { transition-delay: 0.27s; }
.button--nina:hover > span:nth-child(10) { transition-delay: 0.30s; }
.button--nina:hover > span:nth-child(11) { transition-delay: 0.33s; }
.button--nina:hover > span:nth-child(12) { transition-delay: 0.36s; }
.button--nina:hover > span:nth-child(13) { transition-delay: 0.39s; }
.button--nina:hover > span:nth-child(14) { transition-delay: 0.42s; }
.button--nina:hover > span:nth-child(15) { transition-delay: 0.45s; }

/* Inverted Nina Button for Dark backgrounds */
.button--nina.inverted {
  background-color: var(--primary-bg) !important;
  color: var(--dark-bg) !important;
  border: 1px solid var(--dark-bg);
}

.button--nina.inverted::before {
  color: var(--dark-bg);
}

.button--nina.inverted:hover {
  background-color: var(--dark-bg) !important;
  color: var(--primary-bg) !important;
}

.button--nina.inverted:hover > span {
  color: #fff;
}


/* Section Divider Style */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto 40px auto;
  width: 100%;
  max-width: 400px;
}

.divider .line {
  flex-grow: 1;
  height: 1px;
  background-color: rgba(36, 36, 36, 0.15);
}

.dark-section .divider .line {
  background-color: rgba(252, 252, 252, 0.15);
}

.divider .icon-wrap {
  width: 50px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider .icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-bg);
}

.dark-section .divider .icon-wrap svg {
  fill: var(--text-light);
}


/* Hero Carousel Section */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

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

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

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

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-light);
  max-width: 900px;
  padding: 0 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
}

.slide-sub {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.slide-btn-wrap {
  display: flex;
  justify-content: center;
}

/* Slider navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.slider-arrow.prev { left: 40px; }
.slider-arrow.next { right: 40px; }

.slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.slider-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

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

.indicator-dot.active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .slide-title { font-size: 2.2rem; }
  .slide-sub { font-size: 1rem; }
  .slider-arrow { display: none; }
}


/* About Section */
.section {
  padding: var(--section-padding);
  position: relative;
}

.about-section {
  background-color: var(--primary-bg);
  color: var(--text-dark);
}

.about-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--accent-bg);
  font-weight: 700;
  margin-bottom: 5px;
}

.about-content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content-left h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-bg);
}

.about-content-left p {
  color: rgba(36, 36, 36, 0.85);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 300;
}

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

.about-img-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.05);
}


/* Services Section */
.services-section {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding-bottom: 0 !important;
}

.services-section h2 {
  color: var(--text-light);
}

.services-section .about-eyebrow {
  color: var(--text-muted);
}

.services-grid-fluid {
  display: flex;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  flex-wrap: wrap;
  margin-top: 40px;
}

.service-box {
  flex: 1 1 25%;
  min-width: 280px;
  padding: 65px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.service-box:nth-child(odd) {
  background-color: var(--dark-bg);
}

.service-box:nth-child(even) {
  background-color: var(--accent-bg);
}

.service-icon-badge {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.4s ease;
}

.service-icon-badge svg {
  width: 42px;
  height: 42px;
  fill: #fff;
  transition: transform 0.4s ease;
}

.service-box:hover .service-icon-badge {
  background-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.service-box:hover .service-icon-badge svg {
  fill: var(--dark-bg);
  transform: rotate(10deg);
}

.service-label {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
}

@media (max-width: 991px) {
  .services-grid-fluid {
    margin-left: 0;
    width: 100%;
  }
  .service-box {
    flex: 1 1 50%;
  }
}

@media (max-width: 576px) {
  .service-box {
    flex: 1 1 100%;
  }
}


/* Why Choose Us Section */
.why-choose-us {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-us::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(61, 61, 61, 0.6) 100%);
  z-index: 1;
}

.why-choose-us .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.why-choose-us h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.why-choose-us p {
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text-muted);
}


/* Testimonials / Team Carousel */
.testimonials-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  overflow: hidden;
}

.testimonials-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 36, 36, 0.9);
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.team-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  height: 420px;
}

.team-container {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.team-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.8s ease-in-out;
  padding: 20px 40px;
}

.team-slide.active {
  opacity: 1;
  visibility: visible;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.team-role {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.team-desc {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}


/* Counters Section */
.counters-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
}

.counters-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}

.counters-section .container {
  position: relative;
  z-index: 2;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

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

.counter-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.counter-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--text-light);
}

.counter-number {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.counter-label {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .counter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .counter-grid {
    grid-template-columns: 1fr;
  }
}


/* Video Promo Section */
.video-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
}

.video-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 36, 36, 0.85);
  z-index: 1;
}

.video-section .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.video-section h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.video-section h2 {
  font-size: 2.6rem;
  margin-bottom: 25px;
}

.video-section p {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

/* Play Button */
.play-btn-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.play-btn {
  width: 85px;
  height: 85px;
  background-color: var(--text-light);
  color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  position: relative;
}

.play-btn::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.play-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  margin-left: 5px; /* Offset to center the triangle visually */
}

.play-btn:hover {
  transform: scale(1.1);
  background-color: var(--accent-bg);
  color: #fff;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}


/* Closing CTA Banner */
.cta-banner {
  background-color: var(--accent-bg);
  color: var(--text-light);
  padding: 60px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 40px;
}

.cta-left {
  display: flex;
  flex-direction: column;
}

.cta-left h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-left p {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.cta-right {
  display: flex;
  justify-content: center;
}

.cta-img-wrap {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

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

@media (max-width: 991px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
}


/* Footer Section */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 80px 0 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr 3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: #fff;
}

/* Social icons list */
.social-icons-footer {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-btn:hover {
  background-color: #fff;
  color: var(--dark-bg);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  margin-top: 20px;
  height: 45px;
}

.newsletter-input {
  flex-grow: 1;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px 0 0 4px;
  padding: 0 15px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.3);
}

.newsletter-btn {
  background-color: var(--accent-bg);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 20px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family);
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: #fff;
  color: var(--dark-bg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(252, 252, 252, 0.4);
  font-size: 0.85rem;
}

@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}


/* Video Modal Popup */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
}

.video-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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


/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 150px;
  right: 30px;
  background-color: var(--accent-bg);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #fff;
  color: var(--dark-bg);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Bio Modal Styles */
.bio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bio-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.bio-modal-content {
  background-color: var(--primary-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  color: var(--text-dark);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bio-modal.active .bio-modal-content {
  transform: translateY(0);
}
.bio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.bio-modal-close:hover {
  opacity: 1;
}
.bio-modal-header-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 20px;
}
#bio-modal-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-bg);
}
#bio-modal-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-bg);
  margin: 0 0 5px 0;
}
#bio-modal-role {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(36, 36, 36, 0.6);
  font-weight: 600;
}
#bio-modal-text {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  white-space: pre-line;
}

.btn-read-bio {
  background: none;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  padding: 5px 0;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}
.btn-read-bio::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-bg);
  transition: width 0.3s ease;
}
.btn-read-bio:hover {
  color: var(--accent-bg);
}
.btn-read-bio:hover::after {
  width: 100%;
}

/* ==========================================
   IMAGE ACCORDION GRID
   ========================================== */
.accordion-wrapper {
  display: flex;
  width: 100%;
  height: 450px;
  gap: 15px;
  margin-top: 40px;
}
.accordion-item {
  flex: 1;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.accordion-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-item:hover {
  flex: 2.5;
}
.accordion-item:hover img {
  transform: scale(1.03);
}
.accordion-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.accordion-item:hover .accordion-content {
  opacity: 1;
}
.accordion-title {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-bg);
  margin-bottom: 8px;
}
.accordion-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
}
.accordion-item:hover .accordion-desc {
  max-height: 80px;
  margin-top: 10px;
}
@media (max-width: 767px) {
  .accordion-wrapper {
    flex-direction: column;
    height: 700px;
  }
}

/* ==========================================
   FLOATING WIDGETS & WHATSAPP
   ========================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 10000;
}
.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.hidden {
  display: none !important;
}

:root {
  --color-bg-dark: #0a0908;
  --color-bg-secondary: #141210;
  --color-bg-card: #1c1815;
  --color-gold: #d4af37;
  --color-gold-hover: #e5c158;
  --color-gold-dim: rgba(212, 175, 55, 0.15);
  --color-text-light: #f4f3f0;
  --color-text-muted: #9c958f;
  --color-text-dark: #12100e;
  --color-border: rgba(212, 175, 55, 0.1);
  --color-red-accent: #d9534f;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
  --glass-effect: blur(10px) saturate(120%);
}

/* Why Choose Us Hover Cards */
.choose-card {
  background-color: rgba(26, 24, 22, 0.85);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.choose-card h4 {
  color: var(--accent-bg);
  margin-bottom: 12px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.choose-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.choose-card:hover {
  background-color: var(--accent-bg);
  border-color: var(--accent-bg);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(186, 150, 94, 0.3);
}

.choose-card:hover h4 {
  color: #1a1816 !important;
}

.choose-card:hover p {
  color: rgba(26, 24, 22, 0.95) !important;
}

/* ==========================================
   SPLASH SCREEN PRE-LOADER ANIMATION
   ========================================== */
/* body.rwa-active overflow is handled by rwa-intro.css */
body.splash-active {
  overflow: hidden !important;
}

#intro {
  position: fixed;
  inset: 0;
  background-color: #fff; /* starts clean white, Phase 1 transitions to #ffffff */
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  perspective: 1500px;
}

#scene {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

#camera {
  position: relative;
  width: 500px;
  height: 500px;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Whole stage logo (Phases 1-4) */
#logo-stage {
  position: absolute;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  mask-image: url(#logo-mask-whole);
  -webkit-mask-image: url(#logo-mask-whole);
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  will-change: opacity, transform;
}

#logo-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* flat gold logo underneath */
  pointer-events: none;
}

/* Split stage logo (Phases 5-7) */
#split-container {
  position: absolute;
  width: 500px;
  height: 500px;
  z-index: 1;
  opacity: 0; /* hidden until Phase 5 crossfade */
  transform-style: preserve-3d;
  pointer-events: none;
}

#left-half, #right-half {
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

#left-half {
  left: 0;
  transform-origin: left center;
  clip-path: polygon(0% 0%, 50% 0%, 48% 20%, 52% 40%, 49% 60%, 51% 80%, 48% 100%, 0% 100%);
  -webkit-clip-path: polygon(0% 0%, 50% 0%, 48% 20%, 52% 40%, 49% 60%, 51% 80%, 48% 100%, 0% 100%);
}

#right-half {
  right: 0;
  transform-origin: right center;
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 48% 100%, 51% 80%, 49% 60%, 52% 40%, 48% 20%, 50% 0%);
  -webkit-clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 48% 100%, 51% 80%, 49% 60%, 52% 40%, 48% 20%, 50% 0%);
}

.split-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#left-half .split-content {
  mask-image: url(#logo-mask-left);
  -webkit-mask-image: url(#logo-mask-left);
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
}

#right-half .split-content {
  mask-image: url(#logo-mask-right);
  -webkit-mask-image: url(#logo-mask-right);
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
}

.splash-logo-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Gold arc path drawing setup */
.gold-arc {
  stroke: #C5A880;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
}

/* Active class to draw circle stroke */
.gold-arc.stroke-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* Arched text styling */
.curved-label {
  font-family: 'Playfair Display', serif;
  font-size: 13.5px;
  letter-spacing: 5.5px;
  fill: #C5A880;
  text-transform: uppercase;
}

.gold-text {
  fill: #C5A880;
  font-family: 'Playfair Display', serif;
  text-anchor: middle;
}

.large-rwa {
  font-size: 110px;
  font-weight: 500;
  letter-spacing: -2px;
}

.amp-co {
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Wood material layers (positioned top to bottom in DOM order but we control z-index and blend modes) */
.wood-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b2a1f 0%, #7a5a3a 50%, #4a3426 100%);
  z-index: 2;
  mix-blend-mode: normal;
  opacity: 0; /* fades in Phase 2 */
  will-change: opacity;
}

.grain-layer {
  position: absolute;
  inset: -10px; /* bleed out to allow movement */
  background: repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 4px);
  z-index: 3;
  mix-blend-mode: multiply;
  opacity: 0; /* fades in Phase 2 */
  will-change: opacity, transform;
}

.light-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 50%, transparent 100%);
  z-index: 4;
  mix-blend-mode: screen;
  opacity: 0; /* controlled in Phase 2 */
  transform: translateX(-100%);
  will-change: transform, opacity;
}

/* Skip Intro Action Button styling */
#skip {
  position: absolute;
  bottom: 35px;
  right: 45px;
  background: none;
  border: none;
  color: #C5A880;
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.35;
  cursor: pointer;
  z-index: 999999999;
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 5px 10px;
}

#skip:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Live site container scale-in */
#site {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 10;
  opacity: 0; /* fades in during Phase 6 */
  transform: scale(1.03);
  transform-origin: center center;
  will-change: transform, opacity;
}

body:not(.splash-active) #site,
body #site {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* ==========================================
   LUXURY PRODUCT SHOWCASE STYLING
   ========================================== */
.showcase-hero {
  padding: 120px 0 80px 0;
  background-color: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.showcase-hero h1 {
  font-family: var(--font-family);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-bg);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.showcase-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}

/* Immersive Hotspots Room Slider Section */
.hotspots-hero-slider {
  position: relative;
  width: 100%;
  background-color: var(--dark-bg);
  padding: 110px 0 50px 0;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 400px;
}

.hotspot-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hotspot-slide.active {
  display: block;
  opacity: 1;
  animation: fadeInSlide 0.8s forwards;
}

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

.hotspots-hero-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 24, 22, 0.6);
  border: 1px solid var(--border-light);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  transition: all 0.3s ease;
}

.hotspots-hero-slider .slider-arrow:hover {
  background-color: var(--accent-bg);
  color: var(--dark-bg);
  border-color: var(--accent-bg);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.6);
}

.hotspots-hero-slider .slider-arrow.prev { left: 20px; }
.hotspots-hero-slider .slider-arrow.next { right: 20px; }

.hotspots-hero-slider .slider-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  margin-bottom: 10px;
  position: relative;
  z-index: 150;
}

.hotspots-hero-slider .indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hotspots-hero-slider .indicator-dot.active {
  background-color: var(--accent-bg);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--accent-bg);
}

.slider-explore-btn-wrap {
  margin-top: 30px;
  position: relative;
  z-index: 150;
}

.hotspot-room-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.hotspot-room-img {
  width: 100%;
  display: block;
  height: 560px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85);
  transition: filter 0.5s ease;
}

@media (max-width: 768px) {
  .hotspot-room-img {
    height: 320px;
  }
}

.hotspot-room-container:hover .hotspot-room-img {
  filter: brightness(0.9);
}

/* Hotspot Markers */
.hotspot-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--accent-bg);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: pulseHotspot 2s infinite;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hotspot-marker::before {
  content: '+';
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.hotspot-marker:hover {
  transform: scale(1.2);
  background-color: #fff;
}

.hotspot-marker:hover::before {
  color: var(--dark-bg);
}

@keyframes pulseHotspot {
  0% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(197, 168, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

/* Hotspot Glassmorphism Popups */
.hotspot-card {
  position: absolute;
  width: 280px;
  background: rgba(26, 24, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hotspot-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hotspot-card h4 {
  font-size: 1.1rem;
  color: var(--accent-bg);
  margin-bottom: 6px;
  font-family: var(--font-family);
  font-weight: 600;
}

.hotspot-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.hotspot-card-price {
  font-size: 1.1rem;
  color: var(--accent-bg);
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

.hotspot-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--accent-bg);
  color: var(--dark-bg);
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hotspot-card-btn:hover {
  background-color: #fff;
}

/* Showcase Grid Section */
.showcase-section {
  padding: 80px 0 100px 0;
  background: linear-gradient(180deg, #f9f6f0 0%, #f2ede5 100%);
  color: var(--text-dark);
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 0;
}

.showcase-card {
  background-color: #ffffff;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-bg);
}

/* View Product hover overlay on the image */
.showcase-img-wrap::after {
  content: 'View Product →';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(to top, rgba(197, 168, 128, 0.95), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.showcase-card:hover .showcase-img-wrap::after {
  opacity: 1;
  transform: translateY(0);
}

.showcase-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background-color: var(--secondary-bg);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.04);
}

.showcase-info {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.showcase-category {
  font-size: 0.75rem;
  color: var(--accent-bg);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.showcase-title {
  font-size: 1.5rem;
  font-family: var(--font-family);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* Customizer Form Controls */
.config-group {
  margin-bottom: 20px;
}

.config-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #777;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.config-btn {
  background: transparent;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.config-btn:hover {
  border-color: var(--accent-bg);
  color: var(--accent-bg);
}

.config-btn.active {
  background-color: var(--accent-bg);
  border-color: var(--accent-bg);
  color: #fff;
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.3);
}

/* Dynamic Price Roll Container */
.showcase-price-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-dark);
  padding-top: 25px;
}

.showcase-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-bg);
  font-family: var(--font-family);
  transition: color 0.3s ease;
  min-width: 150px;
}

.price-currency {
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 5px;
}

/* Showcase Buttons */
.btn-showcase-inquire {
  background-color: var(--text-dark);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-showcase-inquire:hover {
  background-color: var(--accent-bg);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 168, 128, 0.4);
}

.btn-showcase-inquire i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .showcase-hero h1 {
    font-size: 2.5rem;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hotspots slider responsive overrides */
  .hotspots-hero-slider {
    padding: 90px 0 30px 0;
  }
  .hotspots-hero-slider .slider-arrow {
    width: 40px;
    height: 40px;
  }
  .hotspots-hero-slider .slider-arrow.prev { left: 10px; }
  .hotspots-hero-slider .slider-arrow.next { right: 10px; }
  
  .hotspot-card {
    width: 240px;
    padding: 15px;
  }
  .hotspot-card h4 {
    font-size: 0.95rem;
  }
  .hotspot-card p {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
  .hotspot-card-price {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
}


/* ============================================
   Meet Our Team Section — Homepage Block
   ============================================ */
.home-team-section {
  padding: 100px 0;
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}

.home-team-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('assets/images/team_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.home-team-section .container {
  position: relative;
  z-index: 1;
}

.home-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 55px;
}

.home-team-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px 30px 35px;
  text-align: center;
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.home-team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(197, 168, 128, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.home-team-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-bg);
}

.home-team-card:hover::before {
  opacity: 1;
}

.home-team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 3px solid var(--accent-bg);
  box-shadow: 0 0 0 5px rgba(197, 168, 128, 0.15);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.home-team-card:hover .home-team-avatar {
  box-shadow: 0 0 0 7px rgba(197, 168, 128, 0.3);
  transform: scale(1.04);
}

.home-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.home-team-role {
  font-size: 0.78rem;
  color: var(--accent-bg);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.home-team-quote {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 25px;
}

.home-team-quote::before { content: '\201C'; color: var(--accent-bg); font-size: 1.2rem; font-style: normal; }
.home-team-quote::after  { content: '\201D'; color: var(--accent-bg); font-size: 1.2rem; font-style: normal; }

.btn-team-bio {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--accent-bg);
  border-radius: 30px;
  color: var(--accent-bg);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-team-bio:hover {
  background-color: var(--accent-bg);
  color: var(--dark-bg);
  box-shadow: 0 4px 16px rgba(197, 168, 128, 0.35);
}

.home-team-cta {
  text-align: center;
  margin-top: 55px;
}

.home-team-cta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .home-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .home-team-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   Showcase Category Filter Bar
   ============================================ */
.showcase-filter-bar { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:0 auto 40px auto; padding:18px 24px; background:rgba(197,168,128,0.06); border:1px solid var(--border-dark); border-radius:50px; width:fit-content; max-width:100%; }
.filter-pill { padding:9px 24px; border-radius:30px; border:1px solid var(--border-dark); background:transparent; color:var(--text-muted-dark); font-family:var(--font-family); font-size:0.82rem; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; cursor:pointer; transition:all 0.3s ease; white-space:nowrap; }
.filter-pill:hover { border-color:var(--accent-bg); color:var(--accent-bg); background:rgba(197,168,128,0.08); }
.filter-pill.active { background:var(--accent-bg); border-color:var(--accent-bg); color:var(--dark-bg); box-shadow:0 4px 16px rgba(197,168,128,0.35); }
.showcase-card.filter-hidden { display:none; }
@keyframes cardReveal { from { opacity:0; transform:translateY(12px) scale(0.98); } to { opacity:1; transform:translateY(0) scale(1); } }
.showcase-card.filter-visible { animation:cardReveal 0.4s ease forwards; }
@media (max-width:600px) { .showcase-filter-bar { border-radius:16px; padding:14px 16px; gap:8px; } .filter-pill { padding:7px 14px; font-size:0.75rem; } }

/* ============================================
   Product Detail Page Styles
   ============================================ */
.product-hero-section { position:relative; height:520px; overflow:hidden; display:flex; align-items:flex-end; }
.product-hero-section img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.product-hero-section::after { content:''; position:absolute; inset:0; background:linear-gradient(to top,rgba(18,18,18,0.85) 0%,rgba(18,18,18,0.2) 60%,transparent 100%); }
.product-hero-content { position:relative; z-index:2; padding:50px 0 40px 0; width:100%; }
.product-breadcrumb { font-size:0.78rem; color:var(--text-muted); letter-spacing:2px; text-transform:uppercase; margin-bottom:12px; }
.product-breadcrumb a { color:var(--accent-bg); text-decoration:none; }
.product-category-badge { display:inline-block; padding:4px 14px; border:1px solid var(--accent-bg); border-radius:20px; color:var(--accent-bg); font-size:0.72rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; margin-bottom:14px; }
.product-hero-title { font-size:clamp(2rem,5vw,3.5rem); font-weight:800; color:#fff; line-height:1.15; margin-bottom:12px; }
.product-hero-price { font-size:1.5rem; font-weight:700; color:var(--accent-bg); letter-spacing:1px; }
.product-detail-section { padding:90px 0 110px; background: linear-gradient(180deg, #faf7f3 0%, #f2ede5 100%); }
.product-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:start; }
.product-detail-gallery img { width:100%; border-radius:12px; box-shadow:0 10px 40px rgba(0,0,0,0.12); display:block; }
.product-detail-title { font-size:1.8rem; font-weight:800; color:var(--dark-bg); margin-bottom:20px; }
.product-detail-desc { color:#555; line-height:1.75; margin-bottom:30px; font-size:0.95rem; }
.product-features-list { list-style:none; padding:0; margin:0 0 35px 0; }
.product-features-list li { padding:10px 0; border-bottom:1px solid #f0ede8; font-size:0.9rem; color:#444; display:flex; align-items:center; gap:10px; }
.product-features-list li::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--accent-bg); flex-shrink:0; }
.product-cta-strip { display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; }
.btn-product-inquire { padding:14px 32px; background:var(--accent-bg); color:var(--dark-bg); border:none; border-radius:6px; font-size:0.85rem; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; cursor:pointer; transition:all 0.3s ease; text-decoration:none; display:inline-flex; align-items:center; gap:8px; }
.btn-product-inquire:hover { background:#b8924d; box-shadow:0 6px 20px rgba(197,168,128,0.4); transform:translateY(-2px); }
.btn-product-back { padding:14px 28px; background:transparent; color:var(--dark-bg); border:1px solid #c8c0b4; border-radius:6px; font-size:0.85rem; font-weight:600; letter-spacing:1px; text-transform:uppercase; cursor:pointer; transition:all 0.3s ease; text-decoration:none; display:inline-flex; align-items:center; gap:8px; }
.btn-product-back:hover { border-color:var(--dark-bg); background:#f9f6f1; }
@media (max-width:768px) { .product-detail-grid { grid-template-columns:1fr; gap:40px; } .product-hero-section { height:380px; } }

/* ============================================
   Showroom Product Feedback System Styles
   ============================================ */
.btn-showcase-feedback {
  background-color: transparent;
  color: var(--text-dark); /* Dark text for high contrast on white card background */
  border: 2px solid var(--accent-bg); /* Thicker gold border */
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 15px;
  transition: all 0.3s ease;
  font-family: var(--font-family);
  letter-spacing: 0.5px;
}

.btn-showcase-feedback:hover {
  background-color: var(--accent-bg); /* Solid gold fill on hover */
  color: #ffffff; /* White text on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(197, 168, 128, 0.35); /* Elegant gold shadow */
}

.showcase-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--accent-bg); /* Gold */
}

.showcase-rating .rating-stars {
  letter-spacing: 2px;
}

.showcase-rating .rating-count {
  color: var(--text-muted-dark);
  font-size: 0.8rem;
  font-weight: 500;
}

.feedback-modal-content {
  max-width: 480px !important;
  width: 90% !important;
  padding: 40px !important;
}

.feedback-modal-title {
  font-size: 1.8rem;
  font-family: var(--font-family);
  font-weight: 800;
  color: var(--accent-bg);
  margin: 0 0 5px 0;
}

.feedback-modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted-dark);
  margin: 0 0 25px 0;
}

.feedback-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.feedback-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feedback-form-group input[type="text"],
.feedback-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  background-color: var(--primary-bg);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.feedback-form-group input[type="text"]:focus,
.feedback-form-group textarea:focus {
  outline: none;
  border-color: var(--accent-bg);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.star-rating-select {
  display: flex;
  gap: 8px;
  font-size: 1.8rem;
  color: var(--accent-bg);
  cursor: pointer;
  margin-bottom: 5px;
}

.star-select-item {
  transition: transform 0.2s ease;
}

.star-select-item:hover {
  transform: scale(1.15);
}

.btn-submit-feedback {
  background-color: var(--accent-bg);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: 10px;
  font-family: var(--font-family);
}

.btn-submit-feedback:hover {
  background-color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 24, 22, 0.3);
}

.feedback-success-card {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.success-icon-wrap {
  font-size: 3.5rem;
  color: #2ec4b6;
  animation: scaleUpIcon 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.feedback-success-card h4 {
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
}

.feedback-success-card p {
  color: var(--text-muted-dark);
  margin: 0;
}

@keyframes scaleUpIcon {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* ==========================================================================
   CHAT WIDGET SYSTEM
   ========================================================================== */
.chat-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Auto-Greet Bubble */
.auto-greet-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(26, 24, 22, 0.96);
  border: 1px solid var(--accent-bg);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  animation: greetSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transition: opacity 0.4s ease;
  max-width: 260px;
}
.auto-greet-bubble:hover {
  border-color: #fff;
  box-shadow: 0 10px 35px rgba(197, 168, 128, 0.3);
}
.auto-greet-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  font-family: var(--font-family);
}
.auto-greet-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.auto-greet-close:hover { color: #fff; }
@keyframes greetSlideIn {
  from { opacity: 0; transform: translateY(15px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating Toggle Button */
.chat-toggle-btn {
  background-color: rgba(30, 26, 23, 0.95);
  border: 1px solid var(--accent-bg);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}
.chat-toggle-btn:hover {
  background-color: #26211d;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}
.chat-btn-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  background-color: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-btn-avatar-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background-color: #5cb85c;
  border: 2px solid rgba(30, 26, 23, 0.95);
  border-radius: 50%;
}
.chat-btn-icon {
  color: var(--dark-bg);
  font-size: 14px;
}
.chat-btn-text {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Chat Dialog Panel */
.chat-panel-card {
  width: 400px;
  height: 600px;
  background-color: rgba(20, 18, 16, 0.95);
  backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  bottom: 70px;
  right: 0;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}
.chat-panel-card.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.chat-header {
  background-color: rgba(30, 26, 23, 0.85);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}
.chat-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar-wrapper {
  position: relative;
}
.chat-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #5cb85c;
  border: 2px solid rgba(30, 26, 23, 1);
  border-radius: 50%;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--accent-bg);
  color: var(--dark-bg);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-header-info {
  display: flex;
  flex-direction: column;
}
.chat-agent-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.chat-agent-role {
  font-size: 11px;
  color: var(--text-muted);
}
.chat-header-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s ease;
}
.chat-header-btn:hover {
  color: var(--accent-bg);
}

/* Body / Message List */
.chat-messages-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Message Bubbles */
.message-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  animation: messageSlideIn 0.25s ease-out forwards;
}

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

.message-bubble.user {
  background-color: var(--accent-bg);
  color: var(--dark-bg);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.message-bubble.assistant {
  background-color: rgba(30, 26, 23, 0.95);
  color: #fff;
  border: 1px solid var(--border-light);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.message-bubble.system {
  background-color: rgba(212, 175, 55, 0.08);
  border: 1px dashed var(--accent-bg);
  color: #fff;
  max-width: 95%;
  align-self: center;
  border-radius: 8px;
  font-size: 12.5px;
  text-align: center;
}

/* Attachment preview inside bubble */
.bubble-img-attachment {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Recommended Door Card Media Styling */
.door-card-media {
  display: block;
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 10px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.door-card-media:hover {
  border-color: var(--accent-bg);
  transform: scale(1.01);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  align-self: flex-start;
}
.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Attachment Preview Bar */
.attachment-preview-bar {
  background-color: rgba(30, 26, 23, 0.95);
  border-top: 1px solid var(--border-light);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.preview-thumbnail-container {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  border: 1px solid var(--accent-bg);
  overflow: hidden;
}
.preview-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.remove-preview-btn {
  position: absolute;
  top: -2px;
  right: -2px;
  background: transparent;
  border: none;
  color: #ff5e5b;
  font-size: 16px;
  cursor: pointer;
  background-color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-filename {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Footer / Input Container */
.chat-input-footer {
  background-color: rgba(30, 26, 23, 0.85);
  border-top: 1px solid var(--border-light);
  padding: 12px 16px;
}
.chat-input-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(10, 9, 8, 0.85);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 4px 6px 4px 14px;
}
.chat-input-controls input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-family);
  font-size: 13px;
  padding: 8px 0;
}
.chat-input-controls input:focus {
  outline: none;
}
.chat-media-btn {
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
}
.chat-media-btn:hover {
  color: var(--accent-bg);
}
.chat-send-action {
  background-color: var(--accent-bg);
  border: none;
  color: var(--dark-bg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.chat-send-action:hover {
  background-color: var(--accent-hover, #b8924d);
  transform: scale(1.05);
}
.hidden-input {
  display: none !important;
}

/* Handoff Lock Overlay */
.handoff-overlay-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 12, 10, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  animation: overlayFadeIn 0.3s ease-out;
}

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

.handoff-card-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
}
.handoff-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 32px;
  color: var(--accent-bg);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.handoff-title {
  font-family: var(--font-family);
  font-size: 22px;
  margin-bottom: 12px;
}
.handoff-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 25px;
}
.handoff-details-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-bg);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.btn-restart-chat {
  background-color: transparent;
  border: 1px solid var(--accent-bg);
  color: var(--accent-bg);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-restart-chat:hover {
  background-color: var(--accent-bg);
  color: var(--dark-bg);
}

/* Helpers */
.hidden {
  display: none !important;
}

/* Responsive Scaling */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }
  .hero-visual {
    order: -1;
  }
  .craftsmanship-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .craftsmanship-visual {
    order: -1;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 38px;
  }
  .nav-links {
    display: none;
  }
  .chat-panel-card {
    width: calc(100vw - 40px);
    right: -10px;
    height: 520px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

