body {
    font-family: 'Tajawal', sans-serif; /* Ensuring Tajawal is the primary font */
    background-color: #4a4a4a; /* Softer, warmer background */
    margin: 0;
    padding: 0;
    direction: rtl;
    color: #333; /* Darker text for better readability */
}

/* Header - More refined colors and shadow */
header {
    background-color: #FFFFFF; /* White header for a clean look */
    color: #333; /* Dark text for contrast with white header */
    padding: 15px 0; /* Adjusted padding */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Softer, more pronounced shadow */
}

/* Navigation links - Enhanced hover effects */
nav a {
    color: #555; /* Slightly softer link color */
    margin: 0 15px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease; /* Smooth color transition */
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0; /* For RTL, line starts from right */
    background-color: #D10000; /* Red underline on hover */
    transition: width 0.3s ease-out; /* Smooth underline animation */
}

nav a:hover::after {
    width: 100%;
    left: 0; /* For RTL, expands to the left */
}

nav a:hover {
    color: #D10000; /* Red on hover */
}

section {
    padding: 60px 20px; /* Increased padding for more breathing room */
    text-align: center;
}

/* About Section - Specific styling for better visual flow */
#about {
    background-color: #FFFFFF;
}

#about img {
    border-radius: 1rem; /* More pronounced rounded corners */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Deeper shadow for image */
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

#about h2 {
    color: #A00000; /* Deeper red for headings */
    font-size: 2.8rem; /* Larger heading */
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

#about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #D10000;
    margin: 10px auto 0;
    border-radius: 2px;
}

#about p {
    color: #444;
    line-height: 1.8;
    font-size: 1.15rem;
}


/* Menu Section - Button styling */
.btn-danger {
    background-color: #D10000; /* Stronger red for buttons */
    border-color: #D10000;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px; /* Pill-shaped button */
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(209, 0, 0, 0.3);
}

.btn-danger:hover {
    background-color: #A00000; /* Darker red on hover */
    border-color: #A00000;
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 6px 12px rgba(209, 0, 0, 0.4);
}

/* Modal specific adjustments for menu */
.modal-content {
    border-radius: 1rem;
    overflow: hidden; /* Ensures rounded corners on image inside */
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6); /* Slightly more opaque caption */
    padding: 15px;
    border-radius: 0.5rem;
    bottom: 20px; /* Lift caption slightly */
}

.carousel-caption h5 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #FFF;
}

.carousel-caption p {
    font-size: 1.2rem;
    color: #EEE;
}


/* Gallery */
#gallery {
    background-color: #FDF9F6; /* Consistent with body background */
}

#gallery h2 {
    color: #A00000;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

#gallery h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #D10000;
    margin: 10px auto 0;
    border-radius: 2px;
}

.gallery img { /* Targeting images specifically within the gallery row */
    border-radius: 0.75rem; /* Consistent rounded corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Consistent shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Ensure images fill their column */
    height: 250px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.gallery img:hover {
    transform: scale(1.03); /* Slightly enlarge on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}


/* Contact Section - Form and social media styling */
#contact {
    background-color: #FDF9F6;
}

#contact h2 {
    color: #A00000;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

#contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #D10000;
    margin: 10px auto 0;
    border-radius: 2px;
}

#contact form {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

#contact input,
#contact textarea {
    padding: 15px;
    border: 1px solid #E0E0E0; /* Lighter border */
    border-radius: 0.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #FDFDFD;
}

#contact input:focus,
#contact textarea:focus {
    border-color: #D10000; /* Red border on focus */
    box-shadow: 0 0 0 3px rgba(209, 0, 0, 0.1); /* Subtle glow on focus */
    outline: none;
}

#contact button[type="submit"] {
    background-color: #D10000;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(209, 0, 0, 0.3);
}

#contact button[type="submit"]:hover {
    background-color: #A00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(209, 0, 0, 0.4);
}

/* Social media icons */
.contact-icons a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Specific colors for social media icons */
.fab.fa-facebook-square {
    color: #3b5998;
}

.fab.fa-instagram {
    color: #C13584; /* Instagram's brand color */
}

.fab.fa-tiktok {
    color: #000; /* TikTok's main color is black */
}


/* Footer - Darker and more elegant */
footer {
    background-color: #222; /* Darker footer */
    color: #EEE; /* Lighter text */
    text-align: center;
    padding: 20px;
    font-size: 0.95rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow at the top */
}

/* General improvements for headings using Tailwind classes where possible */
h2 {
    font-weight: 900; /* Make headings bolder */
}

/* Sticky header blur */
.sticky-header {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}
body {
  background-color: #656564; /* بدلاً من FDF9F6 */
  color: #2F2F2F;
}
.btn-danger,
#contact button[type="submit"] {
  background-color: #B22222;
  border-color: #B22222;
}

.btn-danger:hover,
#contact button[type="submit"]:hover {
  background-color: #8B1A1A;
  border-color: #8B1A1A;
}
