/* ============================================
   PARTY SUPPLIES STORE — style.css
   Dark disco/nightclub premium theme
   Mobile-first responsive design
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --bg-deep:       #0a0a0f;
    --bg-card:       rgba(255, 255, 255, 0.05);
    --border-card:   rgba(255, 255, 255, 0.10);
    --text-primary:  rgba(255, 255, 255, 0.92);
    --text-secondary:rgba(255, 255, 255, 0.55);
    --text-muted:    rgba(255, 255, 255, 0.35);
    --neon-pink:     #ff2d95;
    --electric-purple:#b026ff;
    --gold:          #ffd700;

    /* Typography — mobile-first base sizes */
    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Inter', sans-serif;
    --fs-h1:   clamp(2rem,    5vw,  3.5rem);
    --fs-h2:   clamp(1.5rem,  3.5vw, 2.4rem);
    --fs-h3:   clamp(1.1rem,  2vw,   1.35rem);
    --fs-body: clamp(0.95rem, 1.5vw, 1.05rem);

    /* Spacing */
    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  48px;
    --space-xl:  80px;

    /* Card grid gap — responsive */
    --grid-gap: 16px;
}

/* Tablet gap */
@media (min-width: 577px) {
    :root { --grid-gap: 24px; }
}
/* Desktop gap */
@media (min-width: 993px) {
    :root { --grid-gap: 32px; }
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

strong {
    font-weight: 700;
    color: var(--gold);
}


/* ===========================================
   DIRTY DISCO LIGHT EFFECTS
   All effects: z-index -1, GPU-only animations
   =========================================== */

/* --- Effects Layer (fixed, full viewport) --- */
.fx-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}


/* --- 1. DYNAMIC LASER BEAMS (spawned by JS) --- */
.laser {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transform-origin: 50% 0;
    filter: blur(1px);
    will-change: transform, opacity;
}

/* Laser animations driven by Web Animations API in JS */


/* --- 3. COLOR WASH / AMBIENT GLOW BLOBS --- */
.wash-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Mobile: 250px blobs */
.wash-blob--1 {
    width: 250px;
    height: 250px;
    top: 30%;
    left: -8%;
    background: radial-gradient(circle, rgba(255,45,149,0.45) 0%, transparent 70%);
    animation: washDrift1 12s ease-in-out infinite;
}
.wash-blob--2 {
    width: 250px;
    height: 250px;
    top: 55%;
    right: -10%;
    background: radial-gradient(circle, rgba(176,38,255,0.4) 0%, transparent 70%);
    animation: washDrift2 15s ease-in-out infinite;
}
.wash-blob--3 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: 25%;
    background: radial-gradient(circle, rgba(80,100,255,0.4) 0%, transparent 70%);
    animation: washDrift3 13s ease-in-out infinite;
}

/* Desktop: full-size blobs (400-600px) */
@media (min-width: 993px) {
    .wash-blob--1 { width: 500px; height: 500px; left: -5%; }
    .wash-blob--2 { width: 450px; height: 450px; right: -6%; }
    .wash-blob--3 { width: 600px; height: 600px; left: 30%; }
}

@keyframes washDrift1 {
    0%, 100% { transform: translate(0, 0)      scale(1);   opacity: 0.14; }
    33%      { transform: translate(30px, -20px) scale(1.1); opacity: 0.25; }
    66%      { transform: translate(-15px, 15px) scale(0.95);opacity: 0.12; }
}
@keyframes washDrift2 {
    0%, 100% { transform: translate(0, 0)       scale(1);   opacity: 0.13; }
    40%      { transform: translate(-25px, 20px) scale(1.05);opacity: 0.24; }
    70%      { transform: translate(20px, -10px) scale(0.9); opacity: 0.10; }
}
@keyframes washDrift3 {
    0%, 100% { transform: translate(0, 0)       scale(1);   opacity: 0.12; }
    50%      { transform: translate(20px, -25px) scale(1.08);opacity: 0.22; }
}




