:root {
  --font-primary: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;

  --glass-bg: rgba(10, 36, 99, 0.35);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.7);

  --accent: #FFB300;
  --brand-blue: #0A2463;
  --dark-bg: #030A1A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-primary);
  color: var(--text-main);
  background-color: var(--dark-bg);
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ==============================
   Splash Screen
   ============================== */
.splash {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; }

.splash-img {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  animation: splashPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: #ffffff;
  border-radius: 50%;
  border: 3px solid var(--accent);
  padding: 14px;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(255, 179, 0, 0.25);
}

.splash-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  animation: splashPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.splash-sub {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  font-weight: 500;
}

@keyframes splashPop {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.splash-bar-wrap {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 auto;
  overflow: hidden;
}

.splash-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #FFE082);
  border-radius: 4px;
  width: 0%;
  animation: loadBar 2s ease forwards;
}

@keyframes loadBar { to { width: 100%; } }

/* ==============================
   Background
   ============================== */
.site-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(10,36,99,0.6) 0%, rgba(3,10,26,1) 70%);
}

/* ==============================
   Container
   ============================== */
.vcard-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

/* ==============================
   Glass Panel
   ============================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.2s ease, background 0.3s ease;
}

/* ==============================
   Language Toggle
   ============================== */
.top-nav {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -0.5rem;
}
.lang-toggle {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 4px;
  position: relative;
  cursor: pointer;
  width: 80px;
}
.lang-text {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 2;
  transition: color 0.3s;
  color: rgba(255,255,255,0.5);
}
.lang-text.active { color: #fff; }
.lang-switch-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--accent);
  border-radius: 20px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-toggle[data-current="en"] .lang-switch-thumb {
  transform: translateX(100%);
}

/* ==============================
   Header
   ============================== */
.vcard-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.cover-photo {
  width: 100%;
  height: 220px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  position: relative;
  background-color: var(--brand-blue);
}

.cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Status 24/7 Badge */
.status-badge {
  position: absolute;
  top: 15px; right: 15px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  z-index: 5;
}
.status-dot {
  width: 8px; height: 8px;
  background-color: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ed573;
  animation: statusPulse 2s infinite;
  flex-shrink: 0;
}
@keyframes statusPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 213, 115, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

/* Profile Picture with LED Ring */
.profile-pic-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--dark-bg);
  margin-top: -65px;
  z-index: 2;
  position: relative;
  padding: 5px;
}

.profile-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 160px; height: 160px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.3) 0%, transparent 70%);
  opacity: 0;
  z-index: 0;
  animation: glowFadeIn 1s ease 3s forwards, glowPulse 3s ease-in-out 4s infinite;
  pointer-events: none;
}

@keyframes glowFadeIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* LED Ring - Animated Glow Border */
.led-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  z-index: 1;
  background: conic-gradient(
    var(--accent),
    rgba(255, 179, 0, 0.2),
    var(--accent),
    rgba(255, 179, 0, 0.2),
    var(--accent)
  );
  animation: ledSpin 3s linear infinite;
}

.led-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--dark-bg);
}

@keyframes ledSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.profile-pic {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background: #fff;
}

/* Company Logo */
.company-logo {
  width: 180px;
  opacity: 0.85;
  margin: 0.75rem 0 0.5rem;
}

.photographer-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.photographer-title {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.3rem;
}

.location-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
}
.location-badge i { color: var(--accent); }

/* ==============================
   Stats Section — Clean Layout
   ============================== */
.stats-section {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem 0.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stat-val-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-suffix {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

/* ==============================
   Primary Action Buttons
   ============================== */
.primary-actions {
  display: flex;
  gap: 0.8rem;
}

.primary-btn {
  flex: 1;
  padding: 1rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 14px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(255, 179, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}
.primary-btn:active { transform: scale(0.96); }

.outline-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: none;
}
.outline-btn:active { background: rgba(255,255,255,0.08); }

.btn-small { padding: 0.85rem; font-size: 0.95rem; }

/* ==============================
   Certifications Marquee
   ============================== */
.cert-section { text-align: center; }
.cert-title {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}
.cert-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.cert-track {
  display: flex;
  gap: 1.5rem;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}
.cert-badge {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.cert-badge i { color: var(--accent); }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==============================
   Gallery / Services — FIXED LAYOUT
   ============================== */
.portfolio-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.25rem;
}
.section-header h2 {
  font-size: 1.15rem;
  font-weight: 500;
  font-family: var(--font-serif);
}
.view-all {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.gallery-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.5rem;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 220px;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery Overlay — FIXED: Proper positioning, no overlap */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.gallery-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 179, 0, 0.2);
  border: 1px solid rgba(255, 179, 0, 0.4);
  padding: 4px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ==============================
   Links Section
   ============================== */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.link-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.link-info h3 {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-info p {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-card > i {
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.8;
  flex-shrink: 0;
  margin-left: 12px;
}

/* WhatsApp Card Special */
.wa-card {
  background: rgba(46, 213, 115, 0.08);
  border-color: rgba(46, 213, 115, 0.25);
}
.wa-card .link-info h3 { color: #2ed573; }
.wa-card > i { color: #2ed573; }

/* Shimmer */
.shimmer-effect {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
@keyframes shimmerSweep { 0% { left: -100%; } 100% { left: 100%; } }

/* ==============================
   Footer
   ============================== */
.vcard-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  width: 120px;
  opacity: 0.4;
}

.footer-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
}

.bottom-spacer { height: 2rem; }

/* FAB removed — buttons inline now */

/* ==============================
   Modals
   ============================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s;
}
.modal-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.modal-content.glass-panel-dark {
  background: rgba(3, 10, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-overlay.hidden .modal-content { transform: translateY(40px); }

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

.modal-content > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Services List in Modal */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.service-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}

.service-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 179, 0, 0.15);
  border-radius: 10px;
  color: var(--accent);
  font-size: 1.1rem;
}

.service-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}

.service-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Form Inputs */
.auth-box { display: flex; flex-direction: column; gap: 0.75rem; }

.glass-input {
  width: 100%;
  padding: 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
}
.glass-input:focus { border-color: var(--accent); }

/* Custom scrollbar for modals */
.modal-content::-webkit-scrollbar { width: 4px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(255,179,0,0.4); border-radius: 4px; }

/* 3D Tilt glare fix */
.js-tilt-glare { border-radius: 18px; }
