@font-face {
  font-family: 'fonnts.com-Loos_Normal_Bold';
  src: url('./fonts/fonnts.com-Loos_Normal_Bold.woff') format('woff');
  font-weight: 500;
}

@font-face {
  font-family: 'fonnts.com-Loos_Normal_Regular';
  src: url('./fonts/fonnts.com-Loos_Normal_Regular.woff') format('woff');
  font-weight: 300;
}
/* =====================================================
   BSAS Digital Business Card — style.css
   Brand: Black / Dark Charcoal + #f68d24 Accent
   Mobile-first, premium minimal aesthetic
   ===================================================== */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-base:        #111111;
  --bg-card:        #191919;
  --bg-raised:      #222222;
  --accent:         #f68d24;
  --accent-dim:     rgba(246, 141, 36, 0.12);
  --accent-glow:    rgba(246, 141, 36, 0.25);
  --text-primary:   #f5f5f5;
  --text-secondary: #888888;
  --text-muted:     #555555;
  --border:         rgba(255,255,255,0.07);
  --radius-card:    20px;
  --radius-btn:     12px;
  --radius-icon:    10px;
  --font-display:   'fonnts.com-Loos_Normal_Bold', sans-serif;
  --font-body:      'fonnts.com-Loos_Normal_Regular', sans-serif;
  --transition:     0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100dvh;
  /* Subtle grain texture */
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(246,141,36,0.08) 0%, transparent 60%);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── CARD WRAPPER ── */
.card-wrapper {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 0 40px;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* ── HEADER ── */
.card-header {
  padding: 24px 24px 0;
  position: relative;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(246,141,36,0.4), 0 4px 16px rgba(246,141,36,0.2);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.company-tagline {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.accent-bar {
  margin-top: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
  opacity: 0.5;
}

/* ── PROFILE SECTION ── */
.profile-section {
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.photo-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
}

.profile-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.photo-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg, transparent 180deg, var(--accent) 360deg);
  z-index: 0;
  animation: spin 6s linear infinite;
  opacity: 0.7;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.emp-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.emp-designation {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.emp-company {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── DETAILS SECTION ── */
.details-section {
  margin: 0 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row:hover {
  background: var(--bg-raised);
}

.detail-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-icon);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.detail-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
  word-break: break-all;
}

/* ── ACTIONS SECTION ── */
.actions-section {
  padding: 24px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Primary CTA */
.btn-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--accent);
  color: #111111;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
  -webkit-tap-highlight-color: transparent;
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: #111;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(246,141,36,0.4);
}

.btn-primary:active {
  transform: translateY(0);
  opacity: 0.92;
}

/* Secondary action grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.action-btn:hover {
  background: var(--bg-raised);
  border-color: rgba(246,141,36,0.3);
  transform: translateY(-1px);
}

.action-btn:active {
  transform: translateY(0);
  background: var(--accent-dim);
}

.action-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.action-btn:hover .action-icon {
  background: rgba(246,141,36,0.2);
}

.action-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.action-btn span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── FOOTER ── */
.card-footer {
  margin-top: auto;
  padding: 28px 24px 0;
  text-align: center;
}

.card-footer p {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── ENTRY ANIMATION ── */
.card-wrapper {
  animation: fadeUp 0.5s ease both;
}

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

/* ── DESKTOP CENTERING ── */
@media (min-width: 480px) {
  body {
    padding: 32px 16px;
  }

  .card-wrapper {
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(25,25,25,0.8);
    backdrop-filter: blur(20px);
    overflow: hidden;
    min-height: unset;
    padding-bottom: 32px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(246,141,36,0.05);
  }
}
