/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #4d4d4d;
    --accent-color: #d4af37; 
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-color: #1a1a1a; 
    --text-color: #ffffff;
    --border-color: #333333;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 25px rgba(212, 175, 55, 0.3); 
    --transition: all 0.3s ease;
    --section-spacing: 100px; 
    --content-spacing: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7; 
    color: var(--text-color);
    direction: rtl;
    text-align: right;
    background-color: #111111;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color); 
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 14px 35px; 
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700; 
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.btn:hover {
    background-color: var(--light-color);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn i { 
    margin-right: 8px; 
    font-size: 1.1em; 
}


.section-header {
    text-align: center;
    margin-bottom: 70px; 
}

.section-header h2 {
    font-size: 44px; 
    color: var(--accent-color);
    margin-bottom: 20px; 
    position: relative;
    display: inline-block;
    font-weight: 800; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.section-header h2::after {
    content: '';
    width: 80px; 
    height: 4px; 
    background-color: var(--accent-color);
    position: absolute;
    bottom: -12px; 
    right: 50%;
    transform: translateX(50%);
    border-radius: 2px; 
}

.section-header p {
    font-size: 20px;
    color: #bbbbbb; 
    max-width: 750px; 
    margin: 0 auto;
    line-height: 1.8;
}

/* Header Styles */
header {
    background-color: rgba(10, 10, 10, 0.85); 
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); 
    transition: background-color 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.4s ease; 
}

header.scrolled { 
    background-color: rgba(5, 5, 5, 0.7); 
    backdrop-filter: blur(10px); 
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4); 
}


header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.circular-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color); 
    padding: 3px; 
    background-color: var(--dark-color); 
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.logo-container:hover .circular-logo {
    transform: rotate(15deg) scale(1.05); 
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 { 
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 3px; 
    font-weight: 700;
    line-height: 1.2; 
}

.logo p { 
    font-size: 14px;
    color: #aaaaaa;
    font-weight: 400; 
}

nav .menu {
    display: flex;
}

nav .menu li {
    margin-right: 25px; 
}

nav .menu li:last-child {
    margin-right: 0;
}

nav .menu a {
    padding: 10px 15px;
    font-weight: 600;
    position: relative;
    color: var(--light-color);
    transition: var(--transition);
    font-size: 17px; 
    letter-spacing: 0.3px;
}

nav .menu a.active,
nav .menu a:hover {
    color: var(--accent-color);
}

nav .menu a::after { 
    content: '';
    position: absolute;
    bottom: -2px; 
    right: 15px;
    width: 0; 
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav .menu a.active::after,
nav .menu a:hover::after {
    width: calc(100% - 30px); 
}


.mobile-menu-btn {
    display: none; 
    background: transparent;
    border: none;
    font-size: 28px; 
    cursor: pointer;
    color: var(--accent-color); 
    padding: 5px; 
    z-index: 1001; 
    transition: transform 0.3s ease;
}
.mobile-menu-btn:hover {
    transform: scale(1.1);
}


@media (max-width: 992px) { 
     nav .menu {
        display: none;
        flex-direction: column;
        align-items: center; 
        width: 85%;
        max-width: 320px; 
        background-color: rgba(15, 15, 15, 0.98); 
        backdrop-filter: blur(5px);
        position: fixed;
        top: 0;
        right: -100%; 
        left: auto;
        height: 100vh;
        padding: 100px 30px 30px; 
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5); 
        z-index: 1000;
        overflow-y: auto;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); 
        border-left: 2px solid var(--accent-color); 
        border-right: none;
    }

    nav .menu.active {
        display: flex;
        right: 0; 
        left: auto;
    }

     nav .menu li {
        margin: 20px 0; 
        opacity: 0;
        transform: translateX(30px); 
        transition: opacity 0.4s ease, transform 0.4s ease;
        width: 100%; 
        text-align: center; 
    }

     nav .menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation delays */
    nav .menu li:nth-child(1) { transition-delay: 0.15s; }
    nav .menu li:nth-child(2) { transition-delay: 0.25s; }
    nav .menu li:nth-child(3) { transition-delay: 0.35s; }
    nav .menu li:nth-child(4) { transition-delay: 0.45s; }
    nav .menu li:nth-child(5) { transition-delay: 0.55s; }

     nav .menu a {
         font-size: 20px; 
         padding: 15px 0; 
         display: block; 
         width: 100%;
     }
      nav .menu a::after { 
         bottom: 5px;
         right: 50%;
         transform: translateX(50%);
         width: 0;
         transition: width 0.3s ease;
     }
      nav .menu a.active::after,
      nav .menu a:hover::after {
         width: 50px; 
     }


    .mobile-menu-btn {
        display: flex; 
         position: relative;
        width: 45px; 
        height: 45px;
        align-items: center;
        justify-content: center;
        /* Removed fixed positioning, let it flow in header */
    }

    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 999; 
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .mobile-menu-backdrop.active {
        display: block;
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('/13.png');
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
    color: var(--light-color);
    padding: 200px 0 150px; 
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh; 
    display: flex; 
    align-items: center; 
}

.hero::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(0, 0, 0, 0.2) 70%);
    opacity: 0.7;
}

