/* ==========================================================================
   Modern Furniture — Inner Pages (pages.css)
   Shop, Contact, and Collections Row & Column Layouts (Enhanced Typography)
   ========================================================================== */

/* ==========================================================================
   Page Hero Banner
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-color: #2b2520;
  color: #ffffff;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(22, 17, 13, 0.92) 0%,
      rgba(22, 17, 13, 0.78) 45%,
      rgba(22, 17, 13, 0.45) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 68px 0;
}

.page-hero .eyebrow {
  color: var(--accent);
  font-size: 13.5px;
}

.page-hero h1 {
  font-size: 48px;
  color: #ffffff;
  margin: 14px 0 16px;
  line-height: 1.2;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 22px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a {
  color: #ffffff;
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 300px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 15px;
  }
}

/* ==========================================================================
   Shop Catalog Section (Row & Columns)
   ========================================================================== */

.shop-catalog-section {
  padding: 76px 0 100px;
  background-color: var(--bg-page);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.shop-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-filter-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.shop-filter-btn:hover,
.shop-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.shop-tools-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.shop-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background-color: #ffffff;
}

.shop-search-box svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  stroke-width: 2;
}

.shop-search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  width: 200px;
}

.shop-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
}

.shop-sort-box select {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.shop-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--muted);
}

.shop-results-bar strong {
  color: var(--ink);
}

/* 4-Column Product Grid for Shop */
.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.catalog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  background-color: #ffffff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--muted);
}

.catalog-empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--primary);
  stroke-width: 1.5;
}

.catalog-empty-state h3 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.catalog-empty-state p {
  font-size: 15px;
  margin-bottom: 22px;
}

@media (max-width: 1100px) {
  .catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .shop-catalog-section {
    padding: 50px 0 68px;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-tools-right {
    justify-content: space-between;
  }

  .shop-search-box {
    flex: 1;
  }
}

@media (max-width: 500px) {
  .catalog-product-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Collections Page Styles (Row of 3 Columns)
   ========================================================================== */

.collections-page-section {
  padding: 76px 0 100px;
  background-color: var(--bg-page);
}

.collections-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.collection-item-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.collection-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.collection-item-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.collection-item-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(22, 17, 13, 0.1) 0%,
      rgba(22, 17, 13, 0.45) 50%,
      rgba(22, 17, 13, 0.9) 100%);
}

.collection-item-copy {
  position: relative;
  z-index: 2;
  padding: 34px 30px;
  color: #ffffff;
}

.collection-item-copy small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.collection-item-copy h3 {
  font-size: 26px;
  color: #ffffff;
  margin: 0 0 10px;
}

.collection-item-copy p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
}

@media (max-width: 980px) {
  .collections-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 580px) {
  .collections-catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact Page Styles (Row of 2 Columns & 4-Card Highlights)
   ========================================================================== */

.contact-page-section {
  padding: 60px 0 96px;
  background-color: var(--bg-page);
}

/* 4-Card Contact Channels Row */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.contact-card-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbbaa8;
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  margin-bottom: 18px;
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.contact-card-item h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.contact-card-item p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}

.contact-card-item a.action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  transition: gap var(--transition);
}

.contact-card-item a.action-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}

.contact-card-item a.action-link svg {
  width: 15px;
  height: 15px;
}

/* 2-Column Main Contact Row */
.contact-main-row {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
}

.contact-form-card {
  padding: 44px 40px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-enquiry-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.contact-enquiry-header .eyebrow {
  margin-bottom: 4px;
}

.contact-enquiry-header h2 {
  font-size: 34px;
  margin: 8px 0 10px;
  color: var(--ink);
}

.contact-enquiry-header p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

.form-group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  margin: 18px 0 6px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
}

.form-note-box {
  grid-column: 1 / -1;
  background-color: var(--primary-subtle);
  border: 1px solid rgba(101, 55, 26, 0.18);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--primary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
  line-height: 1.5;
}

.form-note-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-note-box a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.form-note-box a:hover {
  color: var(--primary-hover);
}

.contact-form-card .form-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-form-card .form-submit-row .btn {
  flex: 1 1 220px;
  width: auto;
}

.form-field .field-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}

.form-trust-notes {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.form-trust-notes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-trust-notes svg {
  width: 16px;
  height: 16px;
  color: var(--forest);
}

/* Showroom Location Details Card */
.contact-info-card {
  padding: 42px 38px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.contact-info-card h2 {
  font-size: 32px;
  margin: 10px 0 14px;
}

.contact-info-card>p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-subtle);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-channel-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.contact-channel-details strong {
  display: block;
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 4px;
}

.contact-channel-details span,
.contact-channel-details a {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

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

.contact-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* Embedded Google Maps Container */
.map-embed-wrapper {
  /* margin-top: auto; */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  background-color: #e8ded2;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
}

.map-embed-caption {
  padding: 10px 14px;
  background-color: var(--bg-subtle);
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-embed-caption a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   The Showroom Experience Section (contact.html)
   ========================================================================== */
.showroom-exp-section {
  padding: 88px 0;
  background: linear-gradient(135deg, #f8f3ec 0%, #ede3d4 100%);
  border-block: 1px solid var(--border);
}

.showroom-exp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 38px;
}

.showroom-exp-card {
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.showroom-exp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbbaa8;
}

.showroom-exp-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-subtle);
  color: var(--primary);
  margin-bottom: 18px;
}

.showroom-exp-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.showroom-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: var(--bg-subtle);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.showroom-exp-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.showroom-exp-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  flex-grow: 1;
}

.showroom-card-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}

.showroom-card-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
}

.showroom-card-perks li::before {
  content: '✓';
  color: var(--forest);
  font-weight: 700;
  font-size: 13px;
}

