/* Minimal professional stylesheet for Massyl Belkessa site */
:root {
  --bg: #f5f7fa;
  --bg-accent: #eef2f6;
  --card: #ffffff;
  --text: #11151c;
  --muted: #5b6675;
  --accent: #0b5cab;
  --accent-soft: rgba(11, 92, 171, 0.12);
  --max-width: 1100px;
  --radius: 12px;
  --header-height: 64px;
  --shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: "Gill Sans MT", "Trebuchet MS", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--bg), var(--bg-accent));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

/* Simple header */
.simple-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.96));
  border-bottom: 1px solid #e4e9f0;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.06);
  backdrop-filter: saturate(120%) blur(6px);
}
.sh-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
}
.sh-logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}
.sh-nav { margin-left: auto; }
.sh-nav ul { display: flex; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.sh-nav a {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.sh-nav a:hover,
.sh-nav a:focus-visible {
  color: var(--accent);
  background: var(--accent-soft);
}
.sh-cv {
  margin-left: 0.75rem;
  padding: 0.45rem 0.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.sh-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid #d6dde6;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.anchor-target {
  position: relative;
  top: calc(-1 * (var(--header-height) + 12px));
  height: 0;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.container, .card-started, .card-inner {
  max-width: var(--max-width);
  margin: 1.2rem auto;
  padding: 0 1rem;
}

img { max-width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .sh-nav {
    position: absolute;
    right: 1rem;
    top: calc(var(--header-height) + 6px);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 0.75rem;
    border-radius: var(--radius);
    display: none;
  }
  .sh-nav.open { display: block; }
  .sh-nav ul { flex-direction: column; }
  .sh-toggle { display: inline-block; margin-left: auto; }
  .sh-cv { display: none; }
}

.techbuilds-screenshot {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 1rem;
  display: block;
  text-align: left;
}

.techbuilds-screenshot img {
  max-width: 100%;
  height: auto;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.18);
  display: block;
}

.techbuilds-title {
  margin-bottom: 12px;
  width: 100%;
}

.techbuilds-title.skill-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
}

.techbuilds-title.skill-title .icon {
  float: none;
  top: 0;
  width: 44px;
  height: 44px;
  font-size: 24px;
}

.techbuilds-title.skill-title .name {
  margin: 0;
  line-height: 1.2;
}

.techbuilds-stack {
  display: inline-block;
  line-height: 1.2;
}

.techbuilds-feature {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 1rem 8px;
}

.techbuilds-text {
  margin: 6px 0 14px;
  color: var(--muted);
}

.techbuilds-note {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.techbuilds-media {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 16px;
  align-items: center;
}

.techbuilds-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.techbuilds-logo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.techbuilds-screen {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.18);
}

.techbuilds-link {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.techbuilds-link-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 92, 171, 0.2);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.08);
}

.techbuilds-link-card img {
  width: 44px;
  height: auto;
}

.techbuilds-link-card span {
  font-weight: 600;
  letter-spacing: 0.02em;
}

#card-BUSINESS-PROJECT .card-wrap {
  position: relative;
  padding-top: 24px;
  padding-right: 0;
}

#card-BUSINESS-PROJECT .business-project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

#card-BUSINESS-PROJECT .business-project-header .title {
  padding-right: 8px;
}

#card-BUSINESS-PROJECT .business-project-header .title {
  margin: 0;
}

#card-BUSINESS-PROJECT .business-project-logo {
  position: relative;
  width: 210px;
  height: 70px;
  max-width: 45vw;
  margin-right: 12px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.2);
}

#card-BUSINESS-PROJECT .business-project-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .techbuilds-media {
    grid-template-columns: 1fr;
  }
  .techbuilds-logo {
    max-width: 220px;
  }
  .techbuilds-link-card {
    width: 100%;
    justify-content: center;
  }
  #card-BUSINESS-PROJECT .card-wrap {
    padding-top: 24px;
    padding-right: 0;
  }
  #card-BUSINESS-PROJECT .business-project-logo {
    width: 160px;
    height: 58px;
    max-width: 70vw;
    margin-right: 0;
  }
}

