  :root {
    --dark-gray: #1a1a1a;
    --yellow: #FFD700;
    --light-yellow: #FFDF40;
    --text-color: #ffffff;
}

/* Genel kutu modelini düzeltme */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Mobilde yatay kaymayı engeller */
}

body {
    font-family: 'Arial', sans-serif;
    background: var(--dark-gray);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.form-container {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1rem;
    margin: 1rem auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    flex: 1;
    overflow-y: auto;
    width: 100%; /* Mobilde tam genişlik */
    max-width: 80%;
}

/* Masaüstü ve büyük ekranlar için kural */
@media (min-width: 601px) {
    .form-container {
        max-width: 80%;
    }
}

/* Mobil cihazlar ve dar ekranlar için kural */
@media (max-width: 600px) {
    .form-container {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        width: 100%; /* Mobil cihazlarda ekranı tamamen kaplar */
    }
}
.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.step {
    display: none;
    animation: fadeIn 0.3s;
}

.step.active { display: block; }

.form-group {
    margin: 1.5rem 0;
}

select, textarea, input[type="number"], input[type="tel"], input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--yellow);
    border-radius: 8px;
    background: #333;
    color: var(--text-color);
    font-size: 1rem;
    margin: 5px 0;
    box-sizing: border-box;
}

select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.radio-group {
    display: grid;
    gap: 1rem;
}

.radio-item {
    padding: 15px;
    border: 2px solid #444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.radio-item.selected::after {
    content: '✓';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yellow);
    font-size: 1.2rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

button {
    background: var(--yellow);
    color: var(--dark-gray);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

button.secondary {
    background: #444;
    color: var(--text-color);
}

button:hover {
    background: var(--light-yellow);
    transform: translateY(-2px);
}

button:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.progress-bar {
    height: 8px;
    background: #444;
    border-radius: 4px;
    margin: 2rem 0;
}

.progress-fill {
    height: 100%;
    background: var(--yellow);
    width: 0;
    transition: width 0.5s ease;
    border-radius: 4px;
}

#result {
    display: none;
    background: #333;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.summary-item {
    margin: 1rem 0;
    padding: 1rem;
    background: #444;
    border-radius: 8px;
}

.summary-item strong {
    color: var(--yellow);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.contact-buttons a {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-gray);
    background: #25D366;
    font-weight: bold;
    transition: all 0.3s;
}

.contact-buttons a:last-child {
    background: var(--yellow);
}

.contact-buttons a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Yükleme göstergesi */
#loadingIndicator {
    display: none;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--yellow);
}

#result > button {
    display: block;
    margin: 20px auto;
}

/* Admin Panel Stilleri */
.admin-panel {
    background: #333;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.admin-panel h2 {
    color: var(--yellow);
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 10px;
}

.admin-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form .form-group {
    margin: 10px 0;
}

.forum-posts {
    margin-top: 30px;
}

.forum-post {
    background: #444;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.forum-post h4 {
    margin: 0 0 10px 0;
    color: var(--yellow);
}

.forum-post .date {
    font-size: 0.8rem;
    color: #aaa;
}

.forum-post .content {
    margin: 10px 0;
}

.delete-post {
    background: #ff4444;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.admin-login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #333;
    border-radius: 10px;
}

.admin-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-menu a {
    color: var(--yellow);
    text-decoration: none;
}

@media (max-width: 600px) {
    body {
        padding: 0;
    }

    .form-container {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        width: 100%;
        max-width: 100%;
    }

    .step {
        padding: 0.5rem;
    }

    select, textarea, input[type="number"] {
        font-size: 16px;
    }

    button {
        width: 100%;
        margin: 0.5rem 0;
    }

    #result {
        padding: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/*
 * Bu CSS, tekliflogo.jpg ile tam uyumlu bir H1 başlık stili sunar.
 * Logodaki renk paletini ve yumuşak hatları yansıtır.
 */

.logo h1 {
    /* Logoya uyumlu, yumuşak hatlı bir font kullan */
    font-family: 'Montserrat', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Ekran boyutuna göre otomatik ayarlanabilen font boyutu */
    /* Daha küçük ve zarif bir görünüm için boyut aralığı daraltıldı */
    font-size: clamp(1rem, 3.5vw, 2rem);
    
    /* Font ağırlığını 500 (Medium) yaparak daha zarif bir görünüm sağla */
    font-weight: 500;
    
    /* Logodaki renklere yakın bir koyu krem tonu kullan */
    color: #E5D7B3;
    
    /* Yumuşak bir metin gölgesi ekle */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    
    /* Logo ile başlık arasındaki boşluğu ayarla */
    margin-top: 10px;
    margin-bottom: 0;
    
    /* Metni ortala */
    text-align: center;
    
    /* Yavaş ve yumuşak bir geçiş efekti ekle */
    transition: all 0.4s ease-in-out;
}

/* Küçük ekranlar için özel ayarlamalar */
@media (max-width: 768px) {
    .logo h1 {
        margin-top: 10px;
    }
}

/* Daha zarif bir hover (fareyle üzerine gelme) efekti ekle */
.logo h1:hover {
    /* Metnin rengini logodaki sarı tona dönüştürerek vurgula */
    color: #EEC242;
    /* Hafifçe yukarı doğru hareket ettirerek etkileşim hissi kat */
    transform: translateY(-2px);
}
