@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ── Utilities ── */


.main-color-text {
    color: #0099ab !important;
}

.main-color-badgestudio {
    background-color: #0099ab !important;
}

.main-color-badgestudio-without-hover {
    background-color: #0099ab !important;
}

.main-color-badgestudio:hover {
    background-color: #007f88 !important;
}

.gradient-header {
    background: linear-gradient(180deg, #fefefe 0%, #E5F3F5 100%);
}

.main-color-lighter {
    background-color: #e4f4f6 !important;
}

.gradient-bg {
    background: linear-gradient(135deg, #0399AB 0%, #026B7A 100%);
}

.shadow-custom {
    box-shadow: 0 10px 40px rgba(3, 153, 171, 0.2);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(3, 153, 171, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #0399AB 0%, #026B7A 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #026B7A 0%, #01515D 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 153, 171, 0.4);
}

/* ── ScrollTop above cookie banner ── */
.p-scrolltop.p-button {
    z-index: 200 !important;
}

/* ── Animations ── */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes shimmer {
    0% {
        background-position: -600px 0;
    }
    100% {
        background-position: 600px 0;
    }
}

@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}

/* ── PrimeVue ScrollTop ── */

.p-scrolltop.p-button {
    background: linear-gradient(135deg, #0399AB 0%, #026B7A 100%) !important;
    border: none !important;
    width: 3.5rem !important;
    height: 3.5rem !important;
    inset-block-end: 2rem !important;
    inset-inline-end: 2rem !important;
    box-shadow: 0 10px 40px rgba(3, 153, 171, 0.2) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.p-scrolltop.p-button:hover {
    background: linear-gradient(135deg, #026B7A 0%, #01515D 100%) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 15px 50px rgba(3, 153, 171, 0.3) !important;
}

/* ── Navbar ── */

#navbar {
    background: transparent;
    transition: all 0.3s ease;
}

.nav-sticky {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.nav-sticky img {
    filter: none;
}

.nav-link {
    color: white;
    transition: color 0.3s ease;
}

.nav-icon {
    color: white;
    transition: color 0.3s ease;
}

.nav-divider {
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.nav-logo-text {
    color: white;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-sticky .nav-link {
    color: #374151 !important;
}

.nav-sticky .nav-link:hover {
    color: #0399AB !important;
}

.nav-sticky .nav-icon {
    color: #374151 !important;
}

.nav-sticky .nav-icon:hover {
    color: #0399AB !important;
}

.nav-sticky .nav-divider {
    background: #d1d5db !important;
}

.nav-sticky .nav-logo-text {
    color: #1f2937 !important;
    text-shadow: none;
}

/* ── Size cards ── */

.size-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(3, 153, 171, 0.07);
    transform: perspective(900px) rotateX(0deg) translateY(0px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, box-shadow;
}

.size-card:hover {
    transform: perspective(900px) rotateX(-2deg) translateY(-6px);
    box-shadow: 0 20px 48px rgba(3, 153, 171, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.size-card--popular {
    box-shadow: 0 4px 16px rgba(3, 153, 171, 0.2),
    0 12px 32px rgba(3, 153, 171, 0.15);
}

.size-card--popular:hover {
    box-shadow: 0 24px 56px rgba(3, 153, 171, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.size-card-left {
    transition: background 0.4s ease;
}

/* ── Badge mosaic (O Nama) ── */

.badge-tile {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
    cursor: default;
}

.badge-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.badge-tile:hover {
    box-shadow: 0 16px 40px rgba(3, 153, 171, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.badge-tile:hover img {
    transform: scale(1.08);
}

.badge-tile--lg {
    width: 148px;
    height: 148px;
}

.badge-tile--rot-neg-3 {
    transform: rotate(-3deg);
}

.badge-tile--rot-neg-2 {
    transform: rotate(-2deg);
}

.badge-tile--rot-neg-1 {
    transform: rotate(-1deg);
}

.badge-tile--rot-pos-2 {
    transform: rotate(2deg);
}

.badge-tile--rot-pos-3 {
    transform: rotate(3deg);
}

.badge-tile--rot-neg-3:hover {
    transform: rotate(-3deg) translateY(-8px) scale(1.05);
}

.badge-tile--rot-neg-2:hover {
    transform: rotate(-2deg) translateY(-8px) scale(1.05);
}

.badge-tile--rot-neg-1:hover {
    transform: rotate(-1deg) translateY(-8px) scale(1.05);
}

.badge-tile--rot-pos-2:hover {
    transform: rotate(2deg) translateY(-8px) scale(1.05);
}

.badge-tile--rot-pos-3:hover {
    transform: rotate(3deg) translateY(-8px) scale(1.05);
}

@media (max-width: 767px) {
    .badge-tile {
        width: 80px;
        height: 80px;
    }

    .badge-tile--lg {
        width: 100px;
        height: 100px;
    }
}

/* ── Index page ── */

.slider-container {
    scroll-behavior: smooth;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── AI Creator section (index) ── */

.ai-section {
    background: linear-gradient(135deg, #021f24 0%, #032d34 40%, #01515D 100%);
}

.ai-gradient-text {
    background: linear-gradient(90deg, #7DEEFF 0%, #0399AB 60%, #38f4c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-cta-btn {
    background: linear-gradient(135deg, #0399AB 0%, #026B7A 100%);
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(3, 153, 171, 0.45);
}

.ai-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 48px rgba(3, 153, 171, 0.6);
}

/* Sparkle dots */
.ai-sparkle {
    position: absolute;
    border-radius: 50%;
    background: rgba(125, 238, 255, 0.55);
    animation: sparkle-float 6s ease-in-out infinite;
}

.ai-sparkle-1 {
    width: 6px;
    height: 6px;
    top: 12%;
    left: 8%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.ai-sparkle-2 {
    width: 4px;
    height: 4px;
    top: 60%;
    left: 15%;
    animation-delay: 1.5s;
    animation-duration: 5s;
}

.ai-sparkle-3 {
    width: 8px;
    height: 8px;
    top: 30%;
    right: 12%;
    animation-delay: 0.8s;
    animation-duration: 8s;
}

.ai-sparkle-4 {
    width: 5px;
    height: 5px;
    bottom: 20%;
    left: 40%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.ai-sparkle-5 {
    width: 4px;
    height: 4px;
    top: 75%;
    right: 25%;
    animation-delay: 3s;
    animation-duration: 7s;
}

@keyframes sparkle-float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-18px) scale(1.4);
        opacity: 1;
    }
}

/* Image */
.ai-image-wrapper {
    perspective: 1200px;
}

.ai-image-frame {
    transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(125, 238, 255, 0.15);
}

.ai-image-frame:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-6px);
}

/* Floating chips */
.ai-float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: chip-float 4s ease-in-out infinite;
}

.ai-float-chip--1 {
    top: -14px;
    left: 20px;
    animation-delay: 0s;
}

.ai-float-chip--2 {
    bottom: -14px;
    right: 24px;
    animation-delay: 2s;
}

@keyframes chip-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ── AI Bedževi page ── */

.color-swatch input[type="radio"]:checked + label {
    outline: 3px solid #0399AB;
    outline-offset: 2px;
    transform: scale(1.15);
}

.color-swatch label {
    transition: transform 0.15s ease;
}

.size-option input[type="radio"]:checked + label,
.attach-option input[type="radio"]:checked + label {
    border-color: #0399AB;
    background-color: #E6F7FA;
    color: #026B7A;
    font-weight: 600;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}

.var-btn input[type="radio"]:checked + label {
    background: linear-gradient(135deg, #0399AB 0%, #026B7A 100%);
    color: white;
    border-color: #0399AB;
}

.upload-zone {
    border: 2px dashed #d1d5db;
    transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: #0399AB;
    background: #f0fbfc;
}

.spin-slow {
    animation: spin-slow 2s linear infinite;
}

.plan-popular {
    border: 2px solid #0399AB;
    transform: scale(1.03);
}

#badge-preview {
    transition: background-color 0.3s ease;
}

/* ── Hero Slider ── */
.hero-slide {
    width: 100%;
    flex-shrink: 0;
}

.hero-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}

.hero-dot.active {
    width: 2rem;
    background: #fff;
}

/* ── Shop Category Cards ── */

.shop-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 16px;
    row-gap: 24px;
    padding-top: 16px;
}

.cat-card {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: 20px;
    height: 110px;
    padding: 0 20px;
    overflow: visible;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.cat-card-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--clr);
    line-height: 1.25;
    /* badge is ~115px wide at right:10px → 125px + small gap */
    padding-right: 128px;
    z-index: 1;
}

.cat-card-img {
    position: absolute;
    right: 10px;
    bottom: 0;
    height: 105%;
    width: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.35s ease;
    pointer-events: none;
}

.cat-card:hover .cat-card-img {
    transform: scale(1.06) translateY(-4px);
}

@media (min-width: 1280px) {
    .shop-cat-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
        row-gap: 20px;
        padding-top: 16px;
    }

    .cat-card {
        height: 80px;
        border-radius: 16px;
        padding: 0 12px;
    }

    .cat-card-name {
        font-size: 0.82rem;
        padding-right: 84px;
    }

    .cat-card-img {
        height: 110%;
        right: 6px;
    }
}
