/* ═══════════════════════════════════════════════════════════════
   HOME PAGE — ADDITIONAL SECTIONS
   File: assets/css/home-sections.css
   Covers: Server Deals carousel, Brand Strip, Why Choose Us band
   Uses the color variables already defined in style.css :root
   (--primary, --primary-dark, --accent, --accent-dark, --text,
   --text-light, --bg, --border, --white, --footer-bg, --sidebar-bg)
═══════════════════════════════════════════════════════════════ */


/* ─── SERVER DEALS CAROUSEL ─────────────────────────────────────── */
.server-deals {
    background: var(--white);
    padding: 40px 16px;
    border-top: 1px solid var(--border);
}

.server-deals__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.server-deals__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    border-radius: 6px 6px 0 0;
    padding: 14px 20px;
}

.server-deals__title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.server-deals__title span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #F0F0F0;
    margin-top: 2px;
}

.server-deals__viewall {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    padding: 6px 14px;
    white-space: nowrap;
}

.server-deals__viewall:hover {
    background: rgba(255,255,255,0.12);
    text-decoration: none;
    color: var(--white);
}

.server-deals__body {
    position: relative;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 20px 44px;
}

.server-deals__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.server-deals__track::-webkit-scrollbar {
    display: none;
}

.server-deals__card {
    flex: 0 0 200px;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 14px;
    text-align: left;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.server-deals__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-color: #6E6E6E;
    text-decoration: none;
}

.server-deals__thumb {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FCFAF8;
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.server-deals__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.server-deals__name {
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--text);
    height: 52px;
    overflow: hidden;
    margin-bottom: 8px;
}

.server-deals__card:hover .server-deals__name {
    color: var(--primary);
}

.server-deals__price {
    font-size: 17px;
    font-weight: 700;
    color: var(--red);
}

.server-deals__price-was {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

.server-deals__badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #2a7a2a;
}

.server-deals__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    z-index: 2;
}

.server-deals__arrow:hover {
    background: var(--primary);
    color: var(--white);
}

.server-deals__arrow--prev { left: 4px; }
.server-deals__arrow--next { right: 4px; }


/* ─── BRAND STRIP ───────────────────────────────────────────────── */
.brand-strip {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 26px 16px;
}

.brand-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.brand-strip__label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 18px;
}

.brand-strip__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.brand-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 14px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.brand-strip__item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(206,0,0,0.15);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--primary);
}


/* ─── WHY CHOOSE US — STAT BAND ─────────────────────────────────── */
.why-choose-us {
    background: var(--sidebar-bg);
    background-image: linear-gradient(135deg, var(--sidebar-bg) 0%, var(--footer-bg) 100%);
    padding: 44px 16px;
}

.why-choose-us__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-us__title {
    text-align: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-choose-us__subtitle {
    text-align: center;
    color: #6E6E6E;
    font-size: 14px;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.why-choose-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-choose-us__card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.why-choose-us__card:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-3px);
}

.why-choose-us__stat {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.why-choose-us__label {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.why-choose-us__desc {
    color: #6E6E6E;
    font-size: 12.5px;
    line-height: 1.5;
}


/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .why-choose-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .server-deals__body {
        padding: 16px 36px;
    }
    .server-deals__card {
        flex: 0 0 160px;
    }
    .server-deals__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .brand-strip__item {
        min-width: 120px;
        padding: 10px 14px;
        font-size: 12.5px;
    }
    .why-choose-us__grid {
        grid-template-columns: 1fr;
    }
}


/* ─── GRADIENT-BLUE HOVER UNDERLINE (replaces orange) ───────────── */
/* Home sidebar top-level rows */
.home-cat-sidebar__list > li > a{
    text-decoration: none !important;
    position: relative;
    background-repeat: no-repeat;
    background-position: 18px 100%;
    background-size: 0% 2px;
    transition: background-size .28s cubic-bezier(.4,0,.2,1);
}

.home-cat-sidebar__list > li:hover > a{
    text-decoration: none !important;
    background-size: calc(100% - 36px) 2px;
}

/* Flyout mega-panel column links */
.mega-category-parent,
.mega-category-child{
    text-decoration: none !important;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 2px;
    transition: background-size .28s cubic-bezier(.4,0,.2,1), color .18s ease;
}

.mega-category-parent{
    color: var(--primary) !important;
}

.mega-category-child{
    color: var(--text-light) !important;
}

.mega-category-parent:hover,
.mega-category-child:hover{
    text-decoration: none !important;
    color: var(--primary-dark) !important;
    background-size: 100% 2px;
}