/* ========================================
   NAVIGATION BAR STYLES
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.nav-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navigation Links (Desktop) */
.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Buttons */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cta-btn svg {
    flex-shrink: 0;
}

/* WhatsApp Button */
.cta-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

/* Email Button */
.cta-email {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-email:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Call Button */
.cta-call {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-call:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Primary CTA (Form) */
.cta-primary {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #000;
    font-weight: 700;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 100px 2rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-nav-links {
    list-style: none;
    margin: 0 0 3rem 0;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    color: #25D366;
    transform: translateX(-10px);
}

/* Mobile CTA Buttons */
.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.mobile-cta-btn svg {
    flex-shrink: 0;
}

/* ========================================
   TABLET STYLES (768px+)
   ======================================== */

@media (min-width: 768px) {
    .nav-container {
        padding: 1rem 2rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
    
    .cta-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    
    .cta-text {
        display: inline-block;
    }
    
    .hide-mobile {
        display: inline-block;
    }
}

/* ========================================
   DESKTOP STYLES (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .nav-container {
        gap: 3rem;
    }
    
    .nav-links {
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .logo-img {
        height: 50px;
    }
}

/* ========================================
   RTL SUPPORT
   ======================================== */

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .mobile-nav-link:hover {
    transform: translateX(10px);
}
