/* ================================================
   ROOT VARIABLES
   ================================================ */
:root {
    --bg-dark: #121212;
    --neon-green: #39FF14;
    --ice-white: #F0F8FF;
    --dim-grey: #a0a0a0;
    --border-dim: #1e1e1e;
    --card-bg: #1a1a1a;
}


/* ================================================
   GLOBAL
   ================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}


/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3%;
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
    transition: padding 0.3s ease;
}


/* ================================================
   LOGO
   ================================================ */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--ice-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--neon-green);
}

.logo img {
    height: 40px;
}


/* ================================================
   NAV LINKS  (desktop)
   ================================================ */
.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--ice-white);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s;
    padding: 12px 8px;
    /* white-space: nowrap; */
}

.nav-links a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 8px var(--neon-green);
}

.nav-links .active,
.active {
    color: var(--neon-green);
}


/* ================================================
   HAMBURGER
   ================================================ */
.checkbtn {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

#check {
    display: none;
}


/* ================================================
   CUSTOMIZE DROPDOWN  (fixed full-width panel)
   ================================================ */
.cust-dropdown {
    position: relative;
}

.customize_drop {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    border-top: 1px solid var(--border-dim);
}

.cust-dropdown:hover .customize_drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.customize_drop_container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 40px 20px;
}

/* Cards */
.customize_drop_card {
    background: var(--bg-dark);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 20px;
    width: 240px;
    height: 350px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.customize_drop_card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 13, 0.2);
}

.customize_drop_card.card-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.customize_drop_card img {
    width: fit-content;
    height: 120px;
    border-radius: 10px;
}

.customize_drop_card h3 {
    font-size: 22px;
    margin: 10px 0;
    font-weight: 600;
    font-family: 'euclid_circular', sans-serif;
}

.customize_drop_card p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.4;
}

/* Contact card */
.card-3 {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item span {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 0 0 10px;
    font-family: 'euclid_circular', sans-serif;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--neon-green);
}

.contact-item i {
    font-size: 16px;
}

.atextSdw:hover {
    text-shadow: none;
    color: #fff;
}


/* ================================================
   NEON SIGN CATEGORIES DROPDOWN  (fixed full-width panel)
   ================================================ */
.neon-dropdown {
    position: relative;
}

.neon-categories-drop {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    padding: 28px 0 32px;
    border-top: 1px solid var(--border-dim);
}

.neon-dropdown:hover .neon-categories-drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


/* ================================================
   CATEGORIES GRID
   ================================================ */
.categories-section {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-dim);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
    text-decoration: none;
}

/* Shimmer sweep */
.category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.category-item:hover::before {
    transform: translateX(100%);
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.category-item:hover .category-name {
    letter-spacing: 2.5px;
    color: #ffffff;
}

.category-item:hover .img-wrapper {
    box-shadow: 0 0 14px rgba(255, 200, 50, 0.4);
    transform: scale(1.04);
}

/* Column dividers */
.category-item:nth-child(3n+1),
.category-item:nth-child(3n+2) {
    border-right: 1px solid var(--border-dim);
}

/* Last row — no bottom border */
.category-item:nth-last-child(-n+3) {
    border-bottom: none;
}

/* Image box */
.img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #111;
    border: 1px solid #222;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Category label */
.category-name {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    color: #cccccc;
    text-transform: uppercase;
    transition: letter-spacing 0.3s ease, color 0.3s ease;
}


/* ================================================
   CATEGORIES STAGGER ANIMATION
   ================================================ */
.neon-categories-drop .category-item {
    opacity: 0;
    transform: translateY(12px);
}

.neon-dropdown:hover .neon-categories-drop .category-item {
    animation: fadeUp 0.5s ease forwards;
}

.neon-dropdown:hover .category-item:nth-child(1)  { animation-delay: 0.03s; }
.neon-dropdown:hover .category-item:nth-child(2)  { animation-delay: 0.06s; }
.neon-dropdown:hover .category-item:nth-child(3)  { animation-delay: 0.09s; }
.neon-dropdown:hover .category-item:nth-child(4)  { animation-delay: 0.12s; }
.neon-dropdown:hover .category-item:nth-child(5)  { animation-delay: 0.15s; }
.neon-dropdown:hover .category-item:nth-child(6)  { animation-delay: 0.18s; }
.neon-dropdown:hover .category-item:nth-child(7)  { animation-delay: 0.21s; }
.neon-dropdown:hover .category-item:nth-child(8)  { animation-delay: 0.24s; }
.neon-dropdown:hover .category-item:nth-child(9)  { animation-delay: 0.27s; }
.neon-dropdown:hover .category-item:nth-child(10) { animation-delay: 0.30s; }
.neon-dropdown:hover .category-item:nth-child(11) { animation-delay: 0.33s; }
.neon-dropdown:hover .category-item:nth-child(12) { animation-delay: 0.36s; }
.neon-dropdown:hover .category-item:nth-child(13) { animation-delay: 0.39s; }
.neon-dropdown:hover .category-item:nth-child(14) { animation-delay: 0.42s; }
.neon-dropdown:hover .category-item:nth-child(15) { animation-delay: 0.45s; }
.neon-dropdown:hover .category-item:nth-child(16) { animation-delay: 0.48s; }
.neon-dropdown:hover .category-item:nth-child(17) { animation-delay: 0.51s; }
.neon-dropdown:hover .category-item:nth-child(18) { animation-delay: 0.54s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ================================================
   MOBILE ACCORDION  (hidden on desktop)
   ================================================ */
.mobile-toggle-btn {
    display: none;
}

.mobile-sub {
    display: none;
}


/* ================================================
   RESPONSIVE — TABLET  (max-width: 1024px)
   ================================================ */
@media (max-width: 1024px) {

    .customize_drop_container {
        flex-wrap: wrap;
        gap: 24px;
        padding: 28px 16px;
    }

    .customize_drop_card {
        width: 200px;
        height: auto;
        min-height: 260px;
    }

    /* 2-column grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset 3-col borders */
    .category-item:nth-child(3n+1),
    .category-item:nth-child(3n+2) {
        border-right: none;
    }

    /* Apply 2-col borders */
    .category-item:nth-child(odd) {
        border-right: 1px solid var(--border-dim);
    }

    /* Fix last-row borders for 2-col */
    .category-item:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--border-dim);
    }

    .category-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}


