/* ==========================================================================
   NERALU KADIRI THEME (FOREST CHARCOAL & VIBRANT CRIMSON)
   Primary Base:      #252923 (Forest Charcoal)
   Accent Tone:       #B03031 (Kadiri Red)
   Secondary Accent:  #9CB495 (Sage Light)
   Canvas Light:      #F9F8F5 (Warm Ivory)
   Card Base:         #EBE6DF (Sand Beige)
   ========================================================================== */

:root {
  --kadiri-red: #B03031;
  --sage-light: #9CB495;
  --forest-charcoal: #252923;
  --warm-ivory: #F9F8F5;
  --sand-beige: #EBE6DF;
}

/* 0. GLOBAL BODY COLORS */
body.theme-kadiri {
  background-color: var(--warm-ivory) !important;
  color: var(--forest-charcoal) !important;
}

.theme-kadiri .pd-overview-story, 
.theme-kadiri .pd-location-advantage, 
.theme-kadiri .project-spec-section, 
.theme-kadiri .contacts-section {
  background: var(--warm-ivory) !important;
}

/* 1. STORY CONTENT */
.theme-kadiri .pd-story-title,
.theme-kadiri .pd-story-title span { color: var(--forest-charcoal) !important; }
.theme-kadiri .pd-story-divider { background: var(--kadiri-red) !important; }
.theme-kadiri .pd-story-image-main:after { border-color: var(--forest-charcoal) !important; }

/* 2. LOCATION ADVANTAGE */
.theme-kadiri .pd-location-title,
.theme-kadiri .pd-location-title span { color: var(--forest-charcoal) !important; }
.theme-kadiri .pd-location-list:before { background: linear-gradient(var(--forest-charcoal), transparent) !important; }
.theme-kadiri .pd-location-icon { border-color: var(--forest-charcoal) !important; color: var(--forest-charcoal) !important; background: var(--warm-ivory) !important;}
.theme-kadiri .pd-location-item:hover .pd-location-icon { background: var(--kadiri-red) !important; color: var(--warm-ivory) !important; box-shadow: 0 10px 24px rgba(176, 48, 49, 0.35) !important; border-color: var(--kadiri-red) !important; }
.theme-kadiri .pd-location-btn { background: var(--kadiri-red) !important; box-shadow: 0 12px 28px rgba(176, 48, 49, 0.28) !important; color: var(--warm-ivory) !important;}
.theme-kadiri .pd-location-btn:hover { color: var(--warm-ivory) !important; background: var(--forest-charcoal) !important; }

