.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* içeriği aşağıya yaslar */
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3); /* yarı saydam overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
    /* istersen gradient bırakabilirsin */
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.hero h1 {
  font-weight: 700;
}
.btn-custom {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 15px;
  font-size: 18px;
  font-weight: 500;
  width: 90%;
  max-width: 350px;
  margin: 20px auto 0;
  display: inline-block;
}
.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.photo-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 180px;
}
.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,0,0,0.8);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

/* Tablet / büyük telefon */
@media (max-width: 768px) {
    .photo-box {
        flex: 1 1 calc(50% - 10px); /* 2 sütun */
        max-width: calc(50% - 10px);
    }
}

/* Küçük telefon */
@media (max-width: 480px) {
    .photo-box {
        flex: 1 1 100%; /* 1 sütun */
        max-width: 100%;
    }
}
/* Basit modal stili */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}
