:root {
  --bg: #0b0c0e;
  --accent: #0062ff;
  --text: #ffffff;
  --card: #16181b;
  --muted: #d8d8d8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(11, 12, 14, 0.98);
  padding: 15px 0;
  z-index: 2000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  font-family: 'Syncopate', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-email {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-email:hover,
.nav-email:focus-visible {
  background-color: var(--accent);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.25);
}

#lang-toggle {
  color: var(--accent);
  border: 1px solid var(--accent);
  background: transparent;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#lang-toggle:hover,
#lang-toggle:focus-visible {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 98, 255, 0.25);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 50px 0;
}

.hero-content h1 {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(1.8rem, 7vw, 4rem);
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: var(--muted);
}

.services,
.projects,
.contact {
  padding: 80px 0;
}

section[id] {
  scroll-margin-top: 95px;
}

.services h2,
.projects h2,
.contact h2 {
  text-align: center;
  font-family: 'Syncopate', sans-serif;
  font-size: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
}

.service-card {
  background: var(--card);
  padding: 35px;
  border-radius: 10px;
  text-align: center;
}

.project-entry {
  margin-bottom: 80px;
  text-align: center;
}

.project-entry h3 {
  font-family: 'Syncopate', sans-serif;
  font-size: 1rem;
  margin-bottom: 30px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: start;
}

.image-grid img {
  width: 100%;
  max-width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.contact-box {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: #16181b;
  border: 1px solid #333;
  color: white;
  border-radius: 5px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.2);
}

.main-btn {
  padding: 16px 35px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.main-btn:hover,
.main-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 98, 255, 0.28);
}

.line {
  width: 50px;
  height: 4px;
  background: var(--accent);
  margin: 20px auto 40px auto;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: center;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-top: 120px;
  }
}
