/* Party Par — public site styles */

:root {
    --pink: #e91e8c;
    --pink-light: #ff4db8;
    --pink-glow: rgba(233, 30, 140, 0.15);
    --dark: #0f0f1a;
    --darker: #0a0a12;
    --card-bg: #1a1a2e;
    --card-border: #2a2a40;
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --white: #ffffff;
    --green: #10b981;
    --yellow: #f59e0b;
    --radius: 12px;
    --max-width: 1100px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: var(--pink);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--pink-light);
}

/* --- Header --- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
}

.site-header nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

/* --- Hero --- */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at 50% 30%, rgba(233, 30, 140, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(100, 30, 200, 0.08) 0%, transparent 50%),
                var(--dark);
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10, 10, 18, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(233, 30, 140, 0.3);
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--darker));
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-primary {
    background: var(--pink);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--pink-light);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.3);
}

/* --- Catalog --- */

.catalog {
    padding: 5rem 0;
}

.catalog h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.category-tab {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.category-tab:hover {
    border-color: var(--pink);
    color: var(--white);
}

.category-tab.active {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--white);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
}

/* --- Item Card --- */

.item-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.25s;
}

.item-card:hover {
    border-color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.item-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--card-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.item-image .placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.item-body {
    padding: 1.25rem;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.item-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-price {
    font-weight: 700;
    color: var(--pink);
    font-size: 0.95rem;
}

.item-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-available {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.badge-unavailable {
    background: rgba(245, 158, 11, 0.15);
    color: var(--yellow);
}

.badge-included {
    background: rgba(136, 136, 160, 0.15);
    color: var(--text-muted);
}

/* --- Category header in grid --- */

.category-header {
    grid-column: 1 / -1;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    padding: 1.5rem 0 0.5rem;
    border-bottom: 2px solid var(--card-border);
    margin-bottom: 0.25rem;
}

.category-header:first-child {
    padding-top: 0;
}

/* --- Contact --- */

.contact {
    padding: 5rem 0;
    background: var(--dark);
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item strong {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
    font-size: 1.1rem;
    color: var(--white);
}

.contact-item a:hover {
    color: var(--pink);
}

.contact-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* --- Inquiry Form --- */

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.inquiry-form h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.inquiry-form input,
.inquiry-form textarea {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--pink);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: var(--text-muted);
}

.inquiry-form .btn {
    align-self: flex-start;
    margin-top: 0.25rem;
}

.form-message {
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.form-message.success {
    color: var(--green);
}

.form-message.error {
    color: #ef4444;
}

/* --- Footer --- */

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 84px;
    width: auto;
}

.footer-tagline {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.1;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 5rem 1.5rem 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .items-grid {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        gap: 0.35rem;
    }

    .category-tab {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}
