/* PROJECTS sekce */
.section-projects {
  width: 100vw;
  max-width: 100%;
  padding: 5rem 2rem;
  background: #f5f7fa;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.projects-title {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  box-sizing: border-box;
}

.projects-title h2 {
  font-size: 2.2rem;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.5rem;
  color: #0d0d0d;
}

.projects-title p {
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  color: #555;
}

.projects-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  box-sizing: border-box;
  justify-items: center;
  align-items: start;
}

.project-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}

.project-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.project-box i {
  font-size: 2rem;
  color: #2196f3;
  margin-bottom: 1rem;
}

.project-box.preparing {
  position: relative;
  opacity: 0.85;
  filter: grayscale(20%);
  transition: 0.3s ease;
}

.project-box .status-badge {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: #ffc107;
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
}

.teaser-box {
  position: relative;
  opacity: 0.95;
  background: #f5f5f5;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  padding-bottom: 2rem;
}

.teaser-box .notify-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.teaser-box input[type="email"] {
  padding: 0.6rem 1rem;
  width: 100%;
  max-width: 300px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.teaser-box button {
  padding: 0.6rem 1.2rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.teaser-box button:hover {
  background-color: #0056b3;
}

.teaser-box .status-badge {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: #ffc107;
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
}
.notify-status {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  position: relative;
  max-width: 90%;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.modal-close {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
}
.modal-close:hover {
  color: red;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .portfolio-row,
  .portfolio-row.reverse {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }

  .portfolio-media {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .portfolio-media img,
  .portfolio-media video {
    height: auto;
    border-radius: 12px;
  }

  .portfolio-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 0.5rem;
  }

  .portfolio-text h3 {
    font-size: 1.4rem;
    margin-top: 1rem;
  }

  .portfolio-text p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  #portfolio h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
}


