:root {
  --color-primary: #5B1320;
  --color-primary-hover: #741B2C;
  --color-secondary: #C9A45D;
  --color-secondary-hover: #D7B26A;
  --color-bg: #0B0B0C;
  --color-bg-alt: #171717;
  --color-surface: #F8F7F4;
  --color-surface-light: #FFFFFF;
  --color-text: #161616;
  --color-text-inverse: #FFFFFF;
  --color-text-secondary: #5F6368;
  --color-muted: #8A8A8A;
  --color-border: #E7E7E7;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* === FONT STACK ===
   Cormorant Garamond — headings / editorial
   Poppins — body / nav
   Space Grotesk — buttons / accent
*/

/* Cormorant Garamond (500, 600, 700) — luxury editorial headings */
h1, h2, h3, h4, h5, h6,
.page-title, .section-title, .card-title,
blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
}
h1, .text-hero { font-weight: 700; }
h1, .page-title { font-weight: 600; }
h2, .section-title { font-weight: 600; }
h3, h4, .card-title { font-weight: 500; }
blockquote { font-style: italic; font-weight: 500; }

/* Poppins (300 Light, 400, 500 Medium) — body & nav */
html { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-weight: 300; }
.nav-link, nav a:not(.btn), .menu-item { font-weight: 500; }

/* Space Grotesk (500, 600) — buttons, labels, stats */
button, .btn, .btn-primary, .btn-secondary,
.cta-button, a.cta,
.badge, .label, .tag, .pill,
.stat-value, .stat-label,
.category-name, .filter-tag {
  font-family: 'Space Grotesk', sans-serif;
}
button, .btn, .btn-primary, .btn-secondary,
.cta-button, a.cta { font-weight: 500; letter-spacing: 0.01em; }
.badge, .label, .tag, .pill { font-weight: 500; }
.stat-value { font-weight: 600; }

/* Small uppercase labels — use Space Grotesk */
.section-label, .meta-label,
[class*="tracking-"][class*="uppercase"] {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

::selection {
  background: #1d1d1f;
  color: white;
}

body {
  padding-top: 64px;
}

.watermark {
  position: relative;
  overflow: hidden;
}
.watermark::after {
  content: "\00a9 Prinx-Conceptz";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.08);
  font-size: 1rem;
  font-weight: 700;
  transform: rotate(-30deg);
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#lightbox {
  transition: opacity 0.2s ease;
}
#lightbox.show {
  display: flex;
  opacity: 1;
}
#lightbox-img {
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes image-reveal {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}
.animate-slide-up { animation: slide-up 0.3s ease-out; }
.animate-fade-in { animation: fade-in 0.2s ease-out; }
.animate-image-reveal { animation: image-reveal 1s ease-out; }

