﻿/* Custom Theme Stylesheet for Swiss Minimalist Executive */
:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --primary: #09090b;
  --secondary: #2563eb;
  --accent: #10b981;
  --text: #09090b;
  --muted: #71717a;
  --border: #e4e4e7;
  --glow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --font-head: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  filter: brightness(1.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

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

.brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.brand-role {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-hub {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-hub:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* HERO SECTION */
.hero-section {
  padding: 5rem 0 3rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.typed-cursor {
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-pills {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pill {
  padding: 0.35rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-wrap {
  position: relative;
  max-width: 380px;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.floating-badge i {
  font-size: 1.8rem;
  color: var(--primary);
}

.floating-badge strong {
  display: block;
  font-size: 0.9rem;
}

.floating-badge small {
  font-size: 0.75rem;
  color: var(--muted);
}

.badge-top {
  top: 20px;
  right: -20px;
}

.badge-bottom {
  bottom: 30px;
  left: -20px;
}

/* STATS BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.8rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
}

/* SECTIONS */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.badge-theme {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
}

/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.8rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

/* ABOUT GRID */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.about-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.2rem;
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.2rem;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* PROJECTS GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-header {
  margin-bottom: 1rem;
}

.project-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.project-tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
}

.project-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.btn-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.verified-tag {
  font-size: 0.78rem;
  color: #10b981;
}

/* SKILLS MATRIX */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cat-icon {
  font-size: 2.2rem;
  color: var(--primary);
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-chip {
  padding: 0.4rem 0.8rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
}

.skill-chip i {
  color: var(--primary);
}

/* TIMELINE */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-card {
  position: relative;
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.role-title {
  font-size: 1.3rem;
  color: var(--primary);
}

.company-name {
  font-size: 0.9rem;
  color: var(--muted);
}

.timeline-date {
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.timeline-desc {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.timeline-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}

.timeline-list i {
  color: var(--primary);
  margin-top: 0.25rem;
}

/* FAQ ACCORDION */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 1.3rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-arrow {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 1.5rem 1.4rem;
  display: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-a ul {
  margin: 0.6rem 0 0.6rem 1.2rem;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.btn-copy {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem 0;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

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

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: var(--surface);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted);
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 2000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.drawer-link {
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* THEME SPECIFIC OVERRIDES */

            .hero-title { font-family: 'Inter', sans-serif; font-weight: 800; color: #09090b; letter-spacing: -1.5px; }
            .card { background: #ffffff; border: 1px solid #e4e4e7; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
            .card:hover { border-color: #a1a1aa; box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
            .btn-primary { background: #09090b; color: #fff; font-weight: 600; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
            .btn-primary:hover { background: #27272a; }
            .hero-img-wrap { border-radius: 16px; border: 1px solid #e4e4e7; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
        

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons, .hero-pills {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid, .skills-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}
