/* =============================================================================
   LAYOUT.CSS - HEADER & FOOTER STYLES
   -----------------------------------------------------------------------------
   This file contains site-wide layout styles including Header, Footer,
   and generic structural elements used across pages.
============================================================================== */

/* ============================================================
   HEADER — fully compatible with Carbon Fields dynamic styles
   ============================================================ */

.vb-header {
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
}

/* Sticky Header (Carbon Fields enabled) */
.vb-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* If text is used as logo */
.logo a {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

/* ============================================================
   DESKTOP MENU
   ============================================================ */
nav.desktop-menu {
    display: flex;
    gap: 24px;
}

nav.desktop-menu a {
    color: inherit; /* respects Carbon Fields text color */
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav.desktop-menu a:hover {
    color: #7C9BFF;
    border-bottom: 2px solid #9C7AFF;
}

/* ============================================================
   LOGIN BUTTON (DESKTOP)
   ============================================================ */
.header-actions .login-btn {
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(to left, #9F85FF, #E685FF);
    color: white !important;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-actions .login-btn:hover {
    opacity: 0.85;
}

/* ============================================================
   MOBILE MENU BUTTON
   ============================================================ */
.mobile-menu-btn {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    display: none;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu a {
    color: inherit;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #9C7AFF;
}

.mobile-login-btn {
    margin-top: 12px;
    padding: 10px 0;
    text-align: center;
    border-radius: 6px;
    background: linear-gradient(to left, #9F85FF, #E685FF);
    color: white !important;
    text-decoration: none;
}

/* ============================================================
   RESPONSIVE RULES
   ============================================================ */
@media (max-width: 768px) {
    nav.desktop-menu,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ============================================================
   HEADER SPACER (height auto from Carbon Fields padding)
   ============================================================ */
.header-spacer {
    height: 7px;
}


/* =============================================================================
   FOOTER — Gamlax style
   ========================================================================== */
.vb-footer-pro {
    background-color: #040B2D;
    color: #ffffff;
    padding-top:39px;
    padding-bottom:7px;
    padding-right:16px;
    padding-left:16px;
    font-family: inherit;
    box-sizing: border-box;
}

.vb-wrap {
    max-width: 1300px;
    margin: 0 auto;
}

.vb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.vb-col {
    text-align: left;
}

.vb-h {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.vb-social {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.vb-sbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: transparent;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease;
    border: 1px solid rgba(255,255,255,0.06);
}

.vb-sbtn:hover { transform: translateY(-3px); }

.vb-storebtn img { display:block; max-width:37%; height:auto; padding:7px; }

.vb-pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    margin: 6px 0;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
}

.vb-ico { width:18px; height:18px; display:inline-block; background-size:contain; }

.vb-trust {
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:center;
    margin:18px 0;
    flex-wrap:wrap;
}

.payment-card {
    width: 100px;
    height: 57px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3px;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.payment-card:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.payment-card-special {
    background-color: #8C3494;
}

.payment-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.vb-bottom { text-align:center; border-top:1px solid rgba(255,255,255,0.04); padding-top:12px; margin-top:10px; }
.vb-bottom p { margin:6px 0; font-size:13px; opacity:0.9; }
.vb-note { font-size:11px; opacity:0.7; }

/* Force footer menu into one column */
.vb-info-list,
.vb-info-list li {
    display: block !important;
    width: 100% !important;
}

/* Contact section pills also stay single column */
.vb-col .vb-pill {
    display: flex !important;
    width: 100% !important;
}
.single-payment {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.payment-img-full {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* responsive */
@media (max-width: 900px) {
    .vb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .vb-grid { grid-template-columns: 1fr; gap:18px; text-align:center; }
    .vb-col { text-align:center; }
    .payment-card { width:85px; height:50px; }
}