﻿/* ============================================
   CMS COMPRO — BLACK & GOLD THEME
   ============================================ */

:root {
  --gold:        #e8c35e;
  --gold-dark:   #c9a84c;
  --gold-light:  #FFF3CD;
  --black:       #2d2d2d;
  --black-soft:  #3a3a3a;
  --black-card:  #404040;
  --gray-dark:   #4a4a4a;
  --gray-mid:    #5a5a5a;
  --white:       #FFFFFF;
  --text-muted:  #999999;
}

/* ===== GLOBAL ===== */
body { font-family: 'Poppins', 'Segoe UI', sans-serif; color: #333; }
a { text-decoration: none; }
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-black-soft { background-color: var(--black-soft) !important; }
.border-gold { border-color: var(--gold) !important; }

/* ===== BUTTONS ===== */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-weight: 700;
  border: none;
  transition: all .3s;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,215,0,.4);
}
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-weight: 700;
  transition: all .3s;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== SECTION ===== */
.section-padding { padding: 80px 0; }
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--black-soft); }
.section-title span { color: var(--gold); }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; }
.gold-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 15px auto;
  border-radius: 2px;
}

/* ===== NAVBAR ===== */
.navbar-custom {
  background: var(--black) !important;
  padding: 10px 0;
  transition: all .3s;
  border-bottom: 2px solid var(--gold);
}
.navbar-custom .navbar-brand img {
  transition: height .3s;
}
.navbar-custom .navbar-brand {
  color: var(--gold) !important;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}
.navbar-custom .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: 8px 15px !important;
  transition: color .3s;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--gold) !important;
}
.navbar-toggler { border-color: var(--gold) !important; }
.navbar-toggler-icon { filter: invert(1); }

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}
.hero-title .highlight { color: var(--gold); }
.hero-subtitle { font-size: 1.3rem; color: var(--gold); font-weight: 600; }
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1.05rem; line-height: 1.8; }

/* ===== ABOUT SECTION ===== */
.about-section { background: #f8f9fa; }
.about-img-wrap { position: relative; border-radius: 10px; overflow: hidden; }
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: 10px; bottom: 10px;
  border: 3px solid var(--gold);
  border-radius: 10px;
  z-index: 0;
}
.about-img-wrap img { position: relative; z-index: 1; border-radius: 10px; }
.stat-box {
  background: var(--black-soft);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.stat-box .number { font-size: 2.5rem; font-weight: 900; color: var(--gold); }
.stat-box .label { color: var(--white); font-size: .85rem; }

/* ===== SERVICES SECTION ===== */
.services-section { background: var(--black-soft); }
.service-card {
  background: var(--black-card);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: 15px;
  padding: 35px 25px;
  transition: all .3s;
  height: 100%;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.service-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { font-size: 1.8rem; color: var(--black); }
.service-card h5 { color: var(--white); font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.service-card .btn-outline-gold { font-size: .85rem; padding: 6px 18px; }

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section { background: #f8f9fa; }
.portfolio-item { position: relative; overflow: hidden; border-radius: 10px; }
.portfolio-item img {
  width: 100%; height: 250px;
  object-fit: cover;
  transition: transform .4s;
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h6 { color: var(--white); font-weight: 700; margin-bottom: 4px; }
.portfolio-overlay span { color: var(--gold); font-size: .85rem; }
.filter-btn {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--black-soft);
  padding: 6px 20px;
  border-radius: 25px;
  font-size: .9rem;
  transition: all .3s;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--black-soft); }
.testimonial-card {
  background: var(--black-card);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
}
.testimonial-card .quote-icon { color: var(--gold); font-size: 2rem; opacity: .6; }
.testimonial-card p { color: rgba(255,255,255,.85); font-style: italic; line-height: 1.8; }
.testimonial-card .stars { color: var(--gold); }
.testimonial-card h6 { color: var(--white); font-weight: 700; margin-top: 15px; margin-bottom: 2px; }
.testimonial-card small { color: var(--gold); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 50%, var(--black-soft) 100%);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: #f8f9fa; }
.contact-info-box {
  background: var(--black-soft);
  border-radius: 15px;
  padding: 35px;
  height: 100%;
}
.contact-info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.contact-icon {
  width: 50px; height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-right: 15px; flex-shrink: 0;
}
.contact-icon i { color: var(--black); font-size: 1.2rem; }
.contact-info-item .info h6 { color: var(--white); margin-bottom: 3px; }
.contact-info-item .info p { color: var(--text-muted); margin: 0; font-size: .9rem; }
.contact-form-box {
  background: var(--white);
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(255,215,0,.25); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 3px solid var(--gold);
  color: rgba(255,255,255,.7);
}
.footer h5 { color: var(--gold); font-weight: 700; }
.footer-link { color: rgba(255,255,255,.6); display: block; margin-bottom: 8px; transition: color .3s; }
.footer-link:hover { color: var(--gold); }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,215,0,.1);
  border: 1px solid rgba(255,215,0,.3);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all .3s;
  margin: 3px;
}
.social-btn:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}
.footer-bottom {
  background: rgba(255,215,0,.05);
  border-top: 1px solid rgba(255,215,0,.1);
  padding: 15px 0;
  font-size: .9rem;
}

