* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --text: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-lighter: #f1f5f9;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER & NAVIGATION */
.header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.navbar {
  padding: 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.site-logo {
  display: block;
  width: min(220px, 46vw);
  height: auto;
}

@media (max-width: 768px) {
  .site-logo {
    width: min(170px, 56vw);
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  font-size: 2rem;
}

.nav-links a:hover {
  border-bottom: 2px solid black;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  appearance: none;
  padding: 0;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    width 0.25s ease,
    background 0.2s ease;
  transform-origin: center;
}

.hamburger:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.hamburger:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.25);
  outline-offset: 3px;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #3b82f6 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(60, 130, 246, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .logo-link img {
    transform: scale(1.4);
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-text {
  animation: slideInLeft 0.8s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #c7d2e0;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  height: 400px;
  animation: slideInRight 0.8s ease-out;
}

.floating-box {
  position: absolute;
  border-radius: 20px;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.box-1 {
  width: 200px;
  height: 200px;
  background: white;
  top: 20px;
  right: 50px;
  animation-delay: 0s;
}

.box-2 {
  width: 150px;
  height: 150px;
  background: #60a5fa;
  bottom: 50px;
  right: 100px;
  animation-delay: 1s;
}

.box-3 {
  width: 100px;
  height: 100px;
  background: white;
  bottom: 100px;
  right: 20px;
  animation-delay: 2s;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section.about {
  background: white;
}

.section.strengths {
  background: var(--bg-light);
  padding: 80px 0;
}

.section.strengths .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.strength-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}

.strength-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.strength-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.strength-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.section.projects {
  background: white;
}

.section.contact {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section.contact .section-header h2 {
  color: white;
}

.underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 0 auto;
  border-radius: 2px;
}

/* ABOUT SECTION */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.skill-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.skill-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* PROJECTS GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.project-card {
  background: white;
  display: flex;
  flex-direction: column;
}

.project-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #eff6ff;
  color: #2563eb;
}

.project-status.niet-prod {
  background: #fef2f2;
  color: #dc2626;
}

.project-status.prod {
  background: #f0fdf4;
  color: #16a34a;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.btn-project {
  align-self: flex-start;
  margin-top: auto;
}

.tag {
  background: var(--bg-lighter);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--accent);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* CONTACT SECTION */
.contact-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.contact-content > p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.contact-content .contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact-info {
  text-align: center;
}

.contact-info p {
  font-size: 1rem;
  color: #a0aec0;
  margin: 0.5rem 0;
}

.mailto-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: lightblue;
  text-decoration: none;
  font-weight: 600;
}

.mailto-chip:hover {
  color: blue;
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

/* ANIMATIONS */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
    z-index: 20;
  }

  .hamburger {
    display: inline-flex;
    z-index: 30;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text);
    transition:
      background 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
  }

  .nav-link:hover {
    background: var(--bg-lighter);
    color: var(--primary);
    transform: translateX(2px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-visual {
    height: 250px;
  }

  .floating-box {
    opacity: 0.05;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .contact-content h2 {
    font-size: 1.8rem;
  }
}

.btn:hover {
  background: #2563eb;
}

.footer {
  text-align: center;
  padding: 20px 0;
  background: #111827;
  color: #9ca3af;
}

/* CONTACT FORM PAGE */
.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.logo-link img {
  transform: scale(2);
}

.contact-page {
  min-height: calc(100vh - 200px);
  background: var(--bg-light);
  flex: 1;
}

.thankyou-page {
  display: flex;
  align-items: center;
}

.thankyou-card {
  position: relative;
}

.thankyou-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.thankyou-header {
  margin-bottom: 2rem;
}

.thankyou-header p {
  max-width: 560px;
  margin: 0 auto;
}

.thankyou-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
}

.thankyou-block {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-lighter);
}

.thankyou-block h2 {
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.thankyou-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-light);
}

.thankyou-list li + li {
  margin-top: 0.6rem;
}

.thankyou-note p {
  color: var(--text-light);
  margin: 0;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-form-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.contact-form-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group button {
  margin-top: 1rem;
}

.contact-alternative {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-alternative p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-alternative a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.contact-alternative a:hover {
  text-decoration: underline;
}

.hp-field {
  display: none;
}

/* MOBILE RESPONSIVE FOR CONTACT FORM */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem;
  }

  .thankyou-grid {
    grid-template-columns: 1fr;
  }

  .thankyou-actions {
    flex-direction: column;
  }

  .contact-form-header h1 {
    font-size: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.65rem 0.85rem;
    font-size: 16px;
  }

  .logo-link img {
    transform: scale(1.3);
  }
}