/* --- 5. UPGRADED FLOATING ORBS (bokeh lights) --- */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    will-change: transform, opacity;
    animation: orbFloat linear infinite;
}

@keyframes orbFloat {
    0%   { transform: translateY(0)    scale(1);   opacity: var(--orb-o1); }
    25%  { transform: translateY(-6vh)  scale(1.15);opacity: var(--orb-o2); }
    50%  { transform: translateY(-12vh) scale(1);   opacity: var(--orb-o1); }
    75%  { transform: translateY(-6vh)  scale(0.85);opacity: var(--orb-o2); }
    100% { transform: translateY(0)    scale(1);   opacity: var(--orb-o1); }
}


/* --- ACCESSIBILITY: Reduced Motion (slowed, never hidden) --- */
@media (prefers-reduced-motion: reduce) {
    .laser,
    .wash-blob,
    .orb,
    .sparkle {
        animation-duration: 30s !important;
        transition-duration: 3s !important;
    }
    .fab { animation: none !important; }
}


/* ---------- HERO Section ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55vh;
    max-height: 70vh;
    padding: var(--space-lg) var(--space-sm);
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: center;
    overflow: clip;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero__logo {
    display: block;
    max-width: 200px;
    height: auto;
    margin: 0 auto var(--space-sm);
    filter: drop-shadow(0 0 12px rgba(255,45,149,0.3));
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: var(--space-sm);
    /* Gradient text */
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--electric-purple) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__tagline {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Hero Sparkles (CSS-only disco dots) ---------- */
.hero__sparkles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(255,215,0,0.3);
    will-change: transform, opacity;
    animation: sparkleAnim ease-in-out infinite;
}

.sparkle--1 { top: 15%; left: 20%; width: 5px; height: 5px; animation-duration: 3s;  animation-delay: 0s; }
.sparkle--2 { top: 30%; left: 75%; animation-duration: 4s;  animation-delay: 0.8s; }
.sparkle--3 { top: 60%; left: 10%; width: 5px; height: 5px; animation-duration: 3.5s;animation-delay: 1.5s; }
.sparkle--4 { top: 45%; left: 85%; animation-duration: 2.8s;animation-delay: 0.3s; }
.sparkle--5 { top: 70%; left: 50%; width: 5px; height: 5px; animation-duration: 3.2s;animation-delay: 2s; }

@keyframes sparkleAnim {
    0%, 100% { transform: scale(0); opacity: 0; }
    50%      { transform: scale(1.2); opacity: 0.8; }
}


/* ---------- Section Title ---------- */
.section-title {
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--electric-purple));
}


/* ---------- PRODUCTS Section ---------- */
.products {
    padding: var(--space-lg) var(--space-sm) var(--space-xl);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--grid-gap);
    max-width: 1200px;
    margin: 0 auto;
}

/* 2 columns: 577px+ */
@media (min-width: 577px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
}

/* 3 columns: 993px+ */
@media (min-width: 993px) {
    .products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
}


/* ---------- Product Card (Glassmorphism) ---------- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Card as clickable link — stretch to fill grid row height */
.card--link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.14);
}

.card--link:hover .card__cta-btn {
    background: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.4);
}

/* Call-to-action button inside card — always at bottom */
.card__cta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-card);
}

.card__cta-btn {
    display: block;
    text-align: center;
    padding: 10px 0;
    background: rgba(255, 45, 149, 0.15);
    color: var(--neon-pink);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 8px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Image container — square, centered, object-fit: contain */
.card__image-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__image-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* Placeholder when no image */
.card__image {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border-card);
}

.card__body {
    padding: var(--space-sm);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__name {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

/* Product feature bullet list (multiline descriptions) */
.product-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 12px;
    flex: 1;
}

.product-features li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-features li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--neon-pink);
    font-weight: 700;
}

.card__price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.01em;
}

.card__currency {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 2px;
}

.card__price-eur {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.card__price-eur span {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 2px;
}

/* Bulk / quantity pricing tiers */
.card__bulk-prices {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-card);
}

.card__bulk-row {
    display: flex;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 3px 0;
    line-height: 1.4;
}

