/* 
* Üçyıldız Seyahat - Okul Servisi Kayıt Sayfası CSS
*/

/* ===== SAYFA HERO ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('../img/servis.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

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

.page-hero h1 {
    font-size: 3rem;
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

/* ===== KAYIT BÖLÜMÜ ===== */
.register-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.register-info .benefits {
    margin-top: 1rem;
}

.register-info .benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.register-info .benefits i {
    color: var(--accent-color);
}

.register-form-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-group.required label::after {
    content: '*';
    color: #dc3545;
    margin-left: 4px;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

.privacy-note {
    margin-top: 0.8rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 992px) {
    .register-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.is-active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    position: relative;
    background: #fff;
    width: min(520px, 92vw);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.2rem 1.2rem 1rem;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 0.5rem;
}

.modal-title {
    margin: 0;
}

.modal-body {
    color: var(--gray-color);
}

.modal-footer {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}


