* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #ffffff;
  color: #1f2933;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #1f2933;
  color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  font-weight: 600;
}

/* MENU */
.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: #fff;
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 3px;
  background: #fff;
}

/* MODAL BUTTON */
.modal-section {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  padding: 14px 28px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* SLIDER */
.slider-section {
  padding: 40px 0;
}

.slider {
  position: relative;
  max-width: 800px;
  margin: auto;
}

.slides img {
  display: none;
  width: 100%;
  border-radius: 12px;
}

.slides img.active {
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

#prev { left: 10px; }
#next { right: 10px; }

/* MODAL */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}


.modal-content {
  background: #1f2933;
  color: #fff;
  padding: 24px;
  border-radius: 10px;
  position: relative;
  width: 90%;
  max-width: 400px;
}

.modal-btn-close {
  margin-top: 20px;
  padding: 10px 20px;

  background: #3a3c40;
  color: #fff;
  border: none;
  border-radius: 6px;

  cursor: pointer;
  font-size: 14px;
}

.modal-btn-close:hover {
  background: #515865;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 24px;
    padding: 16px;
  }

  .menu.active {
    display: flex;
  }

  .burger {
    display: flex;
  }
}