.hero-content {
    max-width: 950px; 
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 64px; 
    margin-bottom: 25px;
    animation: fadeInDown 1s ease-out; 
    color: var(--light-color);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6); 
    font-weight: 800; 
}

.hero p {
    font-size: 24px; 
    margin-bottom: 40px; 
    animation: fadeInUp 1s ease-out 0.3s; 
    animation-fill-mode: backwards; 
    color: #dddddd; 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero .btn { 
     animation: fadeInUp 1s ease-out 0.6s;
     animation-fill-mode: backwards;
     padding: 18px 45px; 
     font-size: 18px;
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact {
    padding: var(--section-spacing) 0;
    background-color: #111111; 
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.15); 
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25"><path d="M12.5 0 L 15.5 9.5 L 25 9.5 L 17.5 15.5 L 20.5 25 L 12.5 19.5 L 4.5 25 L 7.5 15.5 L 0 9.5 L 9.5 9.5 Z" fill="%23d4af37" opacity="0.05"/></svg>'); 
    opacity: 0.4; 
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start; 
    margin-bottom: 0; 
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 26px; 
    margin-left: 25px; 
    color: var(--accent-color);
    width: 40px; 
    padding-top: 5px; 
    flex-shrink: 0; 
    text-align: center; 
}

.info-item div { 
    flex: 1;
}

.info-item h3 {
    font-size: 22px; 
    margin-bottom: 10px; 
    font-weight: 700; 
    color: var(--light-color);
}

.info-item p {
    font-size: 17px; 
    color: #cccccc; 
    line-height: 1.7; 
}

.info-item p a {
    color: #dddddd; 
    text-decoration: none;
    transition: var(--transition);
    display: inline-block; 
    margin-bottom: 6px; 
}

.info-item p a:hover {
    color: var(--accent-color);
    text-decoration: underline;
    transform: translateX(-3px); 
}

.info-item p .phone-number {
    font-weight: 600;
}

@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 70px 0 0; 
    border-top: 4px solid var(--accent-color); 
    position: relative;
}

footer::before {
     content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr; 
    gap: 60px; 
    margin-bottom: 40px; 
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    color: var(--accent-color); 
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
}

