/* ==========================================================================
   EL ETIHAD PLASTIC INDUSTRIES - INDUSTRIAL NAVBAR
   نافبار صناعي حديث - مختلف تماماً عن التصميم السابق
   ========================================================================== */

/* --------------------------------------------------------------------------
   MAIN NAVBAR - INDUSTRIAL STYLE
   -------------------------------------------------------------------------- */
.navbar-industrial-main {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Top bar with contact info */
.navbar-top-bar {
    background: #E31E24;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #FFFFFF;
}

.navbar-top-bar a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-top-bar a:hover {
    opacity: 0.8;
}

.navbar-top-bar i {
    margin-inline-end: 6px;
}

/* Main navbar container */
.navbar-main-content {
    padding: 1rem 0;
}

/* Logo section - industrial style */
.navbar-logo-industrial {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(227, 30, 36, 0.1);
    border-left: 4px solid #E31E24;
    transition: all 0.3s ease;
}

.navbar-logo-industrial:hover {
    background: rgba(227, 30, 36, 0.2);
    transform: translateX(5px);
}

/* Navigation links - industrial design */
.nav-industrial {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-industrial {
    position: relative;
}

.nav-link-industrial {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 1.5rem;
    color: #D1D5DB;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link-industrial::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #E31E24 0%, #1E40AF 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-industrial:hover::before,
.nav-link-industrial.active::before {
    width: 100%;
}

.nav-link-industrial:hover {
    color: #FFFFFF;
    background: rgba(227, 30, 36, 0.1);
}

.nav-link-industrial.active {
    color: #E31E24;
    font-weight: 700;
}

.nav-link-industrial i {
    font-size: 1rem;
}

/* CTA Button in navbar */
.nav-link-industrial.nav-cta {
    background: linear-gradient(135deg, #E31E24 0%, #C41E3A 100%);
    color: #FFFFFF;
    margin-left: 1rem;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    border-bottom: none;
}

.nav-link-industrial.nav-cta::before {
    display: none;
}

.nav-link-industrial.nav-cta:hover {
    background: linear-gradient(135deg, #C41E3A 0%, #E31E24 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.4);
}

/* Language switcher - industrial */
.language-switcher-industrial {
    position: relative;
}

.language-btn-industrial {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 64, 175, 0.2);
    border: 2px solid #1E40AF;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.language-btn-industrial:hover {
    background: rgba(30, 64, 175, 0.3);
    border-color: #3B82F6;
    transform: scale(1.05);
}

.language-dropdown-industrial {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #1F2937;
    border: 2px solid #E31E24;
    min-width: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-switcher-industrial:hover .language-dropdown-industrial {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown-industrial button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: #D1D5DB;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(227, 30, 36, 0.2);
}

.language-dropdown-industrial button:last-child {
    border-bottom: none;
}

.language-dropdown-industrial button:hover {
    background: rgba(227, 30, 36, 0.2);
    color: #FFFFFF;
    padding-left: 1.5rem;
}

/* Mobile toggle button - industrial */
.navbar-toggler-industrial {
    width: 45px;
    height: 45px;
    background: rgba(227, 30, 36, 0.2);
    border: 2px solid #E31E24;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.navbar-toggler-industrial:hover {
    background: rgba(227, 30, 36, 0.3);
    transform: rotate(90deg);
}

.navbar-toggler-industrial span {
    width: 25px;
    height: 3px;
    background: #E31E24;
    transition: all 0.3s ease;
}

.navbar-toggler-industrial.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.navbar-toggler-industrial.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler-industrial.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* Sticky navbar effect */
.navbar-industrial-main.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-industrial-main.sticky .navbar-top-bar {
    display: none;
}

.navbar-industrial-main.sticky .navbar-main-content {
    padding: 0.75rem 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    .nav-industrial {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 0 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-industrial.active {
        right: 0;
    }

    .nav-link-industrial {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(227, 30, 36, 0.2);
    }

    .nav-link-industrial::before {
        left: 0;
        width: 4px;
        height: 0;
    }

    .nav-link-industrial:hover::before,
    .nav-link-industrial.active::before {
        height: 100%;
        width: 4px;
    }

    .nav-link-industrial.nav-cta {
        margin: 1rem 2rem;
        text-align: center;
    }

    .language-switcher-industrial {
        padding: 1rem 2rem;
    }

    .language-dropdown-industrial {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
    }

    /* Mobile overlay */
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }

    .navbar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .navbar-top-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }

    .navbar-top-bar .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: center !important;
        text-align: center;
    }

    .navbar-top-bar a {
        font-size: 0.75rem;
    }

    .navbar-logo-industrial {
        padding: 0.5rem;
        border-left-width: 2px;
    }

    .etihad-logo-grid {
        width: 35px !important;
        height: 35px !important;
        gap: 2px;
    }

    .etihad-logo-text-ar {
        font-size: 14px;
    }

    .etihad-logo-text-en {
        font-size: 9px;
    }

    .navbar-main-content {
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .navbar-top-bar {
        font-size: 0.65rem;
        padding: 4px 0;
    }

    .etihad-logo-grid {
        width: 30px !important;
        height: 30px !important;
        gap: 1px;
    }

    .etihad-logo-text-ar {
        font-size: 12px;
    }

    .etihad-logo-text-en {
        font-size: 8px;
    }

    .navbar-toggler-industrial {
        width: 40px;
        height: 40px;
    }
}

/* --------------------------------------------------------------------------
   INDUSTRIAL ACCENTS
   -------------------------------------------------------------------------- */

/* Corner brackets effect */
.navbar-industrial-main::before,
.navbar-industrial-main::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid #E31E24;
}

.navbar-industrial-main::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.navbar-industrial-main::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Diagonal stripe accent */
.navbar-accent-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        45deg,
        #E31E24,
        #E31E24 10px,
        #1E40AF 10px,
        #1E40AF 20px
    );
    background-size: 28px 4px;
    animation: stripeMove 1s linear infinite;
}

@keyframes stripeMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 28px 0;
    }
}

/* --------------------------------------------------------------------------
   END OF INDUSTRIAL NAVBAR
   -------------------------------------------------------------------------- */
