﻿body {
    font-family: 'Segoe UI', sans-serif;
    background:#e7e7e7;
    color: #1b1f23;
    line-height: 1.6;
}

.navbar {
    background: linear-gradient(to right, #ffffffee, #f5f8ff); /* ավելի բաց գունային ֆոն */
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

    .navbar .nav-link,
    .navbar .navbar-brand {
        color: #003b9c;
        font-weight: 600;
    }

        .navbar .nav-link:hover {
            color: #00c6ff !important;
        }

    .navbar.scrolled {
        background: rgba(233, 233, 233, 0.92);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
footer {
    background: linear-gradient(to right, #1a1a1a, #000000);
    color: #ccc;
}

    footer h5, footer h6 {
        color: #fff;
    }
.hero-tech-banner {
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
}

    .hero-tech-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55); /* Dark overlay for text readability */
        z-index: 0;
    }

    .hero-tech-banner .container {
        position: relative;
        z-index: 1;
    }
.hero-tech {
    min-height: 320px;
    background: radial-gradient(circle at top left, #0d6efd, #6f42c1, #6610f2);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: #ffc107;
    background: linear-gradient(to right, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-glow {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s ease;
    box-shadow: 0 0 10px #00c6ff99;
}

    .btn-glow:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px #00c6ffcc;
    }

.hero-bg-lights {
    pointer-events: none;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite alternate;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: #00f2fe;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: #ff6ec4;
    bottom: -150px;
    right: -150px;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: #ffd700;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes float {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(-20px) scale(1.05);
    }
}
.icon-svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    stroke: currentColor;
}
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

    .section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40%;
        height: 3px;
        background: #0d6efd;
        border-radius: 2px;
    }

.special-slider {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .special-slider::-webkit-scrollbar {
        display: none;
    }

.slider-item {
    flex: 0 0 auto;
    width: 250px;
}

.product-card {
    background: #ffffff;
    border-radius: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

.btn-primary {
    background: linear-gradient(to right, #0072ff, #00c6ff);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 98, 255, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(to right, #00c6ff, #0072ff);
        box-shadow: 0 6px 20px rgba(0, 98, 255, 0.4);
        transform: scale(1.03);
    }

.btn-outline-primary {
    color: #0056d2;
    border-color: #0056d2;
}

    .btn-outline-primary:hover {
        background-color: #0056d2;
        color: #fff;
    }

.badge {
    font-size: 0.75rem;
    padding: 0.35em 0.6em;
    border-radius: 1rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 65, 108, 0.3);
}
.custom-navbar {
    background: #ffffffee;
    backdrop-filter: blur(12px);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

    .custom-navbar .navbar-brand {
        font-weight: 700;
        background: linear-gradient(to right, #0d6efd, #6610f2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 1.8rem;
    }

    .custom-navbar .nav-link {
        color: #1b1f23;
        transition: color 0.3s ease;
        padding: 0.5rem 0.8rem;
        border-radius: 0.5rem;
    }

        .custom-navbar .nav-link:hover,
        .custom-navbar .nav-link.active {
            background-color: #eaf3ff;
            color: #0d6efd;
        }

    .custom-navbar .dropdown-menu {
        background: #fff;
        border-radius: 1rem;
        border: none;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .custom-navbar .dropdown-item:hover {
        background-color: #f0f8ff;
        color: #0056d2;
    } 

#global-loading {
    background: rgba(0, 0, 0, 0.7);
}
@media (max-width: 576px) {
    html, body {
        width: 100%;
        overflow-x: hidden; 
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: manipulation;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar .nav-link {
        padding: 0.4rem 0.6rem;
    }

    .hero-tech,
    .hero-tech-banner,
    .hero-tech-electro {
        min-height: 450px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn,
    .btn-glow {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
    }

    .product-card {
        margin-bottom: 1.2rem;
    }

    .headline {
        font-size: 1.5rem;
    }

    .poster-feed {
        padding: 1rem;
        gap: 0.8rem;
    }

    #menu-search-form{
        margin-bottom: 30px;
    }
}
@media (max-width: 992px) {

    #menu-search-form {
        margin-bottom: 30px;
    }
}


/* === ArmConnect Branding === */
.text-arm {
    color: #003b9c !important;
}

.bg-arm {
    background-color: #003b9c !important;
    color: #fff !important;
}

.btn-arm {
    background: linear-gradient(to right, #003b9c, #00c6ff);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.4rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 98, 255, 0.2);
}

    .btn-arm:hover {
        background: linear-gradient(to right, #002974, #00b8ff);
        box-shadow: 0 8px 20px rgba(0, 59, 156, 0.35);
        transform: scale(1.02);
    }

/* === Cards & Shadows === */
.product-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid #e0e6f0;
    border-radius: 1rem;
}

    .product-card:hover {
        transform: scale(1.015);
        box-shadow: 0 12px 30px rgba(0, 59, 156, 0.12);
    } 

/* === Fancy Shadows === */
.hover-shadow {
    transition: all 0.3s ease-in-out;
}

    .hover-shadow:hover {
        box-shadow: 0 10px 25px rgba(0, 59, 156, 0.12);
        transform: scale(1.015);
    }

/* === Typography === */
.arm-title {
    font-size: 2rem;
    font-weight: 700;
    color: #003b9c;
}

/* === Spinner Override === */
.spinner-border.text-arm {
    border-color: #003b9c;
    border-right-color: transparent;
}


.product-details-page h1 {
    font-size: 2rem;
    line-height: 1.4;
    color: #003b9c;
}

.product-details-page .sticky-top {
    top: 80px;
}

.product-details-page ul li i {
    vertical-align: middle;
}

.product-details-page .btn-outline-primary:hover {
    background-color: #003b9c;
    color: #fff;
}

.product-details-page .btn-outline-secondary:hover {
    background-color: #e9f0ff;
    color: #003b9c;
}


.border-light-blue {
    border-color: #c7dbf8 !important;
}

.info-box:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 59, 156, 0.08);
    transition: 0.3s ease-in-out;
}

.product-page-wrapper select,
.product-page-wrapper input {
    border-radius: 0.5rem;
}


.add-to-cart-wrapper {
    margin-top: 0.5rem;
}

    .add-to-cart-wrapper .quantity-input {
        text-align: center;
        font-weight: 500;
        border-radius: 0.5rem;
    }

    .add-to-cart-wrapper .input-group-text {
        border-radius: 0.5rem 0 0 0.5rem;
        background-color: #eef3fc;
        color: #003b9c;
        font-weight: 600;
    }

.add-to-cart-btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 59, 156, 0.15);
    transition: 0.2s ease-in-out;
}

    .add-to-cart-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 59, 156, 0.25);
    }


