/* ==========================================================================
   PKUCITY - CORPORATE ADVERTISING AGENCY (CLEAN, SOLID, PROFESSIONAL)
   ========================================================================== */

:root {
  --primary-red: #DC2626;
  --primary-red-hover: #B91C1C;
  --primary-red-light: #FEE2E2;
  
  --dark-slate: #0F172A;
  --dark-slate-hover: #1E293B;
  
  --bg-page: #FFFFFF;
  --bg-muted: #F8FAFC;
  --bg-surface: #FFFFFF;

  --text-dark: #0F172A;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --border-color: #E2E8F0;
  --border-dark: #CBD5E1;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   TOPBAR & NAVBAR (NORMAL CORPORATE STYLE)
   -------------------------------------------------------------------------- */
.topbar {
  background: #0F172A;
  color: #94A3B8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
}

.topbar-social-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #F1F5F9;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar-social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.topbar-social-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.topbar-social-btn:hover .topbar-social-icon {
  transform: scale(1.15);
}

.topbar-social-btn:hover .ig-icon {
  color: #FB7185;
}

.topbar-social-btn:hover .tiktok-icon {
  color: #38BDF8;
}

.topbar-social-username {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.topbar-link {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.topbar-link:hover {
  color: #FFF;
}

.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

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

.brand-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #E2E8F0;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark-slate);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--primary-red);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--primary-red-hover);
}

.btn-whatsapp {
  background: #25D366;
  color: #064E3B;
  font-weight: 800;
}

.btn-whatsapp:hover {
  background: #20BD5C;
}

.btn-secondary {
  background: #F1F5F9;
  color: var(--dark-slate);
  border-color: #E2E8F0;
}

.btn-secondary:hover {
  background: #E2E8F0;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   HERO BANNER (REAL CORPORATE BANNER)
   -------------------------------------------------------------------------- */
.hero-banner-section {
  position: relative;
  background: #0B1120;
  color: #FFFFFF;
  padding: 100px 0 110px;
  overflow: hidden;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.75) 60%, rgba(11, 17, 32, 0.4) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #FCA5A5;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-subhead {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Metrics Bar */
.metrics-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 30px 0;
}

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

.metric-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding: 0 10px;
}

.metric-item:last-child {
  border-right: none;
}

.metric-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   SECTIONS & SOLID CARDS
   -------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section-bg-muted {
  background-color: var(--bg-muted);
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--primary-red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-main-h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark-slate);
  margin-bottom: 12px;
}

.section-desc-p {
  color: var(--text-body);
  font-size: 1.02rem;
}

/* About Layout */
.about-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-red-light);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Services Grid (Solid White Cards) */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.service-badge {
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.service-box h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 10px;
}

.service-box p {
  color: var(--text-body);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Locations Grid */
.locations-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border-color);
}

.location-item {
  background: #FFFFFF;
  padding: 24px;
}

.loc-badge {
  color: var(--primary-red);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.location-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 6px;
}

.location-item span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.contact-text h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 14px;
}

.contact-text p {
  color: var(--text-body);
  font-size: 1.02rem;
  margin-bottom: 28px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-slate);
}

.contact-info-item span {
  color: var(--text-body);
  font-size: 0.88rem;
}

.contact-form-box {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
}

.contact-form-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--dark-slate);
  font-family: inherit;
  font-size: 0.9rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
  border-top: 1px solid #1E293B;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand h4 {
  color: #FFF;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links-col h5 {
  color: #FFF;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-links-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-links-col a:hover {
  color: #FFF;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   ADMIN PANEL STYLES (CMS EDITOR)
   -------------------------------------------------------------------------- */
.admin-header {
  background: #0F172A;
  color: #FFF;
  padding: 16px 0;
  border-bottom: 1px solid #1E293B;
}

.admin-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-body {
  background: #F8FAFC;
  min-height: 100vh;
  padding: 40px 0 80px;
}

.admin-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.admin-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-banner-preview {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-columns, .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-container, .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .metric-item {
    border-right: none;
  }
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links, .topbar {
    display: none;
  }
  .services-container, .locations-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    padding: 24px 16px;
  }
}

/* --------------------------------------------------------------------------
   ADMIN AUTHENTICATION & OWASP GATEKEEPER
   -------------------------------------------------------------------------- */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: #0B1120;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.auth-card {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  color: #F8FAFC;
  text-align: center;
}

.auth-lock-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.auth-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 0.82rem;
  color: #94A3B8;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #FCA5A5;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
  text-align: left;
}
