/* Navbar Styles - From Store */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(to bottom, #e8e0d4, #d4cdc2);
    z-index: 1000;
    direction: rtl;
    transition: transform 0.3s ease;
}

.navbar-hidden {
    transform: translateY(-100%);
}

.logo img {
    height: 100px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    direction: rtl;
}

.main-menu {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 5px;
    gap: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: #5a5a5a;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    white-space: nowrap;
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: #000;
}

.nav-link.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.nav-link.active::after {
    display: none;
}

.nav-left .nav-link {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

.nav-left .nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #333;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.icon-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Footer - From Store */
.footer {
    background: transparent;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    padding: 3rem 4rem;
    direction: rtl;
    position: relative;
    z-index: 10;
    font-family: sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 220px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-links {
    text-align: right;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    gap: 1rem;
}

.link-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(-5px);
}

.footer-contact {
    text-align: right;
}

.footer-contact h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    color: #5a5a5a;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
    padding: 0.5rem;
}

@media (max-width: 900px) {

    /* Add space for fixed navbar */
    body {
        padding-top: 100px !important;
    }

    .hamburger {
        display: block !important;
    }

    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 1rem !important;
        justify-content: space-between !important;
        z-index: 9999 !important;
    }

    /* Center Logo on Mobile */
    .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 1001 !important;
    }

    .logo img {
        height: 70px !important;
    }

    /* Hide Desktop Menu */
    .nav-menu,
    .nav-left {
        display: none !important;
    }

    /* Mobile Menu State */
    .navbar.active {
        flex-direction: column;
        align-items: center;
        background: #e8e0d4;
        /* Solid background when open */
        height: 100vh;
        /* Full screen menu */
        justify-content: flex-start;
        padding-top: 6rem;
        overflow-y: auto;
    }

    .navbar.active .logo {
        position: absolute;
        top: 10px;
        /* Keep logo at top */
    }

    .navbar.active .hamburger {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .navbar.active .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 2rem;
    }

    .navbar.active .main-menu {
        flex-direction: column;
        width: 80%;
        background: transparent;
        border: none;
        gap: 1rem;
    }

    .navbar.active .nav-link {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .navbar.active .nav-left {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }
}

/* Hide hamburger menu */
.hamburger { display: none !important; }
