/* ========================
   Global Styles
======================== */
:root {
  --color-text: #2c2c2c;
  --color-bg: #ffffff;
  --color-primary: #6366f1;
  --color-linkedin: #0077B5;
  --color-dark: #374151;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================
   Header / Theme Toggle
======================== */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

/* Base button style */
.theme-btn {
  border: none;
  background: #f3f4f6;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

/* Circular icon buttons */
.theme-btn.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 8px;
}

.theme-btn.icon-btn:hover {
  background: #e5e7eb;
  transform: scale(1.05);
}

.theme-btn.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* Navigation links */
.theme-btn.nav-link {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-btn.nav-link:hover {
  background: #fff;
  color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-btn.nav-link.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.theme-btn.nav-link.active:hover {
  background: #5855eb;
  border-color: #5855eb;
}

/* Dark mode variants */
.theme-btn.dark-mode {
  background: var(--color-dark);
}

.theme-btn.dark-mode:hover {
  background: #4b5563;
}

.theme-btn.nav-link.dark-mode {
  background: rgba(55, 65, 81, 0.9);
  color: #f9fafb;
  border-color: rgba(55, 65, 81, 0.3);
}

.theme-btn.nav-link.dark-mode:hover {
  background: rgba(55, 65, 81, 1);
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .theme-toggle {
    top: 15px;
    right: 15px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .theme-btn.icon-btn {
    width: 35px;
    height: 35px;
  }

  .theme-btn.nav-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .theme-btn.icon-btn {
    display: none;
  }
}

/* ========================
   Hero Section
======================== */
.profile-photo {
  width: min(300px, 80vw);
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
}

.header-text {
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 2rem;
}

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

/* ========================
   CTA Buttons
======================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cta-btn.primary {
  background: #fff;
  border: 1.5px solid var(--color-linkedin);
  color: var(--color-linkedin);
}

.cta-btn.primary:hover {
  background: var(--color-linkedin);
  color: #fff;
  transform: translateY(-1px);
}

.cta-btn.secondary {
  background: transparent;
  border: 1.5px solid #000;
  color: #000;
}

.cta-btn.secondary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

/* ========================
   Portfolio / Content
======================== */
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.content > div {
  background: #fff;
  padding: 25px;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Project Images */
.image-work {
  width: 100%;
  margin-top: 15px;
}

.image-work img {
  width: 100%;
  height: auto;
  display: block;
  /* border-radius: 10px; */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}


/* =======================
About Section

======================= */

.about-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
}

.about-header {
  /* display: flex; */
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 70px;
}

.about-photo {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 30px;
}

.about-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-header .intro {
  color: #d63384; /* pink like your "Hej!" */
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 10px;
}

.about-header p {
  margin-bottom: 40px;
  line-height: 1.6;
}

.about-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin-bottom: 40px;
}

.about-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.about-gallery img:first-child {
  grid-row: span 2; /* makes first image taller */
}

.about-engagements h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.about-engagements ul {
  list-style-type: disc;
  padding-left: 20px;
}

.about-engagements li {
  margin-bottom: 10px;
  line-height: 1.6;
}


.jumbotron-photo {
  background: url("img/25.jpg") center/cover no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* .jumbotron-photo .overlay {
  background: rgba(0,0,0,0.5); /* dark overlay */
  /* color: white;
  padding: 40px;
  border-radius: 12px;
}  */

/* ========================
VSLA
=========================== */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 20px; /* space between images */
  max-width: 1000px;
  margin: 40px auto;
}

.image-gallery figure {
  text-align: left;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-gallery figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #7d7d7d;
}

.mid-fi figcaption {
    /* margin-top: 10px; */
  font-size: 0.9rem;
  color: #7d7d7d; 
}

.hi-fi {
    margin-top: 30px;
}

.hi-fi figcaption {
    /* margin-top: 10px; */
  font-size: 0.9rem;
  color: #7d7d7d; 
}

/* ======================
miWAY

===================== */
.miway-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;             /* space between icon, heading, and paragraph */
  /* padding: 2rem 1rem;     */
}


.miway-section {
  max-width: 900px;  
  margin: 90px auto;
  padding: 20px;
  line-height: 1.6;
}

.miway-section {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 15px;
  margin-bottom: 40px;
}

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-card {
  /* border: 1px solid #dcd8d8; */
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #e9e9e9; /* looks like a card */
  color: #212121;
}

.stat-card strong {
  color: purple; /* highlight numbers */
}

.stat-card i {
  /* color: #ffc107; lightbulb = yellow */
  /* font-size: 1.2rem; */
}

figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #7d7d7d;
}

/* .features h5 {
  padding: 0.5rem;
} */




/* ========================
   Footer
======================== */
.footer {
  padding-top: 70px;
  text-align: center;
}
