/* Genel Ayarlar ve Tipografi */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f0e3; /* Yumuşak krem rengi arka plan */
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

h1, h2, h3 {
    color: #e67e22; /* Turuncu başlık rengi */
}

.nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #d35400; /* Koyu turuncu hover rengi */
}

/* Hero Section Stilleri */
.hero-section {
    background: linear-gradient(rgba(230, 126, 34, 0.8), rgba(211, 84, 0, 0.8)), url('https://via.placeholder.com/1500x500/d35400/ffffff?text=Hangar+Tedarik') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f9f9f9;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #f1c40f; /* Sarı buton, turuncu ile uyumlu */
    color: #1a2a44;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-button:hover {
    background-color: #f39c12;
    transform: translateY(-3px);
}

/* Modüler Bileşenler */
.card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9e9e9;
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #e67e22; /* Turuncu odak rengi */
}

button {
    width: 100%;
    padding: 14px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.list-item {
    background-color: #fff;
    padding: 20px;
    border-left: 5px solid #f1c40f; /* Sarı çizgi */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    transition: box-shadow 0.3s;
}

.list-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.list-item h3 {
    margin: 0 0 10px;
    color: #2c3e50;
}

.list-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

/* Yönetici Paneli Butonları ve Modal Stilleri */
.list-item-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.action-button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.edit-button {
    background-color: #f39c12; /* Turuncu tonu */
    color: white;
}

.edit-button:hover {
    background-color: #e67e22;
}

.delete-button {
    background-color: #e74c3c; /* Kırmızı tonu, turuncu ile uyumlu */
    color: white;
}

.delete-button:hover {
    background-color: #c0392b;
}

/* Modal Kutusu Stilleri - Geliştirilmiş ve Ortalı */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex; /* Flexbox ile dikeyde ve yatayda ortala */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
    animation: fadeIn 0.3s ease-out; /* Hafif animasyon */
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #e67e22;
}

.close-button {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close-button:hover {
    color: #555;
}

/* Animasyon */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
