/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f6f9;
  color: #333;
  transition: 0.4s;
}

/* 🌙 DARK MODE */
body.dark {
  background: #0f141c;
  color: #e6e6e6;
}

body.dark .card {
  background: #1b2430;
  color: white;
}

body.dark footer {
  background: #000;
}

/* HEADER */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #1f2d3d;
  color: white;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* BUTTON */
#toggleDark {
  background: none;
  border: 1px solid white;
  color: white;
  padding: 5px 8px;
  cursor: pointer;
}

/* 🎥 VIDEO HERO */
.video-hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.video-hero video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* SMALL HERO */
.hero-small {
  text-align: center;
  padding: 40px;
}

/* CONTAINER */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 30px;
}

/* CARDS */
.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-8px);
}

/* FORM */
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: auto;
}

input, textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #1f2d3d;
  color: white;
}

/* 🌟 SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s cubic-bezier(0.2, 1, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background: #1f2d3d;
    padding: 10px;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}