/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

/* Header styles */
header {
    padding: 1rem;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #666;
}

/* Main content styles */
main {
    flex: 1;
    display: flex;
    padding: 2rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Image section styles */
.image-section {
    flex: 1;
    max-height: 90vh;
    display: flex;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    overflow: hidden;
}

.bw-image, .color-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.color-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-container:hover .color-image {
    opacity: 1;
}

/* Content section styles */
.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
}

.text-columns {
    display: flex;
    gap: 3rem;
}

.column {
    flex: 1;
}

.column h1 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.ar {
    font-family: "Arial", sans-serif;
    direction: rtl;
    text-align: right;
}

.en {
    text-align: left;
}

/* Footer styles */
footer {
    padding: 1rem;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #666;
}

/* Responsive styles */
@media (max-width: 768px) {
    main {
        flex-direction: column;
        padding: 1rem;
    }

    .image-section {
        width: 100%;
        max-height: none;
    }

    .image-container {
        max-height: none;
    }

    .content-section {
        width: 100%;
        max-width: none;
    }

    .text-columns {
        flex-direction: column;
        gap: 2rem;
    }

    .column h1 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