.footer-logo img {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-logo p {
    color: #aaa;
    line-height: 1.7;
    font-size: 15px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
}

.footer-col h3 {
    color: var(--light-color);
    margin-bottom: 25px; 
    position: relative;
    padding-bottom: 12px; 
    font-size: 20px; 
    font-weight: 600;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px; 
    background-color: var(--accent-color);
    border-radius: 1px;
}

.footer-col ul li {
    margin-bottom: 12px; 
}

.footer-col ul li a {
    color: #aaa;
    transition: var(--transition);
    font-size: 16px; 
    position: relative;
    padding-right: 0;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-right: 10px; 
}

.footer-col ul li a:hover::before { 
     content: '•';
     position: absolute;
     right: 0;
     color: var(--accent-color);
}

.footer-col ul.hours a {
    text-decoration: none;
}
.footer-col ul.hours a:hover span,
.footer-col ul.hours a:hover {
    color: var(--accent-color);
}

.hours li, .footer-col ul.hours a { 
    color: #aaa;
    font-size: 16px; 
     margin-bottom: 8px; 
    display: flex; 
    align-items: center;
    transition: var(--transition);
}
.footer-col ul.hours a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding: 25px 0; 
    border-top: 1px solid #222; 
    color: #888; 
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    transform: translateY(30px) scale(0.9); 
    font-size: 20px; 
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1); 
}

.back-to-top-btn:hover {
    background-color: var(--light-color);
    color: var(--accent-color);
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .footer-logo {
        text-align: center; 
    }
     .footer-logo img {
        margin-left: auto;
        margin-right: auto; 
    }

    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
        gap: 30px;
    }
    .footer-col h3::after { 
         right: 50%;
         transform: translateX(50%);
    }
     .footer-col {
         text-align: center; 
     }
      .footer-col ul li a:hover {
         padding-right: 0; 
     }
     .footer-col ul li a:hover::before {
          content: none; 
     }
     .footer-col ul.hours li, .footer-col ul.hours a {
        justify-content: center;
     }
     .footer-col ul.hours i {
        margin-left: 8px; 
     }
}

@media (max-width: 768px) {
   /* Header adjustments for smaller screens if needed */
     header .container {
       /* Already handled by mobile nav breakpoint */
     }

    .logo {
        /* Ensure logo is centered/well-placed */
    }

    .hero {
        padding: 150px 0 100px; 
        min-height: 60vh;
    }

    .hero h2 {
        font-size: 48px; 
    }

    .hero p {
        font-size: 20px; 
    }
     .hero .btn {
         padding: 16px 40px;
         font-size: 17px;
     }

    .back-to-top-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        left: 20px;
    }
    .contact-info-grid {
       padding: 35px; 
    }
    .info-item i {
        margin-left: 15px; 
        width: 35px;
    }
    .info-item h3 {
        font-size: 20px;
    }
    .info-item p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 36px; 
    }
    .section-header p {
        font-size: 18px;
    }

    .hero h2 {
        font-size: 40px;
    }
    .hero p {
        font-size: 18px;
    }
    .hero .btn {
        padding: 14px 35px;
        font-size: 16px;
    }

    .footer-content {
        gap: 30px;
    }
    .footer-links {
         grid-template-columns: 1fr; 
         gap: 30px;
    }
    .contact-info-grid {
       padding: 25px; 
       gap: 25px; 
    }
    .info-item i {
        font-size: 24px;
    }
}

/* Footer Adjustments - ensure correct column layout after removing newsletter */
@media (min-width: 993px) { 
    .footer-links {
        grid-template-columns: repeat(3, 1fr); 
    }
}
@media (max-width: 992px) {
     .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Social Media Sidebar */
.social-sidebar {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-toggle {
    display: none; 
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px; 
    opacity: 1; 
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 18px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    transform: scale(1.15);
}

.social-icon.tiktok {
    background: linear-gradient(45deg, #000000, #69C9D0);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.threads {
    background: linear-gradient(45deg, #000000, #333333);
}

.social-icon.youtube {
    background-color: #FF0000;
}

.social-countdown {
    display: none; 
}

@media (max-width: 768px) {
    .social-sidebar {
        left: 15px;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border: 3px solid var(--accent-color);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.lightbox-close:hover {
    background-color: var(--light-color);
    color: var(--accent-color);
    transform: rotate(90deg);
}

body.no-scroll {
    overflow: hidden;
}

/* Service image hover effect to indicate clickability */
.service-image {
    transition: filter 0.3s ease;
}

.service-image:hover {
    filter: brightness(1.1);
}