/*
Theme Name: Mata Manakamana Ultra 3D
Description: Advanced UI with High-Contrast Color Correction
Version: 3.0
*/

:root {
  /* High Visibility Palette */
  --primary: #1e40af;       /* Deep Medical Blue */
  --accent: #3b82f6;        /* Bright Action Blue */
  --text-dark: #0f172a;     /* High Contrast Slate */
  --text-muted: #475569;    /* Readable Grey */
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(226, 232, 240, 0.8);
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: #f8fafc; 
    color: var(--text-dark); 
}

/* 3D Depth Engine */
.perspective-2000 { perspective: 2000px; }
.transform-3d { transform-style: preserve-3d; }

.box-3d {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  background: white;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.box-3d:hover {
  transform: rotateX(4deg) rotateY(-4deg) translateY(-12px);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
  border-color: var(--accent);
}

/* Button UI Upgrade */
.btn-luxury {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 15px 30px -10px rgba(59, 130, 246, 0.5);
}

/* Section Titles Visibility */
.section-title {
    color: var(--text-dark);
    text-decoration-color: var(--accent) !important;
}
/* Visibility & Mobile Adjustments */
@media (max-width: 1024px) {
  .perspective-2000 { perspective: none !important; } /* Disable 3D tilt on mobile for better touch performance */
  .box-3d { transform: none !important; margin-bottom: 2rem; }
  h2 { font-size: 2.5rem !important; line-height: 1.2 !important; }
}

/* Force Visibility for Section Titles */
h2.underline {
  color: #0f172a !important; /* Deep Slate */
  text-decoration-thickness: 6px !important;
  text-underline-offset: 12px;
}

/* Mobile-Friendly Cards */
.box-3d {
  background: #ffffff;
  border: 1.5px solid #e2e8f0; /* Thicker border for better visibility */
  border-radius: 2rem;
}

/* Visibility & Mobile Adjustments */
@media (max-width: 1024px) {
  .perspective-2000 { perspective: none !important; } /* Disable 3D tilt on mobile for better touch performance */
  .box-3d { transform: none !important; margin-bottom: 2rem; }
  h2 { font-size: 2.5rem !important; line-height: 1.2 !important; }
}

/* Force Visibility for Section Titles */
h2.underline {
  color: #0f172a !important; /* Deep Slate */
  text-decoration-thickness: 6px !important;
  text-underline-offset: 12px;
}

/* Mobile-Friendly Cards */
.box-3d {
  background: #ffffff;
  border: 1.5px solid #e2e8f0; /* Thicker border for better visibility */
  border-radius: 2rem;
}