.showroom-card-perks li:last-child {
  margin-bottom: 0;
}

/* Showroom Amenities Bar */
.showroom-amenities-banner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  background-color: #ffffff;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  margin-bottom: 32px;
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.amenity-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.amenity-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 3px;
}

.amenity-item span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* Showroom CTA Strip */
.showroom-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 28px 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.showroom-cta-text h3 {
  color: #ffffff;
  font-size: 22px;
  margin: 0 0 6px;
}

.showroom-cta-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  max-width: 620px;
}

.showroom-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.showroom-cta-actions .btn {
  white-space: nowrap;
}

.showroom-cta-actions .btn-light {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.showroom-cta-actions .btn-light:hover {
  background-color: var(--bg-page);
  color: var(--primary-hover);
}

/* ==========================================================================
   Gallery Page Styles (gallery.html)
   ========================================================================== */
.gallery-page-section {
  padding: 60px 0 96px;
  background-color: var(--bg-page);
}

/* Gallery Filter Bar */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  background-color: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 3px rgba(35, 30, 26, 0.04);
}

.gallery-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(101, 55, 26, 0.28);
}

.gallery-counter-info {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 24px;
}

/* Responsive Gallery Grid (Row-Col) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbbaa8;
}

.gallery-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e9e3dc;
}

.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background-color: rgba(35, 30, 26, 0.85);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.gallery-card-zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--transition);
}

.gallery-card:hover .gallery-card-zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery-card-zoom svg {
  width: 18px;
  height: 18px;
}

.gallery-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-category {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gallery-card-title {
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.35;
}

.gallery-card-meta {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 14px;
  flex-grow: 1;
}

.gallery-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
}

.gallery-card-action svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition);
}

.gallery-card:hover .gallery-card-action svg {
  transform: translateX(4px);
}

/* Lightbox Modal (Pure Image Lightbox) */
.gallery-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(12, 9, 6, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}

.gallery-modal-overlay.active {
  display: flex;
}

.gallery-modal-box {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  cursor: default;
  animation: galleryZoomIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes galleryZoomIn {
  from {
    opacity: 0;
    transform: scale(0.93);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-modal-box img {
  max-width: 90vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.gallery-modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10001;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery-modal-close:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg) scale(1.08);
}

.gallery-modal-close svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

/* Contact FAQ Section */
.contact-faq-section {
  padding: 80px 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.faq-grid-row-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-card-item {
  padding: 30px 28px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-card-item h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-card-item h3 svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-card-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1100px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showroom-exp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showroom-amenities-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .contact-main-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-grid-row-col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gallery-modal-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .gallery-modal-close svg {
    width: 20px;
    height: 20px;
  }

  .gallery-modal-box {
    max-width: 95vw;
    max-height: 84vh;
  }

  .gallery-modal-box img {
    max-width: 95vw;
    max-height: 82vh;
  }

  .showroom-cta-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .showroom-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .showroom-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 28px 20px;
  }

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

  .showroom-exp-grid {
    grid-template-columns: 1fr;
  }

  .showroom-amenities-banner {
    grid-template-columns: 1fr;
    padding: 20px 18px;
  }
}

/* ==========================================================================
   Enquiry Success Confirmation Modal (contact.html)
   ========================================================================== */
.enquiry-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(28, 25, 23, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.enquiry-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border, #e5ded5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  max-width: 540px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  text-align: center;
  animation: enquiryModalAnim 0.28s ease-out;
}

@keyframes enquiryModalAnim {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.enquiry-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f2ee;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background-color 0.2s, color 0.2s;
}

.enquiry-modal-close:hover {
  background: #e8dfd8;
  color: #111;
}

.enquiry-modal-close svg {
  width: 20px;
  height: 20px;
}

.enquiry-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: rgba(45, 106, 79, 0.12);
  color: #2d6a4f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.enquiry-success-icon svg {
  width: 38px;
  height: 38px;
}

.enquiry-modal-badge {
  display: inline-block;
  background: rgba(45, 106, 79, 0.12);
  color: #2d6a4f;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.enquiry-modal-card h3 {
  font-size: 24px;
  color: var(--ink, #201a15);
  margin: 4px 0 10px;
}

.enquiry-modal-card p {
  font-size: 14.5px;
  color: var(--muted, #6c635b);
  line-height: 1.55;
  margin: 0 0 12px;
}

.enquiry-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.enquiry-modal-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   Gallery Video Showcase Section (gallery.html)
   ========================================================================== */
.gallery-video-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-light, #eae3db);
  margin-top: 50px;
}

.gallery-video-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.gallery-video-header .eyebrow {
  margin-bottom: 6px;
}

.gallery-video-header h2 {
  font-size: 34px;
  color: var(--ink, #201a15);
  margin: 6px 0 12px;
}

.gallery-video-header p {
  color: var(--muted, #6c635b);
  font-size: 16px;
  line-height: 1.6;
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-video-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border, #e5ded5);
  box-shadow: var(--shadow-sm, 0 4px 12px rgba(0, 0, 0, 0.06));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 12px 30px rgba(0, 0, 0, 0.12));
}

.gallery-video-frame {
  position: relative;
  width: 100%;
  background: #0d0d0d;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-video-caption {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-video-caption .video-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary, #8b4513);
  background: var(--primary-subtle, #f5efe8);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.gallery-video-caption h3 {
  font-size: 17.5px;
  color: var(--ink, #201a15);
  margin: 0 0 8px;
  line-height: 1.35;
}

.gallery-video-caption p {
  font-size: 13.5px;
  color: var(--muted, #6c635b);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .gallery-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-video-grid {
    grid-template-columns: 1fr;
  }
}