.card__bulk-row::before {
    content: '\25B8';
    color: var(--neon-pink);
    margin-right: 8px;
    font-size: 0.7rem;
}

/* Mobile compact cards (2-col grid) */
@media (max-width: 576px) {
    .card__body { padding: 10px; }
    .card__name { font-size: 0.85rem; margin-bottom: 4px; }
    .card__desc { font-size: 0.78rem; line-height: 1.4; margin-bottom: 6px; }
    .product-features li { font-size: 0.78rem; padding-left: 12px; margin-bottom: 2px; }
    .card__price { font-size: 1.05rem; }
    .card__currency { font-size: 0.65rem; }
    .card__price-eur { font-size: 0.78rem; }
    .card__bulk-row { font-size: 0.72rem; }
    .card__bulk-prices { margin-top: 6px; padding-top: 6px; }
    .card__cta { margin-top: 8px; padding-top: 8px; }
    .card__cta-btn { padding: 7px 0; font-size: 0.78rem; }
}

@media (min-width: 577px) {
    .card__body {
        padding: var(--space-md);
    }
}


/* ---------- O NAMA Section ---------- */
.about {
    padding: var(--space-lg) var(--space-sm) var(--space-xl);
}

.about__content {
    max-width: 720px;
    margin: 0 auto;
}

.about__content p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-sm);
}

.about__content p:last-child {
    margin-bottom: 0;
}

/* Glassmorphism panel reusable */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: var(--space-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 577px) {
    .about {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    .glass-panel {
        padding: var(--space-lg);
    }
}


/* ---------- FOOTER ---------- */
.footer {
    border-top: 1px solid var(--border-card);
    padding: var(--space-lg) var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 577px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.02em;
}

.footer__address {
    font-style: normal;
    line-height: 1.8;
}

.footer__link {
    color: var(--text-secondary);
    transition: color 0.2s ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.footer__link:hover,
.footer__link:focus-visible {
    color: var(--neon-pink);
}

.footer__bottom {
    max-width: 1200px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-card);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Extra bottom padding so FAB doesn't cover footer on mobile */
.footer {
    padding-bottom: 100px;
}

@media (min-width: 993px) {
    .footer {
        padding-bottom: var(--space-md);
    }
}


/* ---------- FLOATING CALL BUTTON (FAB) ---------- */
.fab {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Mobile: circle */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--neon-pink);
    color: #fff;
    box-shadow:
        0 4px 20px rgba(255, 45, 149, 0.35),
        0 0 40px rgba(255, 45, 149, 0.15);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fabPulse 2.5s ease-in-out infinite;
}

.fab__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Text hidden on mobile */
.fab__text {
    display: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.fab:hover,
.fab:focus-visible {
    transform: scale(1.08);
    box-shadow:
        0 6px 28px rgba(255, 45, 149, 0.45),
        0 0 60px rgba(255, 45, 149, 0.2);
}

.fab:active {
    transform: scale(0.96);
}

/* Desktop: pill shape with text */
@media (min-width: 993px) {
    .fab {
        width: auto;
        height: auto;
        padding: 14px 24px;
        border-radius: 32px;
        bottom: 24px;
        right: 24px;
    }
    .fab__text {
        display: inline;
    }
}

/* Glow pulse animation (GPU: transform + opacity-based shadow) */
@keyframes fabPulse {
    0%, 100% {
        box-shadow:
            0 4px 20px rgba(255, 45, 149, 0.35),
            0 0 40px rgba(255, 45, 149, 0.15);
    }
    50% {
        box-shadow:
            0 4px 30px rgba(255, 45, 149, 0.5),
            0 0 60px rgba(255, 45, 149, 0.25);
    }
}


/* ---------- Scroll reveal (applied by JS) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- Focus Visible (accessibility) ---------- */
:focus-visible {
    outline: 2px solid var(--neon-pink);
    outline-offset: 3px;
}


/* ---------- Selection color ---------- */
::selection {
    background: rgba(176, 38, 255, 0.35);
    color: #fff;
}
