/* ==========================================================================
   URFA MİMARLIK FESTİVALİ - ANA STİL DOSYASI
   ========================================================================== */

/* --- Temel Sıfırlamalar ve Yapı --- */
* {
    box-sizing: border-box;
}

body {
    /* Header.php içinde font-family ve background tanımlandı */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- SPLASH EKRANI (Açılış Animasyonu) --- */
.splash-container {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out; /* Yumuşak kapanış için */
}

.splash-logo {
    text-align: center;
    animation: pulse 2s infinite ease-in-out; /* Hafif nefes alma animasyonu */
}

.splash-logo h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.splash-logo p {
    font-size: 1.1rem;
    color: #aaaaaa;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- FESTİVAL BİLGİLENDİRME MODALI --- */
.modal-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Arkası hafif daha koyu */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* Splash'in bir tık altında */
    padding: 20px;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    position: relative;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-height: 90vh; /* Ekrana sığması için */
    overflow-y: auto; /* İçerik uzarsa scroll çıksın */
}

/* Kapatma Çarpısı (X) */
.close-btn {
    position: absolute;
    top: 15px; 
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff3333;
}

/* Modal İçindeki PDF/Afiş Görseli */
.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- FORMLAR VE BUTONLAR --- */
.primary-btn, .submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.1s;
    font-family: inherit;
}

.primary-btn:hover, .submit-btn:hover {
    background-color: var(--secondary-color);
}

.primary-btn:active, .submit-btn:active {
    transform: translateY(2px); /* Tıklanma hissi */
}

#registration-form {
    margin-top: 10px;
}

#registration-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); /* Odaklanma gölgesi */
}

/* Form Başarı/Hata Mesajı Alanı */
.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 15px;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 15px;
}