/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: #f5f1e8;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Arka Plan */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/asmalibahce.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.floor-plan { display: none; }

/* Ana İçerik */
.main-content { padding: 40px; text-align: center; flex: 1; }
.header { margin-top: 60px; }
.header h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: #5c4a3d; margin-bottom: 10px; letter-spacing: 2px; }
.subtitle { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #8b7355; font-style: italic; }

/* FAB Buton */
.reservation-fab {
    position: fixed; bottom: 30px; right: 30px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white; border: none; padding: 18px 32px; border-radius: 50px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
    display: flex; align-items: center; gap: 10px;
    transition: all 0.3s ease; z-index: 100;
}
.reservation-fab:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(139, 69, 19, 0.5); }
.reservation-fab svg { width: 24px; height: 24px; }

/* Modal */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 1000;
    justify-content: flex-end; align-items: center; padding: 20px;
    animation: fadeIn 0.3s ease;
}
.modal-overlay.active { display: flex; }
.modal-container {
    background: white; border-radius: 20px; width: 100%; max-width: 450px;
    max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}
.modal-header {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white; padding: 30px; text-align: center; position: relative;
}
.modal-header h2 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 5px; }
.modal-subtitle { font-style: italic; opacity: 0.9; }
.close-btn {
    position: absolute; top: 15px; right: 15px;
    background: rgba(255, 255, 255, 0.2); border: none;
    width: 36px; height: 36px; border-radius: 50%;
    color: white; font-size: 24px; cursor: pointer;
    transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;
}
.close-btn:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }
.modal-body { padding: 30px; }

/* Form */
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; color: #5c4a3d; font-weight: 700; font-size: 14px; }
.form-group select, .form-group input, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 2px solid #e0d5c7; border-radius: 10px;
    font-size: 15px; font-family: 'Lato', sans-serif; transition: all 0.3s ease; background: #faf8f5;
    cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url("image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b4513' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-group select:focus, .form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: #8b4513; background: white; box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

/* Policy Sections */
.policy-section { background: #fff8f0; border: 1px solid #e0d5c7; border-radius: 10px; padding: 15px; margin-bottom: 20px; }
.policy-item { display: flex; align-items: flex-start; gap: 12px; }
.policy-icon { color: #d32f2f; flex-shrink: 0; margin-top: 2px; }
.policy-content h4 { color: #5c4a3d; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.policy-content p { color: #8b7355; font-size: 13px; line-height: 1.4; }
.kvkk-section { margin-bottom: 20px; }
.marketing-section { background: #f5f1e8; border: 1px solid #e0d5c7; border-radius: 10px; padding: 15px; margin-bottom: 20px; }
.marketing-section h4 { color: #5c4a3d; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.marketing-desc { color: #8b7355; font-size: 13px; margin-bottom: 12px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: #5c4a3d; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; accent-color: #8b4513; }
.checkbox-label span { line-height: 1.4; }
.checkbox-label a { color: #8b4513; text-decoration: underline; font-weight: 600; }
.checkbox-label a:hover { text-decoration: none; }

/* Submit Button */
.submit-btn {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white; border: none; border-radius: 10px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; margin-top: 10px;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139, 69, 19, 0.4); }
.submit-btn:active { transform: translateY(0); }

/* Success Modal */
.success-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); z-index: 2000;
    justify-content: center; align-items: center; animation: fadeIn 0.3s ease;
}
.success-modal.active { display: flex; }
.success-content {
    background: white; padding: 50px; border-radius: 20px;
    text-align: center; max-width: 400px; animation: scaleIn 0.3s ease;
}
.success-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; margin: 0 auto 25px;
}
.success-content h2 { font-family: 'Playfair Display', serif; color: #5c4a3d; margin-bottom: 15px; font-size: 2rem; }
.success-content p { color: #8b7355; margin-bottom: 10px; }
.success-details { background: #f5f1e8; padding: 15px; border-radius: 10px; margin: 20px 0; font-weight: 600; color: #5c4a3d; }
.close-success-btn {
    margin-top: 20px; padding: 14px 40px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white; border: none; border-radius: 10px;
    font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
}
.close-success-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139, 69, 19, 0.4); }

/* Footer */
.site-footer { background: rgba(92, 74, 61, 0.9); padding: 20px; text-align: center; margin-top: auto; }
.footer-link { color: #e8dfd1; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.footer-link:hover { color: #fff; text-decoration: underline; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Responsive */
@media (max-width: 768px) {
    .header h1 { font-size: 2.5rem; }
    .reservation-fab { bottom: 20px; right: 20px; padding: 15px 25px; font-size: 14px; }
    .modal-container { max-height: 95vh; }
    .background-container { background-position: top center; }
    .policy-item { flex-direction: column; gap: 8px; }
    .footer-link { font-size: 12px; }
}

/* Loading */
.loading {
    display: inline-block; width: 20px; height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%;
    border-top-color: white; animation: spin 1s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.submit-btn.loading-btn { pointer-events: none; opacity: 0.8; }