/* Color Variables */
:root {
    --primary-color: #2C3E50;       /* Dark Blue */
    --secondary-color: #18BC9C;     /* Teal */
    --accent-color: #E74C3C;        /* Red */
    --text-color: #333333;          /* Dark Grey */
    --background-color: #EEEEEE;    /* White */
    --container-background-color: #cc1100;    /* White */
    --header-background: #F7F7F7;   /* Light Grey */
    --footer-background: #2C3E50;   /* Dark Blue */
    --link-color: #18BC9C;          /* Teal */
    --link-hover-color: #E74C3C;    /* Red */
    --button-background: #18BC9C;   /* Teal */
    --button-text-color: #FFFFFF;   /* White */
}

/* General Styles */
body {
    margin: 0;
    font-family: 'Amiri', serif;
    direction: rtl;
    text-align: right;
    background-color: var(--background-color);
    color: var(--text-color);
}


/* Header Styles */
header {
    background-color: var(--header-background);
    color: var(--text-color);
    padding: 20px 0;
    border-bottom: 2px solid var(--primary-color);
}

header h1 {
    text-align: center;
    margin: 0;
    font-size: 36px;
}

nav ul {
    list-style-type: none;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}

nav li {
    display: inline-block;
    margin: 0 15px;
 

}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 24px;
    padding: 5px 10px;
    border-radius: 5px;
}

nav a:hover {
    background-color: var(--link-hover-color);
    color: var(--button-text-color);
}

 
 
#hero {
	font-color: #FFFFFF;
    background-image: url('books.webp');
    background-size: cover;
    background-position: center;
}


#hero h2 {
    font-size: 48px;
    margin: 0 0 20px;
 
}

#hero p {
    font-size: 36px;
    margin-bottom: 30px;
	text-shadow:   0 0 0.2em blue;
}

 

/* Section Styles */
section {
    padding: 60px 20px;
    text-align: center;
    color: #FFFFFF;
	 
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
     
}

section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
/* Container Styles */
.container {
	max-width: 1000px;
	margin: auto;
	background-color: var(--container-background-color);
}

/* Container Styles */
.content {
	 color: #FFFFF;
}

 


/* Gallery Styles */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    margin: 10px;
	
}

.gallery-item img {
    width: 450px;
    height: 278px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: transform 0.3s, border-color 0.3s;
	cursor: zoom-in;
}

.gallery-item img:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

/* Contact Form Styles */
form {
    max-width: 500px;
    margin: 0 auto;
    text-align: right;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--primary-color);
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    text-align: right;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    background-color: var(--button-background);
    color: var(--button-text-color);
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: var(--accent-color);
}

/* Footer Styles */
footer {
    background-color: var(--footer-background);
    color: var(--button-text-color);
    text-align: center;
    padding: 30px 0;
}

footer p {
    margin: 0;
    font-size: 16px;
}


/* Contact Section Styles */
#contact {
    background-color: var(--header-background);
    padding: 60px 20px;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

#contact .contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: right;
    color: var(--text-color);
}

#contact .contact-info p {
    font-size: 20px;
    margin-bottom: 15px;
}

#contact .contact-info a {
    color: var(--link-color);
    text-decoration: none;
}

#contact .contact-info a:hover {
    text-decoration: underline;
}

#contact .social-media {
    margin-top: 30px;
}

#contact .social-media a {
    margin: 0 15px;
    font-size: 28px;
    color: var(--primary-color);
    text-decoration: none;
}

#contact .social-media a:hover {
    color: var(--accent-color);
}



/* Responsive Styles */
@media (max-width: 768px) {
    #hero h2 {
        font-size: 36px;
    }

    #hero p {
        font-size: 18px;
    }

    nav li {
        display: block;
        margin: 10px 0;
    }

    .gallery-item img {
        width: 100%;
		
    }
}


/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    margin: auto; /* Location of the box */
    padding: auto; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    padding-top: 10vh;
    display: block;
    max-width: 80%;
    max-height: 80%;
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Animation */
@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

/* Close button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Caption text */
#caption {
    margin: auto;
    display: block;
	font-size: 60px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