@keyframes pulseMove {
    0%, 100% {
        transform: translateX(0) scale(1.2);
    }

    50% {
        transform: translateX(1px) scale(1.05);
    }
}
@keyframes moveRightLeft {
    50% {
        transform: translateX(85px);
    }
}

.btn-glow {
    animation: pulseMove 2.5s ease-in-out infinite;
    will-change: transform, filter;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 0 33px rgb(231 231 231);
    border-color: #ffffff;
    color: #ffffff;
    background-color: white;
    font-weight: 600;
}

    .btn-glow:hover {
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.85);
    }


.typewriter-text {
    border-right: 3px solid var(--bs-arm); /* թռչող կուրսոր */
    white-space: nowrap;
    display: inline-block;
    color: var(--bs-arm);
    animation: blink-caret 0.7s step-end infinite;
}

/* blinking cursor animation */
@keyframes blink-caret {
    0%, 50% {
        border-color: var(--bs-arm);
    }

    51%, 100% {
        border-color: transparent;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.share-btn {
    transition: all 0.3s ease;
}

    .share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

.share-box {
    border: 1px solid #e0e0e0;
}

#cart-table{
    margin-bottom:0;
}


/* Desktop-ում enable scrollbar for .special-slider, keeping auto-scroll untouched */
@media (min-width: 992px) {
    .special-slider {
        scrollbar-width: thin;
        scrollbar-color: #bbb transparent;
    }

        .special-slider::-webkit-scrollbar {
            height: 8px;
        }

        .special-slider::-webkit-scrollbar-thumb {
            background-color: #bbb;
            border-radius: 10px;
        }

        .special-slider::-webkit-scrollbar-track {
            background: transparent;
        }
}

.category-box {
    transition: transform 0.3s ease;
    display: block;
    text-align: center;
}

    .category-box:hover {
        transform: translateY(-5px);
    }

.category-icon {
    font-size: 3rem;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

#filter-form .category-tree-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

    #filter-form .category-tree-container.open {
        max-height: 1000px;
        opacity: 1;
    }

#filter-form .subcategory-list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

    #filter-form .subcategory-list.open {
        max-height: 500px;
        opacity: 1;
    }

.rotate-icon,
.btn-toggle-subtree i {
    transition: transform 0.3s ease;
}

    .rotate-icon.rotate,
    .btn-toggle-subtree i.rotate {
        transform: rotate(180deg);
    }

    #filter-form .btn-arm {
        background-color: #0d6efd;
        border: none;
        font-weight: 600;
        padding: 0.65rem;
        font-size: 1rem;
        border-radius: 10px;
        transition: background-color 0.2s ease;
    }

        #filter-form .btn-arm:hover {
            background-color: #0959d8;
        }

    /* Կատեգորիայի ծառի բաժինը */
    #filter-form .category-tree-filter {
        background-color: #f9fbfc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 1rem;
    }

    /* Ծնող և ենթակատեգորիա պիտակներ */
    #filter-form .modern-label {
        display: block;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 0.93rem;
        font-weight: 500;
        color: #333;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid transparent;
    }

        #filter-form .modern-label:hover {
            background-color: #f4f5f7;
        }

    #filter-form input[type="radio"]:checked + .modern-label {
        background-color: #eef2f7;
        border: 1px solid #d0d7de;
        color: #0d6efd;
        font-weight: 600;
    }

    #filter-form .modern-label.sub {
        font-size: 0.89rem;
        padding-left: 24px;
        color: #555;
    }

    /* Ծալվող կոճակները */
    #filter-form .btn-toggle-subtree,
    #filter-form .collapsed-toggle {
        background: none;
        border: none;
        padding: 0;
        color: #777;
        font-size: 1rem;
        transition: transform 0.3s ease;
    }

    #filter-form .rotate i {
        transform: rotate(180deg);
    }


.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}

.sort-dropdown {
    width: auto;
    min-width: 180px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23333' d='M0 3l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 10px;
    transition: border-color 0.3s ease;
}

    .sort-dropdown:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }