/* =====================================================
   ELISTAR GROUP — CONCERN PAGES SHARED STYLES
   ===================================================== */

/* ==== CONCERN IDENTITY VARIABLES ==== */
/* Each concern page overrides --concern-color in its <style> block */
:root {
  --concern-color: var(--clr-primary);
  --concern-color-lt: rgba(26,36,114,0.1);
}

/* ==== STATUS BADGES ==== */
.status-ongoing  { background: #d1fae5; color: #065f46; }
.status-upcoming { background: #fef3c7; color: #92400e; }
.status-completed { background: #dbeafe; color: #1e40af; }
.concern-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.concern-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

/* ==== CONCERN NAV ACCENT ==== */
.concern-nav-accent {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--concern-color);
  z-index: 1001;
}

/* ==== SECTION HEADER CONCERN VARIANT ==== */
.section-label-concern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--concern-color);
  margin-bottom: 1rem;
}
.section-label-concern::before {
  content: '';
  display: block;
  width: 20px; height: 3px;
  background: var(--concern-color);
  border-radius: 9999px;
}

/* ==== MASTERPLAN SECTION ==== */
.masterplan-container {
  background: var(--clr-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}
.masterplan-map {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.masterplan-placeholder {
  text-align: center;
  color: var(--clr-text-muted);
}
.masterplan-placeholder p { font-size: 0.875rem; margin-top: 0.5rem; }
.plot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  padding: 2rem;
}
.plot-item {
  background: rgba(46,168,79,0.15);
  border: 2px solid rgba(46,168,79,0.3);
  border-radius: 6px;
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e5c2e;
  transition: all 0.2s ease;
  cursor: pointer;
}
.plot-item:hover {
  background: rgba(46,168,79,0.35);
  transform: scale(1.05);
}
.plot-item.sold {
  background: rgba(229,57,53,0.12);
  border-color: rgba(229,57,53,0.3);
  color: #7f1d1d;
}
.plot-item.booked {
  background: rgba(240,165,0,0.15);
  border-color: rgba(240,165,0,0.35);
  color: #78350f;
}
.masterplan-legend {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--clr-border);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 3px;
}
.legend-available { background: rgba(46,168,79,0.3); border: 2px solid #2ea84f; }
.legend-booked    { background: rgba(240,165,0,0.3);  border: 2px solid #f0a500; }
.legend-sold      { background: rgba(229,57,53,0.2);  border: 2px solid #e53935; }

/* ==== AMENITIES GRID ==== */
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  transition: all 0.3s ease;
}
.amenity-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--concern-color);
}
.amenity-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--concern-color-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.amenity-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-text);
}

/* ==== PROGRESS TIMELINE ==== */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--concern-color) 0%, var(--clr-border) 100%);
  border-radius: 999px;
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--concern-color);
  border: 3px solid var(--clr-white);
  box-shadow: 0 0 0 3px var(--concern-color);
}
.timeline-dot.completed { background: var(--concern-color); }
.timeline-dot.upcoming  { background: var(--clr-border); box-shadow: 0 0 0 3px var(--clr-border); }
.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--concern-color);
  margin-bottom: 0.25rem;
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.25rem;
}
.timeline-desc { font-size: 0.875rem; color: var(--clr-text-muted); }

/* ==== PRODUCT TABS (Agro / F&B) ==== */
.product-tab-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.product-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-white);
  border: 2px solid var(--clr-border);
  cursor: pointer;
  transition: all 0.2s ease;
}
.product-tab:hover { border-color: var(--concern-color); color: var(--concern-color); }
.product-tab.active {
  background: var(--concern-color);
  border-color: var(--concern-color);
  color: var(--clr-white);
}
.product-panel { display: none; }
.product-panel.active { display: grid; }

/* ==== PRODUCT CARD ==== */
.product-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}
.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--clr-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.product-card-body { padding: 1.25rem; }
.product-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.4rem;
}
.product-card-desc { font-size: 0.875rem; color: var(--clr-text-muted); }

/* ==== COLLECTIONS GRID (Lifestyle) ==== */
.collection-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--clr-muted);
}
.collection-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.collection-item:hover img { transform: scale(1.07); }
.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,15,44,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.collection-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}
.collection-price { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* ==== INQUIRY FORM (B2B) ==== */
.inquiry-form-wrapper {
  background: linear-gradient(135deg, var(--clr-primary-dk), var(--clr-primary));
  border-radius: var(--r-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.inquiry-form-wrapper::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.inquiry-form-wrapper .form-control { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: white; }
.inquiry-form-wrapper .form-control::placeholder { color: rgba(255,255,255,0.4); }
.inquiry-form-wrapper .form-control:focus { border-color: var(--clr-accent); background: rgba(255,255,255,0.1); }
.inquiry-form-wrapper .form-label { color: rgba(255,255,255,0.8); }
.inquiry-form-title { font-size: 1.75rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.inquiry-form-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 2rem; }

/* ==== FLOATING VISIT BUTTON ==== */
.visit-cta {
  position: fixed;
  bottom: 8rem;
  right: 2rem;
  z-index: 900;
  background: var(--concern-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  animation: pulse 3s ease-in-out infinite;
}
.visit-cta:hover { transform: scale(1.06); }

/* ==== STAT STRIP ==== */
.stat-strip {
  background: linear-gradient(135deg, var(--clr-primary-dk), var(--clr-primary));
  border-radius: var(--r-xl);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-strip .stat-number {
  background: linear-gradient(135deg, white, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-strip .stat-label { color: rgba(255,255,255,0.6); }

/* ==== CERT BADGES ==== */
.cert-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--clr-white);
  border-radius: var(--r-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--sh-xs);
}
.cert-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--concern-color-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.cert-name { font-weight: 700; font-size: 0.9rem; color: var(--clr-text); }
.cert-org  { font-size: 0.75rem; color: var(--clr-text-muted); margin-top: 2px; }

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .inquiry-form-wrapper { padding: 2rem 1.5rem; }
  .visit-cta { right: 1rem; bottom: 7rem; }
  .plot-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
}
@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
}

/* ==== CONCERN HERO ==== */
.concern-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 75vh;
  overflow: hidden;
  padding-bottom: 5rem;
}
.concern-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 8s ease;
}
.concern-hero:hover .concern-hero-bg { transform: scale(1.03); }
.concern-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,44,0.3) 0%, rgba(8,12,36,0.88) 100%);
}
.concern-hero-content {
  position: relative;
  z-index: 2;
}
.concern-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.concern-hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* ==== CONCERN BRAND CHIP ==== */
.concern-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.concern-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  overflow: hidden;
  background: var(--clr-white) !important;
}
.concern-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.concern-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}

/* ==== PAGE HERO (non-concern inner pages) ==== */
.page-hero {
  background: linear-gradient(135deg, var(--clr-primary-dk) 0%, var(--clr-primary) 60%, #12237e 100%);
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}
.page-hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  line-height: 1.8;
}

/* ==== GALLERY GRID ==== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,15,44,0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-icon { font-size: 2.5rem; }

/* ==== FOOTER MAP MINI ==== */
.footer-map-mini {
  margin-top: 1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  height: 120px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-map-mini iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.7) grayscale(0.3);
}

/* ==== PROGRESS BAR ANIMATION ==== */
.progress-fill[data-width] { width: 0; }

/* ==== W-FULL ==== */
.w-full { width: 100%; }

@media (max-width: 900px) {
  .concern-hero { min-height: 60vh; align-items: flex-end; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .collection-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .concern-hero-title { font-size: 1.9rem; }
  .page-hero-title { font-size: 1.9rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}