/* ================================================
   RESPONSIVE — MINI LAPTOP  (max-width: 992px)
   ================================================ */
@media (max-width: 992px) {

    /* Show hamburger */
    .checkbtn {
        display: block;
    }

    /* Hide desktop dropdowns */
    .customize_drop,
    .neon-categories-drop {
        display: none !important;
    }

    /* Slide-in menu */
    .nav-links {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding-top: 15px;
        transition: left 0.4s ease;
        overflow-y: auto;
        z-index: 998;
        gap: 0;
    }

    #check:checked ~ .nav-links {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 8px 0;
        text-align: center;
    }

    .nav-links a {
        display: inline-block;
        border-radius: 20px;
        padding: 10px 25px;
        width: 80%;
    }

    /* Hide desktop trigger links on mobile */
    .cust-dropdown > a,
    .neon-dropdown > a {
        display: none;
    }

    /* Show accordion toggle button */
    .mobile-toggle-btn {
        display: inline-block;
        background: none;
        border: none;
        color: var(--ice-white);
        font-size: 15px;
        font-weight: 500;
        text-transform: uppercase;
        cursor: pointer;
        padding: 10px 25px;
        width: 80%;
        text-align: center;
        letter-spacing: 1px;
        border-radius: 20px;
        transition: color 0.3s;
    }

    .mobile-toggle-btn:hover {
        color: var(--neon-green);
    }

    .mobile-toggle-btn i {
        margin-left: 6px;
        font-size: 12px;
    }

    /* Accordion sub-menu */
    .mobile-sub {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--card-bg);
        padding: 0 16px 12px;
    }

    .mobile-sub.open {
        display: flex;
    }

    /* Compact rows inside accordion */
    .mobile-sub .category-item {
        padding: 12px 10px;
        border-bottom: 1px solid #252525;
        border-right: none !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .mobile-sub .category-item:last-child {
        border-bottom: none;
    }

    .mobile-sub .img-wrapper {
        width: 44px;
        height: 44px;
    }

    .mobile-sub .category-name {
        font-size: 12px;
    }
}


/* ================================================
   RESPONSIVE — SMALL MOBILE  (max-width: 480px)
   ================================================ */
@media (max-width: 480px) {

    .navbar {
        padding: 0.8rem 4%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        height: 32px;
    }

    .nav-links {
        top: 58px;
        height: calc(100vh - 58px);
        justify-content: flex-start;
        padding-top: 12px;
    }

    .nav-links li {
        margin: 0;
        text-align: left;
    }

    .nav-links a,
    .mobile-toggle-btn {
        width: 90%;
        text-align: left;
        padding: 10px 20px;
    }
}