/* ============================================
   HOORAN BRANDS — Liquid Glass Edition
   File: brands.css
   ============================================ */

.hb-section,
.hb-section *,
.hb-section *::before,
.hb-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hb-section {
    position: relative;
    width: 100%;
    padding: clamp(56px, 9vw, 100px) clamp(24px, 6vw, 80px) clamp(64px, 10vw, 110px);
    background: radial-gradient(110% 80% at 50% 100%, #1a1208 0%, #0c0a08 50%, #060504 100%);
    overflow: hidden;
    direction: rtl;
    font-family: 'IRANSans', 'Vazirmatn', Tahoma, sans-serif;
    isolation: isolate;
}

/* ── ambient ── */
.hb-beam {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(201,169,110,.5) 30%,
        rgba(230,195,140,.85) 50%,
        rgba(201,169,110,.5) 70%,
        transparent 100%
    );
    filter: blur(1px);
    pointer-events: none;
    animation: hb-beam-pulse 4.5s ease-in-out infinite;
}

@keyframes hb-beam-pulse {
    0%, 100% { opacity: .3; }
    50%       { opacity: .9; }
}

.hb-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}
.hb-orb--1 { width: 320px; height: 320px; background: rgba(201,169,110,.10); bottom: -80px; left: -60px;  animation: hb-float 24s ease-in-out 0s infinite; }
.hb-orb--2 { width: 260px; height: 260px; background: rgba(212,185,150,.08); bottom: -60px; right: -40px; animation: hb-float 28s ease-in-out -11s infinite; }

@keyframes hb-float {
    0%, 100% { transform: translate(0,0); }
    50%       { transform: translate(20px, -24px); }
}

/* ── inner container ── */
.hb-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── heading ── */
.hb-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(40px, 6vw, 64px);
    opacity: 0;
    animation: hb-rise .8s cubic-bezier(.22,1,.36,1) .1s forwards;
}

@keyframes hb-rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hb-heading__label {
    font-size: 11px;
    letter-spacing: .28em;
    color: rgba(201,169,110,.65);
    font-family: 'IRANSans', 'Vazirmatn', sans-serif;
}

.hb-heading__line {
    display: block;
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,.6), transparent);
    transform: scaleX(0);
    transform-origin: center;
    animation: hb-line-grow 1s ease .5s forwards;
}

@keyframes hb-line-grow {
    to { transform: scaleX(1); }
}

/* ── grid ── */
.hb-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(12px, 2vw, 20px);
    align-items: center;
}

/* ── single brand item ── */
.hb-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}

.hb-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hb-item:nth-child(1) { transition-delay: .05s; }
.hb-item:nth-child(2) { transition-delay: .12s; }
.hb-item:nth-child(3) { transition-delay: .19s; }
.hb-item:nth-child(4) { transition-delay: .26s; }
.hb-item:nth-child(5) { transition-delay: .33s; }
.hb-item:nth-child(6) { transition-delay: .40s; }

.hb-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: clamp(16px, 2vw, 24px) clamp(10px, 1.5vw, 18px);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
    border: 1px solid rgba(201,169,110,.10);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        border-color .4s ease,
        background .4s ease,
        transform .4s cubic-bezier(.22,1,.36,1),
        box-shadow .4s ease;
}

/* glass shimmer on hover */
.hb-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(105deg,
        transparent 30%,
        rgba(255,255,255,.06) 50%,
        transparent 70%
    );
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position .6s ease;
    pointer-events: none;
}

.hb-link:hover::before { background-position: 200% 0; }

.hb-link:hover {
    border-color: rgba(201,169,110,.38);
    background: linear-gradient(145deg, rgba(201,169,110,.08) 0%, rgba(255,255,255,.03) 100%);
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 20px 50px -16px rgba(0,0,0,.65),
        0 0 40px -12px rgba(201,169,110,.15),
        inset 0 1px 0 rgba(255,255,255,.08);
}

/* ── logo SVG: grayscale → color ── */
.hb-logo {
    width: 100%;
    max-width: 140px;
    height: 52px;
    display: block;
    color: rgba(180,170,155,.45);
    filter: grayscale(1) brightness(.7);
    transition: color .45s ease, filter .45s ease;
}

.hb-link:hover .hb-logo {
    color: #C9A96E;
    filter: grayscale(0) brightness(1.1) drop-shadow(0 0 8px rgba(201,169,110,.4));
}

/* ── brand name label ── */
.hb-name {
    font-size: 10px;
    letter-spacing: .18em;
    color: rgba(180,165,140,.35);
    font-family: 'IRANSans', 'Vazirmatn', sans-serif;
    font-weight: 400;
    transition: color .4s ease;
    direction: ltr;
    text-transform: uppercase;
}

.hb-link:hover .hb-name {
    color: rgba(201,169,110,.75);
}

/* ── footer separator line ── */
.hb-footer-line {
    width: 100%;
    height: 1px;
    margin-top: clamp(48px, 7vw, 72px);
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(201,169,110,.15) 20%,
        rgba(201,169,110,.25) 50%,
        rgba(201,169,110,.15) 80%,
        transparent 100%
    );
}

/* ── responsive ── */
@media (max-width: 900px) {
    .hb-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 540px) {
    .hb-grid { grid-template-columns: repeat(2, 1fr); }
    .hb-logo { max-width: 110px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .hb-section *,
    .hb-section *::before,
    .hb-section *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hb-item { opacity: 1; transform: none; }
}