.about-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    direction: rtl;
}

.about-section {
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.about-section:nth-child(even) {
    flex-direction: row-reverse;
}

.about-section .content {
    flex: 1;
}

.about-section .image {
    flex: 0 0 400px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-section .image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Admin Editable Styles */
.admin-editable {
    position: relative;
}

.admin-editable:hover {
    outline: 2px dashed #007bff;
}

.editable {
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.editable:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.editable:focus {
    outline: 2px solid #007bff;
    background-color: white;
}

.image.admin-editable {
    cursor: pointer;
}

.image.admin-editable .edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.image.admin-editable:hover .edit-overlay {
    opacity: 1;
}

/* Location Section */
.location-section {
    margin-top: 60px;
}

.contact-info {
    margin-top: 20px;
    text-align: center;
}

/* Admin Controls */
.admin-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.save-changes-btn {
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.save-changes-btn:hover {
    background: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column !important;
    }
    
    .about-section .image {
        flex: 0 0 auto;
        width: 100%;
    }
}
