/* === Site Header & Side Menu Styles === */
/* Global font family */
* {
    font-family: 'Montserrat', Arial, sans-serif;
}

.site-header {
    position: relative;
}
.logo {
    user-select: none;
}

.logo a {
    display: inline-block;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.logo img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo a:hover img {
    transform: scale(1.02);
}
.header-row {
    min-height: 70px;
}
.nav-link {
    color: #888;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 1rem;
    transition: color 0.2s;
}
.nav-link.active, .nav-link:hover {
    color: #222;
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* Main navigation font style */
.nav, .nav-link, .nav-item {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
}
/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 1050;
    transform: translateX(-100vw);
    transition: transform 0.3s cubic-bezier(.77,0,.18,1);
    box-shadow: 2px 0 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.side-menu.open {
    transform: translateX(0);
}
.side-menu .close-btn {
    background: none;
    border: none;
    z-index: 1100;
    line-height: 1;
    padding: 0;
}
.side-menu-list {
    height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.side-link {
    color: #fff !important;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: color 0.2s;
}
.side-link.active, .side-link:hover {
    color: #eaeaea !important;
    text-decoration: underline !important;
    text-underline-offset: 6px;
}
.side-menu .logo {
    margin-bottom: 0 !important;
}
.side-menu .nav-item {
    margin: 0.5rem 0 !important;
}
.side-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.2);
    z-index: 1049;
}
.side-menu.open ~ .side-menu-overlay {
    display: block;
}

/* Mobile Language Switcher in Header */
.language-switcher-header {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.language-switcher-header .btn {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    color: #333;
    font-weight: 500;
}

.language-switcher-header .btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #999;
}

.language-switcher-header .dropdown-menu {
    min-width: 120px;
    font-size: 0.9rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.language-switcher-header .dropdown-item {
    padding: 6px 12px;
    font-weight: 500;
}

.language-switcher-header .dropdown-item.active {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
}

/* Ensure the language switcher doesn't interfere with logo centering */
.header-row {
    position: relative;
}

.header-row .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-width: 60%;
    z-index: 1;
}

/* Fix menu toggle button positioning */
#menuToggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}


.header-img {
    width: 100vw;
    height: 60vh;
    object-fit: cover;
    display: block;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: unset;
}

@media (max-width: 767.98px) {
    .logo {
        margin-bottom: 0 !important;
    }
    .site-header {
        padding-top: 0 !important;
    }
    .header-row {
        margin-top: 0 !important;
        padding-top: 0 !important;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    #menuToggle {
        margin-right: 0;
    }
    .header-img {
        height: 30vh;
    }
}

.custom-grid-section .grid-box {
    min-height: 260px;
    height: 32vw;
    max-height: 350px;
    background: #222;
    border-radius: 0.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    flex-direction: column;
}
.custom-grid-section .grid-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 1;
    transition: opacity 0.3s;
    border-radius: 0 !important;
}
.custom-grid-section .grid-box:hover .grid-img {
    opacity: 0.5;
}
.custom-grid-section .grid-text {
    position: absolute;
    z-index: 2;
    color: #fff;
    bottom: 0;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    text-transform: uppercase;
    width: 100%;
    padding-bottom: 1rem;
}
.custom-grid-section .bg-green {
    background: #858e85 !important;
}
.custom-grid-section .bg-green .grid-text {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    text-transform: none;
    letter-spacing: 0;
}
@media (max-width: 767.98px) {
    .custom-grid-section .grid-box {
        height: 38vw;
        min-height: 120px;
        max-height: 180px;
    }
    .custom-grid-section .grid-text {
        font-size: 1.1rem;
    }
}

.footer-divider {
    width: 100vw;
    max-width: 100vw;
    height: 3px;
    background: #111;
    border-radius: 2px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.footer-rights {
    color: #222;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.footer-social {
    gap: 0.7rem !important;
}
.footer-icon {
    width: 34px;
    height: 34px;
    background: #e0e0e0;
    border-radius: 50%;
    color: #222;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.footer-icon:hover {
    background: #bbb;
    color: #111;
}
.footer-icon i {
    line-height: 1;
}

/* === WhatsApp Floating Button === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Language Switcher Mobile Styles */
.language-switcher-mobile {
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher-mobile .btn {
    min-width: 40px;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.language-switcher-mobile .btn:hover {
    transform: scale(1.05);
}


/* === Contact Page Styles === */
.contact-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #222;
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}
.contact-desc {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
}
.contact-wedding-link {
    display: block;
    text-align: center;
    margin-bottom: 60px;
}
.contact-wedding-link a {
    font-size: 1rem;
    font-style: italic;
    color: #c3c8c1;
    text-decoration: underline;
    text-underline-offset: 6px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.contact-wedding-link a:hover {
    color: #858e85;
}
.contact-email {
    text-align: center;
    margin-top: 60px;
    font-size: 1rem;
    color: #222;
    font-weight: 500;
}
.contact-email span {
    font-style: italic;
    font-weight: 400;
    color: #444;
}
@media (max-width: 767.98px) {
    .contact-title { font-size: 1.2rem; margin-top: 30px; margin-bottom: 30px; }
    .contact-desc { font-size: 0.6rem; }
    .contact-wedding-link a { font-size: 1.1rem; }
    .contact-email { font-size: 0.5rem; margin-top: 30px; }
}

/* === About Page Styles === */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: 40px 0 60px 0;
}
.about-img {
    height: 520px;
    max-height: 520px;
    border-radius: 40px;
    overflow: hidden;
    /* box-shadow: 0 2px 16px rgba(0,0,0,0.08); */
    /* background: #fff; */
    object-fit: cover;
}
.about-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px;
}
.about-text {
    flex: 1 1 380px;
    max-width: 700px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #222;
    font-size: 1.3rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
}
.about-text strong {
    font-size: 2rem;
    font-weight: 700;
}
.about-text em {
    color: #858e85;
    font-style: italic;
    font-size: 1.05rem;
}
.about-text a {
    color: #858e85;
    text-decoration: underline;
    font-weight: 500;
}
@media (max-width: 991.98px) {
    .about-section { flex-direction: column; align-items: center; gap: 32px; }
    .about-img { max-width: 90vw; height: auto; max-height: none; }
    .about-text { max-width: 98vw; font-size: 1rem; min-height: unset; }
}
@media (max-width: 575.98px) {
    .about-img { border-radius: 18px; }
    .about-img img { border-radius: 18px; }
    .about-section { margin: 18px 0 30px 0; }
}
/* === Freelance Page Styles === */

/* === Filmmaker Page Styles === */



/* جعل النص في منتصف الأسفل مع تدرج */
.grid-box {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: inline-block;
    text-decoration: none;
}
.grid-box::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    z-index: 1;
    pointer-events: none;
}