/* ==========================================================================
   THEME STYLES - النائب محمد رجب عبدالعظيم
   Official Parliamentary Portfolio & Citizen Services Platform
   ========================================================================== */

/* --- Reset & Global --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-dark-deep);
  color: #E8E0D5;
  line-height: 1.8;
  overflow-x: hidden;
}

body.light-mode-page {
  background-color: var(--bg-light-body);
  color: var(--text-light-body);
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--gold-bright);
}

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

/* --- Container & Grid --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding: 90px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* --- Typography Utilities --- */
.font-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--gold-primary) !important;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.35;
}

body.light-mode-page .section-title {
  color: var(--text-light-heading);
}

.section-desc {
  font-size: 1.1rem;
  color: #B5A89A;
  max-width: 680px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

body.light-mode-page .section-desc {
  color: var(--text-light-muted);
}

/* --- Buttons & UI Elements --- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #140F0B !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.35);
  transition: var(--transition-smooth);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
  color: #0C0A08 !important;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--gold-bright) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1.5px solid var(--gold-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(20, 15, 11, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold-subtle);
  transition: var(--transition-smooth);
}

body.light-mode-page .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light-subtle);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
  object-fit: cover;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

body.light-mode-page .brand-title {
  color: var(--text-light-heading);
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 500;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: #D1C7BB;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

body.light-mode-page .nav-link {
  color: var(--text-light-body);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-bright);
}

body.light-mode-page .nav-link:hover, body.light-mode-page .nav-link.active {
  color: var(--gold-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-light);
  font-size: 1.5rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #140F0B;
  border-left: 1px solid var(--border-gold-subtle);
  padding: 30px 24px;
  z-index: 1050;
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.7);
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-close {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-size: 1.8rem;
  cursor: pointer;
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #E8E0D5;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Hero Section (Homepage Luxury) --- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 30%, #251B13 0%, #16100B 55%, #0C0A08 100%);
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border-gold-subtle);
  overflow: hidden;
}

.hero-bg-ornament {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 50px;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-parliament {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-bright);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-calligraphy-img {
  max-width: 440px;
  width: 100%;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

@media (max-width: 992px) {
  .hero-calligraphy-img {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-role-title {
  font-size: 1.35rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-slogan-box {
  background: rgba(37, 27, 19, 0.6);
  border-right: 4px solid var(--gold-primary);
  padding: 14px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 26px;
  font-size: 1.2rem;
  color: #F5EFE6;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 992px) {
  .hero-slogan-box {
    border-right: none;
    border-top: 3px solid var(--gold-primary);
    border-radius: var(--radius-sm);
  }
}

.hero-district-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

@media (max-width: 992px) {
  .hero-district-info {
    justify-content: center;
  }
}

.district-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  color: #DDD4C8;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 992px) {
  .hero-cta-group {
    justify-content: center;
  }
}

/* Hero Portrait Visual */
.hero-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-frame-container {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.portrait-glow-ring {
  position: absolute;
  inset: -10px;
  border-radius: var(--radius-lg);
  background: var(--gold-gradient);
  opacity: 0.25;
  filter: blur(15px);
  z-index: 1;
}

.portrait-main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-gold-subtle);
  box-shadow: var(--shadow-card-dark);
  background: #140F0B;
}

.official-seal-floating {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 3;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  background: #140F0B;
}

@media (max-width: 768px) {
  .official-seal-floating {
    width: 90px;
    height: 90px;
    bottom: -10px;
    left: -10px;
  }
}

/* --- Highlights & Quick Services Banner --- */
.quick-services-bar {
  background: #1A130D;
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 24px 0;
}

.services-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .services-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(37, 27, 19, 0.45);
  border: 1px solid rgba(197, 160, 89, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition-smooth);
  color: #EDE5DA;
}

.service-quick-card:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  color: #FFFFFF;
}

.quick-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(197, 160, 89, 0.18);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.quick-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.quick-card-subtitle {
  font-size: 0.8rem;
  color: #A89B8D;
}

/* --- Parliamentary Mission & About Section --- */
.about-preview-section {
  background: #140F0B;
  border-bottom: 1px solid var(--border-gold-subtle);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 992px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
  }
}

.about-badge-card {
  position: relative;
  text-align: center;
}

