@import url('https://fonts.cdnfonts.com/css/keshiki');

html {
  font-size: 14px;
}

.titleContainer {
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

:root {
    --bg: #0d1117; /* page bg (dark slate) */
    --card: #121826; /* card bg */
    --ink: #e5e7eb; /* main text */
    --ink-muted: #cbd5e1; /* secondary text */
    --accent: #e11d48; /* crimson-rose accent */
    --primary: #3b82f6; /* primary button/link */
}

/* Dark seigaiha-ish + kasuri weave, low-contrast and repeatable */
.dark-asian-bg {
    /*show backgr.png as repeated background image*/
    background-color: var(--bg);
    background-image: url('/images/backgr.png'); /* optional file; remove line if you don't have it */
    
    /*    color: #e5e7eb;
    background-color: #0b1220;
    background-image: radial-gradient( circle at 25% 0%, rgba(255,255,255,0.03) 0 38%, transparent 38% ), radial-gradient( circle at 75% 0%, rgba(255,255,255,0.02) 0 38%, transparent 38% ), linear-gradient(0deg, rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 160px 80px, 160px 80px, 48px 48px, 48px 48px;
    background-position: 0 0, 80px 40px, 0 0, 0 0;*/
}

.asianFont {
    font-family: 'Keshiki', sans-serif !important;
    font-size: 2.5rem;
}

/* Make general text colors legible on the dark bg */
body, .body-content, p, .nav-link, .navbar-brand {
    color: var(--ink);
}

.lead, .text-muted {
    color: var(--ink-muted) !important;
}

/* ------------- Navbar tweaks for dark mode ------------- */
.glassy-nav {
    background: rgba(13,17,23,0.65);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.glassy-nav.scrolled {
    background: rgba(13,17,23,0.9);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.navbar-brand .brand-mark {
    display: inline-block;
    font-weight: 800;
    font-size: 1.05rem;
    background: var(--accent);
    color: #fff;
    border-radius: .5rem;
    padding: .15rem .45rem;
    margin-right: .4rem;
}

/* ------------- General cards on dark bg ------------- */
.card, .bg-light, .promo-card {
    background-color: var(--card) !important;
    color: var(--ink);
    border: 1px solid rgba(255,255,255,0.06);
}

.card-img-top {
    height: 200px;
}

/* ------------- Buttons (slight lift) ------------- */
.btn-primary, .btn-danger, .btn-success, .btn-outline-primary {
    color: #fff;
    border: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

.btn-outline-primary {
    color: #cfe0ff;
    background: rgba(59,130,246,0.14);
}

/* ------------- Page offset for fixed nav ------------- */
.page-offset {
    height: 76px;
}

/* ------------- Animations ------------- */
.float-tilt {
    transform: translateY(0) rotate(-0.35deg);
    transition: transform 300ms ease;
}

    .float-tilt:hover {
        transform: translateY(-4px) rotate(0.35deg);
    }

[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

    [data-animate].show {
        opacity: 1;
        transform: translateY(0);
    }

/* ------------- Glögg promo: ensure background shows ------------- */
.promo-card {
    overflow: hidden;
}

.promo-image {
    object-fit: cover;
    max-height: 420px;
    width: 100%;
}

/* This pane has a subtle spice texture + light overlay for legibility on dark page */
.promo-pane {
    position: relative;
    color: var(--ink);
    /* IMPORTANT: specify only background-* parts so we don't overwrite ourselves later */
    background-color: rgba(255,255,255,0.04);
    background-image:
    /* faint clove/star anise speckles */
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), radial-gradient(rgba(225,29,72,0.06) 1px, transparent 1px), url('/images/spice-bg.jpg'); /* optional file; remove line if you don't have it */
    background-size: 24px 24px, 36px 36px, cover;
    background-position: 0 0, 12px 12px, center;
    background-blend-mode: normal, multiply, overlay;
    border-left: 1px solid rgba(255,255,255,0.08);
}

    /* If you don't have spice-bg.jpg yet, the two radial gradients still give a textured feel */
    .promo-pane::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
        pointer-events: none;
    }

.promo-card {
    overflow: hidden;
    background-color: #0f172a !important;
}

.promo-image {
    object-fit: cover;
    max-height: 420px;
    width: 100%;
}

.promo-pane {
    position: relative;
    border-left: 1px solid rgba(255,255,255,0.08);
}

.promo-pane--dark {
    color: var(--bs-light) !important;
    background: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/24px 24px, radial-gradient(rgba(220,53,69,.05) 1px, transparent 1px) 12px 12px/36px 36px, linear-gradient(135deg, rgba(0,0,0,.65), rgba(0,0,0,.35));
    background-blend-mode: normal, multiply, overlay;
}

    .promo-pane--dark h1,
    .promo-pane--dark h2,
    .promo-pane--dark p {
        color: inherit !important;
        text-shadow: none !important;
    }

    /* Slight text lift for readability */
    .promo-pane--dark h2 {
        text-shadow: 0 1px 0 rgba(0,0,0,0.4);
    }

    .promo-pane--dark p {
        text-shadow: 0 1px 0 rgba(0,0,0,0.3);
    }

/* Tiny helper for the timeline dots (uses Bootstrap colors) */
.timeline-dot {
    width: .75rem;
    height: .75rem;
    box-shadow: 0 0 0 .15rem var(--bs-body-bg), 0 0 0 .35rem rgba(13,110,253,.25);
}

.product-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 1rem 2rem rgba(0,0,0,.15);
    }

.product-img {
    height: 220px;
    object-fit: cover;
}

/* ------------- Footer Copyright ------------- */

.copyright {
    flex: 1; /* Ensure all sections take equal space */
    text-align: center; /* Center-align text within each section */
    position: fixed;
    bottom: 0;
    left: 50%;
}

.copyright {
    color: #333; /* Adjust text color */
}

    .copyright a {
        color: #007bff; /* Link color */
        text-decoration: none; /* No underline */
        font-weight: bold;
    }

        .copyright a:hover {
            text-decoration: none; /* Underline on hover */
            color: #0056b3; /* Darker hover color */
        }

#heart {
    width: 1rem; /* Adjust size */
    height: 1rem;
    margin: 0 5px; /* Add spacing around the heart */
    animation: beat 0.5s infinite alternate;
    transform-origin: center;
}

@keyframes beat {
    to {
        transform: scale(1.2);
    }
}

.cr {
    font-size: 1rem;
    background: #88212b;
    border-radius: 10px;
    padding: 10px
}

/* Nav bar */

/* ===== Navbar animations (hover + click ripple) ===== */
.navbar-nav .nav-link,
.navbar .btn {
    position: relative; /* needed for ripple */
    transition: color .18s ease, transform .18s ease;
    outline-offset: 2px;
}

    /* Underline sweep */
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: .75rem;
        right: .75rem;
        bottom: .35rem;
        height: 2px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        opacity: .9;
        transition: transform .22s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: var(--bs-primary);
    }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link:focus::after {
            transform: scaleX(1);
        }

    /* Active page indicator */
    .navbar-nav .nav-link.active {
        color: var(--bs-primary) !important;
    }

        .navbar-nav .nav-link.active::after {
            transform: scaleX(1);
        }

/* Brand mark tilt */
.navbar-brand .brand-mark {
    transition: transform .18s ease;
}

.navbar-brand:hover .brand-mark {
    transform: rotate(-6deg) scale(1.05);
}

/* Buttons subtle lift */
.navbar .btn {
    transition: transform .15s ease, box-shadow .15s ease;
}

    .navbar .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.2);
    }

/* Click ripple (uses Bootstrap color vars) */
.navbar .ripple {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%,-50%) scale(0);
    background: rgba(var(--bs-primary-rgb), .25);
    animation: navbar-ripple .6s ease-out forwards;
}

@keyframes navbar-ripple {
    to {
        transform: translate(-50%,-50%) scale(18);
        opacity: 0;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .navbar-nav .nav-link,
    .navbar .btn,
    .navbar-brand .brand-mark {
        transition: none;
    }

        .navbar-nav .nav-link::after {
            transition: none;
        }
}

.nav-item {
    font-size: 20px;
}