/* =========================================================
   GLOBAL STYLES — CHROME THEME
   ========================================================= */
html {
    font-size: 18px;
}

body {
    font-family: "Lucida Handwriting", cursive;
    color: #3b3b3b;
    margin: 0;
    padding: 10px;
    line-height: 1.5;
    background-attachment: scroll;
}

/* =========================================================
   PARALLAX CHROME BACKGROUND WITH SHIMMER
   ========================================================= */
.chrome-bg,
.chrome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chrome-bg {
    background: url("images/polished-chrome.jpg") center calc(50% + var(--scroll-offset)) / 300% no-repeat;
    filter: brightness(1.80) contrast(1.80);
    animation: chromeShimmer 6s linear infinite;
    z-index: -2;
}

.chrome-overlay {
    background: rgba(255,255,255,0.3);
    z-index: -1;
}

@keyframes chromeShimmer {
    0%, 50%, 100% { filter: brightness(1.05) contrast(1.1); }
    25%          { filter: brightness(1.15) contrast(1.2); }
    75%          { filter: brightness(1.2) contrast(1.25); }
}

/* =========================================================
   BRAND BAR
   ========================================================= */
.brand-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    background: #222;
    border-bottom: 4px solid transparent;
    background-image:
        linear-gradient(#222, #222),
        linear-gradient(135deg, #d9d9d9, #f2f2f2, #bfbfbf, #e6e6e6, #a6a6a6);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.brand-logo {
    width: 120px;
}

.brand-title {
    font-size: 36px;
    color: #E0E0E0;
    text-shadow:
        0 0 5px rgba(255,255,255,0.6),
        0 0 10px rgba(200,200,200,0.4);
}

/* =========================================================
   FULLSCREEN IMAGE VIEWER
   ========================================================= */
.img-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.img-viewer img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    cursor: zoom-out;
}

/* =========================================================
   TEXT STYLES
   ========================================================= */
.silver-text {
    color: #E0E0E0;
    text-shadow:
        0 0 5px rgba(255,255,255,0.6),
        0 0 10px rgba(200,200,200,0.4);
}

.gold-title {
    font-family: "Lucida Handwriting", cursive;
    color: #b49900;
    text-shadow:
        0 0 5px rgba(255,215,0,0.7),
        0 0 10px rgba(255,215,0,0.5),
        0 0 15px rgba(255,215,0,0.3);
}

.gold-section * {
    font-family: "Lucida Handwriting", cursive;
    color: #b49900;
    text-shadow:
        0 0 1px rgba(255,215,0,0.7),
        0 0 3px rgba(255,215,0,0.4),
        0 0 5px rgba(255,215,0,0.2);
    line-height: 1.5;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    background: #222;
    padding: 10px 20px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    display: block;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: #00aaff;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: #333;
    padding: 10px 0;
    display: none;
    min-width: 180px;
    border-radius: 4px;
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-toggle:hover {
    color: #00aaff;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
@media (max-width: 768px) {

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background: #222;
        width: 100%;
        padding: 10px 0;
    }

    .nav-menu.open {
        display: block;
    }

    .nav-menu li a {
        padding: 12px 20px;
    }

    .dropdown-menu {
        position: static;
        background: #333;
        margin-left: 20px;
        padding-left: 10px;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }
}

/* =========================================================
   PRODUCT GRID (INDEX PAGE)
   ========================================================= */
.product-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 700px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.product-card {
    background: rgba(255,255,255,0.85);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: black;
    border: 3px solid transparent;
    background-image:
        linear-gradient(white, white),
        linear-gradient(135deg, #d9d9d9, #f2f2f2, #bfbfbf, #e6e6e6, #a6a6a6);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow:
        0 0 10px rgba(255,255,255,0.4),
        0 0 20px rgba(200,200,200,0.3),
        inset 0 0 8px rgba(255,255,255,0.5);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    max-width: 200px;
    border-radius: 6px;
}

/* =========================================================
   PRODUCT PAGE — MAIN IMAGE + THUMBNAILS
   ========================================================= */
#productImage {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 25px auto;
    border-radius: 10px;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.thumb {
    width: 75px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: transform 0.15s ease;
}

.thumb:hover {
    transform: scale(1.08);
}

.active-thumb {
    border-color: #007bff;
}

/* =========================================================
   OPTIONS PANEL
   ========================================================= */
.options-box {
    max-width: 700px;
    margin: 25px auto;
    padding: 20px;
    background: rgba(255,255,255,0.85);
    border-radius: 10px;
    box-shadow:
        0 0 10px rgba(255,255,255,0.4),
        0 0 20px rgba(200,200,200,0.3),
        inset 0 0 8px rgba(255,255,255,0.5);
}

.options-box label {
    font-weight: bold;
    margin-top: 12px;
    display: block;
}

.engrave-input {
    width: 100%;
    max-width: 260px;
    padding: 8px;
    margin-top: 5px;
}

/* =========================================================
   PAYPAL PANEL
   ========================================================= */
#paypal-button-container {
    margin-top: 25px;
}

.form-panel {
    max-width: 700px;
    margin: 40px auto;
    padding: 25px;
    border-radius: 12px;
    border: 4px solid transparent;
    background-image:
        linear-gradient(#ffffff, #ffffff),
        linear-gradient(135deg, #d9d9d9, #f2f2f2, #bfbfbf, #e6e6e6, #a6a6a6);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow:
        0 0 15px rgba(255,255,255,0.5),
        0 0 25px rgba(200,200,200,0.4),
        inset 0 0 10px rgba(255,255,255,0.6);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: #111;
    color: #fff;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 2px solid #444;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 6px 10px;
}

.footer-menu a:hover {
    color: #0af;
}

.footer-dropdown-menu {
    display: none;
    position: absolute;
    background: #222;
    padding: 10px 0;
    list-style: none;
    border: 1px solid #444;
    min-width: 180px;
    z-index: 10;
}

.footer-dropdown:hover .footer-dropdown-menu {
    display: block;
}

@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }

    .footer-dropdown-menu {
        position: static;
        border: none;
        background: #111;
    }
}