/* ===== TEAM CARDS ===== */
.team-card { text-align: center; }
.team-photo {
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  object-fit: cover;
  margin: 0 auto 15px;
}
.team-placeholder {
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  background: linear-gradient(135deg, var(--black-soft), var(--gray-mid));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 15px;
}
.team-placeholder i { font-size: 3rem; color: var(--gold); }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,215,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-header h1 { color: var(--white); font-weight: 900; font-size: 2.8rem; }
.page-header p { color: var(--gold); }
.breadcrumb { background: transparent; }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: rgba(255,255,255,.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ===== ADMIN PANEL ===== */
.admin-sidebar {
  background: var(--black-soft);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  left: 0; top: 0;
  border-right: 2px solid var(--gold);
  z-index: 1000;
  transition: all .3s;
  overflow-y: auto;
}
.admin-sidebar .sidebar-brand {
  padding: 20px;
  border-bottom: 1px solid rgba(255,215,0,.2);
  text-align: center;
}
.admin-sidebar .sidebar-brand h5 { color: var(--gold); font-weight: 800; margin: 0; font-size: 1.1rem; }
.admin-sidebar .sidebar-brand small { color: rgba(255,255,255,.5); font-size: .75rem; }
.sidebar-nav { padding: 15px 0; }
.sidebar-nav .nav-item { margin: 2px 10px; }
.sidebar-nav .nav-link {
  color: rgba(255,255,255,.7) !important;
  border-radius: 8px;
  padding: 10px 15px;
  transition: all .3s;
  display: flex; align-items: center;
}
.sidebar-nav .nav-link i { width: 22px; margin-right: 10px; color: var(--gold); }
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  background: rgba(255,215,0,.15);
  color: var(--gold) !important;
  border-left: 3px solid var(--gold);
}
.sidebar-nav .nav-section {
  color: var(--text-muted);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 25px 5px;
}