.about-circle-img {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid var(--gold-primary);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.about-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.about-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(37, 27, 19, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.detail-bullet {
  color: var(--gold-primary);
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 4px;
}

.detail-label {
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.detail-text {
  font-size: 0.95rem;
  color: #B8ADA0;
}

/* --- News & Official Statements Section --- */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .news-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.news-card {
  background: #1C140E;
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

body.light-mode-page .news-card {
  background: #FFFFFF;
  border-color: var(--border-light-subtle);
  box-shadow: var(--shadow-card);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.news-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #140F0B;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-gradient);
  color: #140F0B;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 50px;
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-date {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.light-mode-page .news-card-date {
  color: var(--gold-dark);
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 12px;
}

body.light-mode-page .news-card-title {
  color: var(--text-light-heading);
}

.news-card-excerpt {
  font-size: 0.95rem;
  color: #ADA092;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

body.light-mode-page .news-card-excerpt {
  color: var(--text-light-muted);
}

.news-card-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.light-mode-page .news-card-link {
  color: var(--gold-dark);
}

/* --- Parliamentary Activity Highlights --- */
.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.activity-card {
  display: flex;
  gap: 24px;
  background: #1C140E;
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

body.light-mode-page .activity-card {
  background: #FFFFFF;
  border-color: var(--border-light-subtle);
}

.activity-card:hover {
  border-color: var(--gold-primary);
  transform: translateX(-4px);
}

.activity-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.activity-content {
  flex-grow: 1;
}

.activity-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.activity-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

body.light-mode-page .activity-title {
  color: var(--text-light-heading);
}

.activity-desc {
  font-size: 0.98rem;
  color: #B8ADA0;
  line-height: 1.65;
}

body.light-mode-page .activity-desc {
  color: var(--text-light-muted);
}

/* --- Citizen Services Banner (Hotline & Fast Track) --- */
.citizen-cta-banner {
  background: linear-gradient(135deg, #251B13 0%, #16100B 100%);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

@media (max-width: 992px) {
  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }
}

.hotline-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(197, 160, 89, 0.15);
  border: 1.5px solid var(--gold-primary);
  padding: 10px 24px;
  border-radius: 50px;
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 700;
  direction: ltr;
}

/* --- Light Mode Inner Pages Styling --- */
.page-hero-light {
  background: linear-gradient(180deg, #F4EFE6 0%, #FAF8F5 100%);
  border-bottom: 1px solid var(--border-light-subtle);
  padding: 60px 0 45px;
  text-align: center;
}

.page-hero-light .page-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-light-heading);
  margin-bottom: 12px;
}

.page-hero-light .page-subtitle {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  max-width: 650px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--gold-dark);
}

/* --- Citizen Portal Form System --- */
.citizen-portal-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .citizen-portal-wrap {
    padding: 24px 18px;
  }
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 768px) {
  .form-group-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.form-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-light-heading);
}

.form-label .required {
  color: #D32F2F;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--font-arabic);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border-light-subtle);
  border-radius: var(--radius-sm);
  background: #FAFAFA;
  color: var(--text-light-heading);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.15);
}

.form-helper {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-light-body);
  cursor: pointer;
  margin-bottom: 24px;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  margin-top: 4px;
}

/* Notice Disclaimers */
.portal-disclaimer-box {
  background: #FDF8ED;
  border-right: 4px solid var(--gold-primary);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
  font-size: 0.95rem;
  color: #6E531C;
  line-height: 1.6;
}

/* Tracking Page Components */
.tracking-search-card {
  max-width: 650px;
  margin: 0 auto 50px;
  background: #FFFFFF;
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.tracking-timeline-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.tracking-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light-subtle);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 14px;
}

.tracking-ref-code {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-dark);
  font-family: monospace;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-received {
  background: #E3F2FD;
  color: #1565C0;
}

.status-review {
  background: #FFF8E1;
  color: #F57F17;
}

.status-progress {
  background: #EDE7F6;
  color: #512DA8;
}

.status-responded {
  background: #E8F5E9;
  color: #2E7D32;
}

.status-closed {
  background: #ECEFF1;
  color: #455A64;
}

/* Steps Progress Bar */
.tracking-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
}

.tracking-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 40px;
  left: 40px;
  height: 4px;
  background: #E0E0E0;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #9E9E9E;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.step-item.active .step-circle {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #FFFFFF;
}

.step-item.completed .step-circle {
  border-color: #2E7D32;
  background: #2E7D32;
  color: #FFFFFF;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-body);
}

/* Official Response Box */
.official-reply-card {
  background: #F4F8F4;
  border: 1.5px solid #C8E6C9;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
}

.reply-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2E7D32;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.reply-body {
  font-size: 1rem;
  color: #1C3820;
  line-height: 1.7;
}

/* --- Media Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  border: 1px solid var(--border-gold-subtle);
  background: #1C140E;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 15, 11, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
}

/* --- Footer --- */
.site-footer {
  background: #0C0A08;
  border-top: 1px solid var(--border-gold-subtle);
  padding: 70px 0 25px;
  color: #A89B8D;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

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

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

.footer-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #A89B8D;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--gold-bright);
  padding-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.social-links-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--gold-primary);
  color: #140F0B;
  transform: translateY(-2px);
}
