
/* =====================================================
   VOLTBREW COFFEE
   REUSABLE INTERFACE COMPONENTS
===================================================== */

/* ================= BRAND ================= */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 900;
    line-height: .8;
}

.brand-text span {
    display: block;
    color: var(--yellow);
    font-size: 13px;
    letter-spacing: 5px;
    margin-top: 7px;
}


/* ================= BUTTONS ================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 24px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid var(--yellow);
    cursor: pointer;
    transition: .3s;

    clip-path: polygon(
        12px 0,
        100% 0,
        100% calc(100% - 12px),
        calc(100% - 12px) 100%,
        0 100%,
        0 12px
    );
}

.btn-primary {
    background: var(--yellow);
    color: #080808;
}

.btn-primary:hover {
    background: white;
    border-color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255,212,0,.25);
}

.btn-outline {
    background: transparent;
    color: white;
}

.btn-outline:hover {
    color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(255,212,0,.12);
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    z-index: 1000;
    background: rgba(8,8,8,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transition: .3s;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(5,5,5,.97);
}

.nav-inner {
    height: 100%;
    max-width: 1450px;
    width: 94%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 13px;
    color: #aaa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    border: 1px solid transparent;
    transition: .3s;
}

.nav-link i,
.nav-link svg {
    width: 15px;
    height: 15px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
    background: rgba(255,212,0,.07);
    border-color: var(--yellow);
    box-shadow: 0 0 18px rgba(255,212,0,.12);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #777;
    font-size: 9px;
    letter-spacing: 1px;
    margin-left: 12px;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #35dd83;
    border-radius: 50%;
    box-shadow: 0 0 10px #35dd83;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--yellow);
    color: var(--yellow);
    padding: 9px;
    cursor: pointer;
}


/* ================= SCROLL TRACKER ================= */

.scroll-tracker {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tracker-line {
    position: absolute;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #444;
    z-index: -1;
}

.tracker-progress {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 2px;
    height: 0;
    transform: translateX(-50%);
    background: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
    z-index: -1;
}

.tracker-item {
    position: relative;
    width: 24px;
    height: 48px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tracker-dot {
    width: 9px;
    height: 9px;
    border: 2px solid #777;
    background: var(--black);
    border-radius: 50%;
    transition: .3s;
}

.tracker-item.active .tracker-dot {
    background: var(--yellow);
    border-color: var(--yellow);
    box-shadow: 0 0 14px var(--yellow);
    transform: scale(1.3);
}

.tracker-label {
    position: absolute;
    right: 30px;
    white-space: nowrap;
    font-size: 9px;
    letter-spacing: 1px;
    color: #777;
    opacity: 0;
    transform: translateX(8px);
    transition: .3s;
    pointer-events: none;
}

.tracker-item:hover .tracker-label,
.tracker-item.active .tracker-label {
    opacity: 1;
    transform: translateX(0);
    color: var(--yellow);
}


/* ================= BACK TO TOP ================= */

.back-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: 1px solid var(--yellow);
    background: #111;
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 800;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--yellow);
    color: #000;
}


/* =====================================================
   FOOTER CLASS INSTAGRAM BUTTON
===================================================== */

.footer-class-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 175px;
    padding: 15px 20px;

    border: 1px solid rgba(255,212,0,.35);
    background: rgba(255,212,0,.025);

    color: var(--yellow);
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;

    text-decoration: none;
    transition: all .35s ease;
}

/* Instagram icon - ALWAYS VISIBLE */
.footer-class-link i,
.footer-class-link svg {
    display: block;
    width: 19px;
    height: 19px;

    opacity: 1;
    visibility: visible;

    color: var(--yellow);
    stroke: currentColor;
    flex-shrink: 0;

    transform: translateX(0);
    transition: all .35s ease;
}

/* Hover effect */
.footer-class-link:hover {
    background: var(--yellow);
    color: #080808;
    border-color: var(--yellow);

    box-shadow:
        0 0 15px rgba(255,212,0,.25),
        0 0 35px rgba(255,212,0,.12);

    transform: translateY(-4px);
}

/* Icon changes color on hover */
.footer-class-link:hover i,
.footer-class-link:hover svg {
    opacity: 1;
    visibility: visible;
    color: #080808;
    stroke: currentColor;
    transform: translateX(3px);
}

/* Keyboard accessibility */
.footer-class-link:focus-visible {
    outline: 2px solid white;
    outline-offset: 5px;
}


/* ================= RESPONSIVE FOOTER ================= */

@media (max-width: 500px) {
    .footer-class-link {
        min-width: 165px;
        padding: 13px 16px;
        font-size: 12px;
    }

    .footer-class-link i,
    .footer-class-link svg {
        width: 17px;
        height: 17px;
    }
}