/* logout button di sidebar */
.logout-btn {
  width: 100%;
  display: flex; align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(220,53,69,.3);
  background: rgba(220,53,69,.08);
  color: #ff6b6b !important;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.logout-btn i { width: 22px; margin-right: 10px; color: #ff6b6b; }
.logout-btn:hover { background: rgba(220,53,69,.2); border-color: #dc3545; color: #fff !important; }

/* user menu topbar */
.user-menu-wrap { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 6px 12px;
  color: rgba(255,255,255,.8);
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
}
.user-menu-btn:hover { background: rgba(255,215,0,.1); border-color: rgba(255,215,0,.3); color: var(--gold); }
.user-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: #000;
  flex-shrink: 0;
}
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--black-card);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  z-index: 9999;
  display: none;
  overflow: hidden;
  animation: dropIn .2s ease;
}
.user-dropdown.open { display: block; }
.user-dropdown-header {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  text-decoration: none;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.user-dropdown-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.user-dropdown-item.text-danger { color: #ff6b6b; }
.user-dropdown-item.text-danger:hover { background: rgba(220,53,69,.12); color: #ff6b6b; }
.user-dropdown-item i { width: 16px; text-align: center; }
.user-dropdown-divider { height: 1px; background: rgba(255,255,255,.07); margin: 4px 0; }

.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
}
.admin-content { flex: 1; }
.admin-topbar {
  background: var(--black-soft);
  padding: 12px 25px;
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 999;
}
.admin-topbar .page-title { color: var(--white); font-weight: 700; font-size: 1.1rem; margin: 0; }
.admin-content { padding: 25px; }
.stat-card {
  border-radius: 12px;
  padding: 25px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stat-card.gold-card { background: linear-gradient(135deg, #c9a84c, #e8c35e); color: var(--black); }
.stat-card.dark-card { background: linear-gradient(135deg, #404040, #5a5a5a); }
.stat-card .stat-icon { font-size: 3rem; opacity: .3; position: absolute; right: 15px; bottom: 10px; }
.stat-card .stat-number { font-size: 2.5rem; font-weight: 900; }
.stat-card .stat-label { font-size: .85rem; opacity: .8; }
.admin-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,.08);
  overflow: hidden;
}
.admin-card .card-header {
  background: var(--black-soft);
  color: var(--gold);
  font-weight: 700;
  padding: 15px 20px;
  border-bottom: 2px solid var(--gold);
}
/* ===== NOTIFICATION BELL ===== */
.notif-wrap { position: relative; }
.notif-btn {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,.2);
  background: rgba(255,215,0,.07);
  color: var(--gold);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.notif-btn:hover { background: rgba(255,215,0,.15); border-color: var(--gold); }
.notif-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  background: #dc3545;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 4px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--black-soft);
  animation: notifPulse 2s ease-in-out infinite;
}
@keyframes notifPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,53,69,.4); }
  50%       { box-shadow: 0 0 0 5px rgba(220,53,69,0); }
}
.notif-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--black-card);
  border: 1px solid rgba(255,215,0,.2);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  z-index: 9999;
  display: none;
  overflow: hidden;
}
.notif-dropdown.open { display: block; animation: dropIn .2s ease; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,215,0,.15);
  color: var(--gold);
  font-size: .85rem;
  font-weight: 700;
}
.notif-see-all {
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  font-weight: 400;
  text-decoration: none;
  transition: color .2s;
}
.notif-see-all:hover { color: var(--gold); }
.notif-body { max-height: 300px; overflow-y: auto; }
.notif-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-decoration: none;
  transition: background .2s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: rgba(255,215,0,.07); }
.notif-avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: #000; font-weight: 700;
}
.notif-info { flex: 1; min-width: 0; }
.notif-name { color: var(--white); font-size: .83rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-subject { color: rgba(255,255,255,.45); font-size: .77rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-time { color: rgba(255,215,0,.6); font-size: .72rem; margin-top: 3px; }
.notif-empty { padding: 20px 16px; text-align: center; color: rgba(255,255,255,.3); font-size: .83rem; }
.img-hint {
  background: rgba(232,195,94,.08);
  border: 1px solid rgba(232,195,94,.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}
.img-hint i { color: var(--gold); }
.img-hint strong { color: var(--gold); font-weight: 600; }
.badge-unread {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .75rem;
}
.table th { background: var(--black-soft); color: var(--gold); font-weight: 600; }
.admin-form-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,.08);
  padding: 30px;
}

/* ===== ADMIN FOOTER ===== */
.admin-footer {
  padding: 13px 25px;
  background: var(--black-card);
  border-top: 1px solid rgba(255,215,0,.12);
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  flex-shrink: 0;
}
.admin-footer .text-gold { color: var(--gold); }
.admin-footer-right { color: rgba(255,255,255,.22); }

/* ===== ANIMATIONS ===== */
.fade-in-up {
  animation: fadeInUp .7s ease forwards;
  opacity: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ===== KEUNGGULAN KAMI ===== */
.keunggulan-section { background: var(--black); }
.keunggulan-card {
  background: var(--black-card);
  border: 1px solid rgba(255,215,0,.15);
  border-radius: 15px;
  padding: 32px 25px;
  height: 100%;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.keunggulan-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s;
}
.keunggulan-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.keunggulan-card:hover::after { transform: scaleY(1); }
.keunggulan-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: transform .3s;
}
.keunggulan-card:hover .keunggulan-icon { transform: rotate(-8deg) scale(1.1); }
.keunggulan-icon i { font-size: 1.4rem; color: var(--black); }
.keunggulan-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1rem;
}
.keunggulan-desc {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.75;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .section-title { font-size: 1.8rem; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 1.8rem; }
  .section-padding { padding: 50px 0; }
}