/* 3. PROJECT SPECIFICATIONS */
.theme-kadiri .project-layout-badge { color: var(--forest-charcoal) !important; background-color: var(--sand-beige) !important;}
.theme-kadiri .spec-title span { color: var(--kadiri-red) !important; }
.theme-kadiri .spec-icon { color: var(--forest-charcoal) !important; background: var(--sand-beige) !important;}
.theme-kadiri .spec-item:hover .spec-icon { background-color: var(--kadiri-red) !important; color: var(--warm-ivory) !important; transform: scale(1.05) !important; }
.theme-kadiri .spec-item { background: var(--warm-ivory) !important; border-color: rgba(37, 41, 35, 0.08) !important; }
.theme-kadiri .spec-item:hover { border-color: var(--sage-light) !important; background: #ffffff !important; transform: translateX(10px) !important; }
.theme-kadiri .spec-info strong { color: var(--forest-charcoal) !important; }
.theme-kadiri .spec-download-btn { background: var(--kadiri-red) !important; color: var(--warm-ivory) !important; }
.theme-kadiri .spec-download-btn:hover { background: var(--forest-charcoal) !important; box-shadow: 0 10px 25px rgba(37, 41, 35, 0.2) !important; transform: translateY(-3px) !important;}

/* 4. MODALS & FORMS */
.theme-kadiri .lead-form-modal,
.theme-kadiri .pd-masterplan-modal { background: rgba(37, 41, 35, 0.95) !important; }
.theme-kadiri .modal-content { background: var(--warm-ivory) !important; }
.theme-kadiri .close-modal { color: var(--forest-charcoal) !important; }
.theme-kadiri .pd-masterplan-close { background-color: var(--kadiri-red) !important; border-color: var(--kadiri-red) !important; color: var(--warm-ivory) !important;}
.theme-kadiri .pd-masterplan-close:hover { background-color: var(--warm-ivory) !important; border-color: var(--warm-ivory) !important; color: var(--forest-charcoal) !important; }
.theme-kadiri .modal-content h3 { color: var(--forest-charcoal) !important; }
.theme-kadiri .lead-generation-form input { color: var(--forest-charcoal) !important; background-color: var(--sand-beige) !important;}
.theme-kadiri .lead-generation-form input:focus { border-color: var(--sage-light) !important; box-shadow: 0 5px 15px rgba(156, 180, 149, 0.2) !important; background-color: #ffffff !important;}
.theme-kadiri .btn-submit { background: var(--kadiri-red) !important; color: var(--warm-ivory) !important;}
.theme-kadiri .btn-submit:hover { background: var(--forest-charcoal) !important; }
.theme-kadiri #thankYouMessage i { color: var(--sage-light) !important; }

/* 5. VIRTUAL TOUR */
.theme-kadiri .pd-virtual-tour { background-color: var(--warm-ivory) !important; }
.theme-kadiri .pd-virtual-tour .pd-title { color: var(--forest-charcoal) !important; }
.theme-kadiri .pd-virtual-tour .pd-title span { color: var(--kadiri-red) !important; }

/* 6. AMENITIES SECTION OVERRIDES */
.theme-kadiri .amenity-badges-section { background-color: var(--warm-ivory) !important; }
.theme-kadiri .section-title-amenities span { color: var(--kadiri-red) !important; }
.theme-kadiri .section-title-amenities { color: var(--forest-charcoal) !important; }
.theme-kadiri .amenity-badge { background: var(--warm-ivory) !important; border-color: rgba(37, 41, 35, 0.08) !important;}
.theme-kadiri .amenity-badge:hover { border-color: var(--sage-light) !important; }
.theme-kadiri .ab-icon { background: var(--sand-beige) !important; color: var(--forest-charcoal) !important; }
.theme-kadiri .amenity-badge:hover .ab-icon { background: var(--kadiri-red) !important; color: var(--warm-ivory) !important; }
.theme-kadiri .ab-content h3 { color: var(--forest-charcoal) !important; }

/* 7. WOOD TEXTURE BACKGROUNDS (HIGHLIGHTS & SITE VISIT) */
.theme-kadiri .project-detail-custom.pd-highlights,
.theme-kadiri .project-detail-custom.pd-sitevisit {
  background-color: var(--forest-charcoal) !important;
  background-image:
    radial-gradient(circle at center, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(to right, rgba(37, 41, 35, 0.85), rgba(37, 41, 35, 0.95)),
    url('../img/wood-texture.webp') !important;
  background-blend-mode: multiply, multiply, normal !important;
  border-top: 4px solid var(--kadiri-red) !important;
  border-bottom: 4px solid var(--kadiri-red) !important;
}

/* 8. TEXT HIGHLIGHTS ON WOOD */
.theme-kadiri .project-detail-custom.pd-highlights .pd-title,
.theme-kadiri .project-detail-custom.pd-sitevisit .pd-sitevisit-title {
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8) !important;
  background: none !important;
  -webkit-text-fill-color: var(--warm-ivory) !important;
  color: var(--warm-ivory) !important;
}
.theme-kadiri .pd-highlight-box { background: rgba(235, 230, 223, 0.08) !important; border-color: rgba(156, 180, 149, 0.3) !important;}
.theme-kadiri .pd-highlight-box h3 {
  color: var(--kadiri-red) !important;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9) !important;
}
.theme-kadiri .pd-highlight-box p {
  color: var(--warm-ivory) !important;
}

/* 9. SITE VISIT TEXT & STRIP */
.theme-kadiri .pd-sitevisit-text { color: var(--warm-ivory) !important; }
.theme-kadiri .trust-strip { border-top: 1px solid rgba(156, 180, 149, 0.3) !important; border-bottom: 1px solid rgba(156, 180, 149, 0.3) !important; }
.theme-kadiri .trust-item { color: var(--sage-light) !important; }

/* 10. PREMIUM SITE VISIT BUTTON */
.theme-kadiri .pd-sitevisit-btn {
  background: var(--kadiri-red) !important;
  color: var(--warm-ivory) !important;
  border: 2px solid var(--kadiri-red) !important;
  box-shadow: 0 0 0 3px rgba(176, 48, 49, 0.4), 0 10px 20px rgba(0, 0, 0, 0.5) !important;
  animation: none !important; /* Replacing gold pulse with elegant hover */
}
.theme-kadiri .pd-sitevisit-btn:hover {
  background: var(--forest-charcoal) !important;
  box-shadow: 0 0 0 3px rgba(156, 180, 149, 0.7), 0 12px 25px rgba(0, 0, 0, 0.6) !important;
  color: var(--warm-ivory) !important;
  border-color: var(--sage-light) !important;
}

/* 11. 3D GALLERY */
.theme-kadiri .pd-3d-gallery-container { background: var(--sand-beige) !important; }
.theme-kadiri .pd-3d-gallery-container .gallery-header h2 { color: var(--forest-charcoal) !important; }
.theme-kadiri .pd-3d-gallery-container .gallery-header p { color: var(--kadiri-red) !important; font-weight: 700 !important; }
.theme-kadiri .pd-3d-item { background: var(--warm-ivory) !important; border-color: var(--warm-ivory) !important;}

/* 12. NEXT PROJECT BRIDGE */
body.theme-kadiri .luxury-bridge-simple {
  background-color: var(--forest-charcoal) !important; 
}
body.theme-kadiri .luxury-bridge-simple::before,
body.theme-kadiri .luxury-bridge-simple::after {
  background: var(--kadiri-red) !important; 
}
body.theme-kadiri .lb-kicker-simple {
  color: var(--sage-light) !important; 
}
body.theme-kadiri .lb-title-simple {
  color: var(--warm-ivory) !important; 
}
body.theme-kadiri .lb-solid-btn {
  background-color: var(--kadiri-red) !important; 
  color: var(--warm-ivory) !important; 
  animation: none !important;
}
body.theme-kadiri .lb-solid-btn:hover {
  background-color: var(--warm-ivory) !important; 
  color: var(--forest-charcoal) !important;
}

/* 13. PROJECT SPECIFICATIONS (BEAUTIFIED 1x4 VERTICAL LIST) */
.theme-kadiri .spec-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 15px !important;
  margin-bottom: 40px !important;
}

@media (min-width: 992px) {
  .theme-kadiri .masterplan-image-wrapper { height: 560px !important; }
  .theme-kadiri .spec-grid { gap: 28px !important; margin-bottom: 0 !important; }
  .theme-kadiri .spec-item { padding: 14px 20px !important; }
}

.theme-kadiri .spec-footer {
  margin-top: 35px !important;
  display: block !important;
}

.theme-kadiri .plan-overlay {
  background: rgba(176, 48, 49, 0.85) !important; /* Kadiri Red Overlay */
  color: var(--warm-ivory) !important; 
}

.theme-kadiri .plan-overlay i,
.theme-kadiri .plan-overlay span {
  color: var(--warm-ivory) !important; 
}