/* =========================
   GLOBAL
========================= */
* {
  margin: 0;
  box-sizing: border-box;
  font-family: 'Lucida Sans', Geneva, Verdana, sans-serif;
}

body {
  background: #faf7fa;
}

/* =========================
   LAYOUT
========================= */
.layout {
  display: flex;
  min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  width: 350px;
  background: #f5eef5;
  padding: 20px;
  position: fixed;
  inset: 0 auto 0 0;
  transition: transform .3s ease;
  z-index: 1000;
}

/* =========================
   MAIN (CENTERED CONTENT)
========================= */
.main {
  margin-left: 60px;
  padding: 32px 20px;
  flex: 1;
  display: flex;
  justify-content: center;
}

.main > .view,
.main > section {
  width: 100%;
  max-width: 1000px;
}

/* =========================
   PROFILE
========================= */
.head {
  width: 80px;
  display: block;
  margin: 0 auto 14px;
  border-radius: 50%;
  animation: zoomIn 1.2s ease;
}

@keyframes zoomIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.name {
  background: #bf73bf;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  text-align: center;
  padding: 4px;
}

.meslek {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  margin: 6px 0 32px;
  color: hsla(237deg 74% 33% / 61%);
}

/* =========================
   MENU
========================= */
.project-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-size: 12px;
  text-decoration: none;
  color: #3b3b8f;
  background: #fff;
  box-shadow: 2px 2px 8px #d9c8d9;
  transition: background .2s ease;
}

.project-btn:hover {
  background: #e6d8e6;
}

.project-btn .icon {
  font-size: 16px;
}

/* =========================
   SOCIAL FOOTER
========================= */
.social-footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-footer img {
  width: 20px;
  height: 20px;
  opacity: .75;
  transition: transform .2s, opacity .2s;
}

.social-footer img:hover {
  transform: scale(1.15);
  opacity: 1;
}

/* =========================
   HAMBURGER
========================= */
.menu-btn {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 22px;
  background: none;
  border: none;
  z-index: 1100;
}

/* =========================
   VIEW SWITCHING
========================= */
.view {
  display: none;
}

.view.active {
  display: block;
}

/* =========================
   WEBSITE GRID
========================= */
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

/* =========================
   WEBSITE CARD
========================= */
.site-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 2px 2px 10px #d9c8d9;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.site-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 6px 14px rgba(0,0,0,.12);
}

.site-frame {
  height: 140px;
  background: #f5eef5;
  overflow: hidden;
  position: relative;
}

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

.site-frame::after {
  content: "View Website";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191,115,191,0.75);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  transition: opacity .2s ease;
}

.site-card:hover .site-frame::after {
  opacity: 1;
}

.site-body {
  padding: 12px;
}

.site-body h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: hsla(237deg 74% 33% / 85%);
}

.site-body p {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: hsla(237deg 74% 33% / 65%);
}

.site-btn {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  background: #bf73bf;
  color: #fff;
  text-decoration: none;
}

.site-btn.disabled {
  pointer-events: none;
  opacity: .45;
  background: #c7acc7;
}

/* =========================
   EXCEL / POWER BI GRID
========================= */
.excel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.excel-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 2px 2px 10px #d9c8d9;
  padding: 10px;
  text-align: center;
  cursor: zoom-in;
}

.excel-card img {
  width: 100%;
  border-radius: 8px;
}

.excel-card p {
  margin-top: 8px;
  font-size: 12px;
  color: hsla(237deg 74% 33% / 70%);
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* =========================
   CV / HOME
========================= */
.cv-block {
  margin-bottom: 32px;
}

.cv-block p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 680px;
  color: hsla(237deg 74% 33% / 70%);
}

/* Skills */
.skill {
  margin-bottom: 12px;
}

.skill span {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  font-weight: 700;
  color: #3b3b8f;
}

.skill-bar {
  height: 8px;
  background: #e6d8e6;
  border-radius: 10px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: #bf73bf;
  border-radius: 10px;
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  background: #f5eef5;
  color: #3b3b8f;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 1px 1px 6px #d9c8d9;
}

/* Timeline */
.timeline {
  list-style: none;
  padding-left: 0;
}

.timeline li {
  margin-bottom: 18px;
}

.timeline strong {
  display: block;
  font-size: 13px;
  color: #3b3b8f;
}

.timeline span {
  font-size: 11px;
  color: hsla(237deg 74% 33% / 55%);
}

.timeline p {
  font-size: 12px;
  margin-top: 4px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    margin-left: 0;
    padding: 70px 16px 24px;
    justify-content: flex-start;
  }

  .main > .view,
  .main > section {
    max-width: 100%;
  }
}
/* =========================
   PAGE TITLES
========================= */
h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #3b3b8f;
  position: relative;
  padding-bottom: 10px;
}

h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: #bf73bf;
  border-radius: 4px;
}

/* =========================
   SECTION TITLES
========================= */
.cv-block h2 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #3b3b8f;
  position: relative;
  padding-left: 14px;
}

.cv-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: #bf73bf;
  border-radius: 4px;
}
