/* =========================================
   1. GLOBAL & RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap');

:root {
    /* Colors */
    --main-color: #ff9900;
    --main-color-hover: #e68a00;
    --dark-bg: #212529;
    --body-bg: #f4f7f6;
    --text-color: #212529;
}

body {
    background-color: var(--body-bg);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    padding-top: 80px; /* Space for fixed navbar */
}

a { text-decoration: none; }

/* Helper class for extra bold text */
.fw-black { font-weight: 900 !important; }

/* =========================================
   2. NAVBAR (MENU)
   ========================================= */
.navbar {
    background-color: var(--dark-bg) !important;
    padding: 0.8rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    text-transform: uppercase;
    margin-left: 10px;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--main-color) !important;
}

/* Cart Icon Badge */
#cart-badge {
    font-size: 0.7rem;
    padding: 0.35em 0.6em;
}

/* =========================================
   3. PRODUCT CARDS (CATALOG)
   ========================================= */
.product-card {
    background: #fff;
    border: none;
    border-radius: 0; /* Square tactical look */
    transition: all 0.3s ease;
    cursor: pointer; /* Indicates clickable */
}

/* Hover Effect: Lift up */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15) !important;
}

/* Stretched Link: Makes the whole card clickable */
.stretched-link::after {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
    content: "";
}

/* Ensure buttons inside card are above the link overlay */
.product-card .btn {
    position: relative;
    z-index: 2;
}

/* Pre-Order Overlay Badge */
.pre-order-overlay {
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

/* =========================================
   4. PAGINATION
   ========================================= */
.pagination {
    gap: 8px; /* Space between buttons */
}

.page-link {
    color: var(--dark-bg);
    background-color: #fff;
    border: 2px solid var(--dark-bg);
    padding: 12px 20px;       /* Large padding for easy clicking */
    font-size: 1.1rem;        /* Larger font */
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    background-color: #dc3545; /* Red hover */
    border-color: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: var(--dark-bg);
    border-color: var(--dark-bg);
    color: #fff;
}

/* =========================================
   5. PRODUCT DETAILS PAGE
   ========================================= */
/* Gallery Thumbnails */
.gallery-thumb {
    transition: all 0.2s;
    border: 2px solid transparent !important;
    cursor: pointer;
}

.gallery-thumb:hover { opacity: 0.8; }

.active-thumb {
    border-color: var(--dark-bg) !important;
    opacity: 1;
}

/* Note: Input arrows (spinners) are visible by default.
   We do NOT hide them here. */

/* =========================================
   6. FOOTER
   ========================================= */
footer {
    background-color: var(--dark-bg);
    color: #fff;
    margin-top: auto;
}

.footer-link {
    color: rgba(255,255,255,0.6);
    transition: 0.2s;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--main-color);
    transform: translateX(5px);
    display: inline-block;
}

.text-accent { color: var(--main-color) !important; }