.gallery-grid {
  display: grid;
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-grid .group:hover img {
  transform: scale(1.08);
}

@media (min-width: 768px) {
  .hero-parallax {
    background-attachment: fixed;
  }
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after {
  width: 100%;
}

input[type="file"]::file-selector-button {
  background: #1d1d1f;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
}
input[type="file"]::file-selector-button:hover {
  background: #333;
}

/* === Nav Menu Button + Dropdown (shared across all layouts) === */
.nav-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
}
.nav-menu-btn svg {
  width: 20px;
  height: 20px;
  transition: all 0.2s;
}
.nav-menu-icon-close {
  display: none;
}
.nav-menu-btn.open .nav-menu-icon-close {
  display: block;
}
/* Dark variant (site header, gallery) */
.nav-menu-btn.dark {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-menu-btn.dark:hover {
  background: rgba(255,255,255,0.14);
}
.nav-menu-btn.dark svg {
  stroke: #fff;
}
/* Light variant (admin header) */
.nav-menu-btn.light {
  color: #2c2c2c;
  background: rgba(0,0,0,0.05);
}
.nav-menu-btn.light:hover {
  background: rgba(0,0,0,0.1);
}
.nav-menu-btn.light svg {
  stroke: #2c2c2c;
}

/* Dropdown panel */
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  border-radius: 12px;
  padding: 1rem 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.nav-menu-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* Dark panel (site pages) */
.nav-menu-panel.dark {
  background: #1a1a1c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
/* Light panel (admin) */
.nav-menu-panel.light {
  background: #fff;
  border: 1px solid #e8e5e0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}
.nav-menu-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 1.25rem 0.375rem;
}
.nav-menu-panel.dark .nav-menu-label { color: rgba(255,255,255,0.4); }
.nav-menu-panel.light .nav-menu-label { color: #999; }
.nav-menu-links {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
}
.nav-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  text-decoration: none;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.nav-menu-panel.dark .nav-menu-links a {
  color: rgba(255,255,255,0.8);
}
.nav-menu-panel.dark .nav-menu-links a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.nav-menu-panel.light .nav-menu-links a {
  color: #2c2c2c;
}
.nav-menu-panel.light .nav-menu-links a:hover {
  background: #f8f6f3;
  color: #5B1320;
}
.nav-menu-divider {
  height: 1px;
  margin: 0.75rem 1.25rem;
}
.nav-menu-panel.dark .nav-menu-divider { background: rgba(255,255,255,0.07); }
.nav-menu-panel.light .nav-menu-divider { background: #f0ede9; }
.nav-menu-logout {
  color: #e25a50 !important;
}
.nav-menu-logout:hover {
  background: rgba(226,90,80,0.08) !important;
  color: #f07065 !important;
}
.nav-menu-panel.light .nav-menu-logout:hover {
  background: #fdf0ee !important;
  color: #d64537 !important;
}

/* === Upload Progress Panel === */
.upload-progress-panel {
  background: #f9f8f6;
  border: 1px solid #e8e5e0;
  border-radius: 12px;
  padding: 1.25rem;
  font-family: 'Poppins', sans-serif;
}
.upload-progress-bar-track {
  height: 6px;
  background: #e0ddd8;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.upload-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5B1320, #C9A45D);
  border-radius: 3px;
  transition: width 0.15s ease-out;
}
.upload-progress-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.75rem;
}
.upload-progress-stats strong {
  font-weight: 500;
  color: #5B1320;
}
.upload-progress-pct {
  font-size: 1.25rem;
  font-weight: 500;
  color: #5B1320;
  line-height: 1;
}
.upload-progress-status {
  font-size: 0.6875rem;
  color: #999;
}
.upload-progress-files {
  margin-top: 0.75rem;
  border-top: 1px solid #e8e5e0;
  padding-top: 0.75rem;
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.upload-progress-file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #555;
  padding: 0.25rem 0;
}
.upload-progress-file .fp-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
}
.upload-progress-file .fp-icon.done { background: #dcfce7; color: #16a34a; }
.upload-progress-file .fp-icon.active { background: #ede9fe; color: #7c3aed; }
.upload-progress-file .fp-icon.pending { background: #f3f4f6; color: #9ca3af; }
.upload-progress-file .fp-icon.error { background: #fef2f2; color: #dc2626; }
.upload-progress-file .fp-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Scroll Progress Bar === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #5B1320, #C9A45D, #D7B26A);
  z-index: 70;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(201,164,93,0.5);
}

/* === Floating WhatsApp Button === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 45;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.whatsapp-float .whatsapp-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.whatsapp-float .whatsapp-icon svg {
  width: 28px;
  height: 28px;
}
.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
.whatsapp-float .whatsapp-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  animation: whatsappPing 2s ease-out infinite;
}
@keyframes whatsappPing {
  0% { transform: scale(1); opacity: 0.45; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-float .whatsapp-tip {
  position: absolute;
  right: 64px;
  white-space: nowrap;
  background: #fff;
  color: #161616;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}
.whatsapp-float:hover .whatsapp-tip {
  opacity: 1;
  transform: translateX(0);
}

/* === Premium Lightbox === */
#lightbox {
  transition: opacity 0.25s ease;
}
#lightbox.show {
  display: flex;
  opacity: 1;
}

/* === Homepage Stats / Process / FAQ === */
.stat-grid .stat-card {
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.stat-grid .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,164,93,0.35);
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.process-step {
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,164,93,0.4), transparent);
}
@media (max-width: 1023px) {
  .process-step::after { display: none; }
}
.process-step:last-child::after { display: none; }

.faq-item {
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item.open {
  border-color: rgba(201,164,93,0.4);
  background: rgba(201,164,93,0.05);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}
.faq-toggle svg {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-toggle svg {
  transform: rotate(45deg);
}

/* === Services pricing tiers === */
.service-tier {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-tier:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

/* === Auth split-screen === */
.auth-panel {
  background: linear-gradient(160deg, rgba(91,19,32,0.55) 0%, rgba(11,11,12,0.92) 80%);
}
