:root {
  --primary: #1976ff;
  --background: #031933;
  --text: #ffffff;
  --text-light: #cfd8dc;
  --dark-background: #0c111e;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

body.dark {
  background: var(--dark-background);
  color: #ddd;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: var(--background);
}

.logo {
  font-size: 26px;
  color: var(--primary);
  font-weight: bold;
}

.logo-box {
  background: var(--primary);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin: 0 12px;
  font-weight: bold;
}

nav .btn-primary, #toggle-dark {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 10px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
  gap: 40px;
}

.hero-image img {
  max-width: 400px;
  border-radius: 10px;
}

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

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: 18px;
  color: var(--text-light);
}

.buttons {
  margin-top: 20px;
}

.btn-primary, .btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.socials {
  margin-top: 25px;
}

.socials i {
  font-size: 20px;
  margin-right: 15px;
  cursor: pointer;
  color: var(--primary);
}

@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 40px 20px;
  }
  header {
    flex-direction: column;
    gap: 15px;
  }
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

@media screen and (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
  }
  nav {
    display: none;
    flex-direction: column;
    background: var(--background);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
  }
  nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }
  .hero-image img {
    max-width: 90%;
    height: auto;
  }
}

.menu-toggle {
  display: none;
  font-size: 26px;
  color: var(--text);
  cursor: pointer;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: var(--background);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


