:root {
    --burgundy: #3b0b18;
    --burgundy-deep: #1a0206;
    --burgundy-soft: #5b1623;
    --gold: #f2c14f;
    --gold-soft: #f7d88a;
    --cream: #fdf6ec;
    --text-light: #f9f5f0;
    --text-muted: #d2c2b5;
    --card-bg: rgba(16, 4, 8, 0.92);
    --shadow-soft: 0 18px 40px rgba(0,0,0,0.4);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --transition-fast: 0.2s ease;
    --max-width: 1150px;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* RESET */

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

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-light);
    background: radial-gradient(circle at top, #5a1421 0%, #0a0204 55%, #000 100%);
    min-height: 100vh;
}

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

/* ========== HEADER & NAV ========== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 7vw;
    background: radial-gradient(circle at top, rgba(90,20,33,0.9), rgba(10,2,4,0.97));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(242,193,79,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-mark {
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.nav {
    display: flex;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== MENIU BURGER ===== */

.menu-toggle {
    display: none;
    width: 38px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(242,193,79,0.5);
    background: rgba(7,0,3,0.8);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}

.menu-toggle span {
    display: block;
    width: 70%;
    height: 2px;
    background: var(--gold-soft);
    border-radius: 99px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ========== HERO (index) ========== */

.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 7vw 90px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(111,32,45,0.7), rgba(6,0,0,0.96)),
        url("img/hero-bg.jpg") center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,255,255,0.15), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(220,166,90,0.18), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0.6;
}

.hero-inner {
    position: relative;
    max-width: 650px;
    text-align: center;
    z-index: 1;
    animation: fadeUp 0.9s ease-out both;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========== BUTOANE ========== */

.btn {
    border-radius: 999px;
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #3b2400;
    box-shadow: 0 16px 35px rgba(0,0,0,0.6);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 48px rgba(0,0,0,0.7);
}

.btn-outline {
    background: transparent;
    color: var(--gold-soft);
    border: 1px solid rgba(242,193,79,0.6);
}

.btn-outline:hover {
    background: rgba(242,193,79,0.08);
}

/* ========== SECTIONS GENERALE ========== */

.section {
    padding: 70px 7vw;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-narrow {
    max-width: 780px;
    margin: 0 auto;
}

.section h1,
.section h2 {
    text-align: center;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.section .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
}

/* ========== TEXT DESPRE NOI ========== */

.text-block p {
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ========== FILTRE PRODUSE ========== */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.2rem;
}

.filter-btn {
    border-radius: 999px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(242,193,79,0.5);
    color: var(--text-light);
    padding: 0.45rem 1.3rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #3b2400;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}

/* ========== GRID PRODUSE ========== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 1rem 1rem 1.2rem;
    box-shadow: var(--shadow-soft), 0 0 0 rgba(242,193,79,0);
    border: 1px solid rgba(242,193,79,0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(0);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(255,255,255,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
        0 26px 50px rgba(0,0,0,0.7),
        0 0 22px rgba(242,193,79,0.35);
    border-color: rgba(242,193,79,0.5);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    max-width: 170px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    animation: floatBottle 4s ease-in-out infinite;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 30px rgba(0,0,0,0.8));
}

.product-card h3 {
    margin: 0.2rem 0;
    font-size: 1.05rem;
}

.product-type {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-height: 3.2em;
}

.product-price {
    margin-top: 0.6rem;
    font-weight: 600;
    color: var(--gold-soft);
}

/* ascundere la filtrare */
.product-card.hidden {
    display: none;
}

/* ========== ECHIPA ========== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.4rem;
}

.team-card {
    background: radial-gradient(circle at top, #3a0f1b, #120207);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    text-align: center;
    border: 1px solid rgba(242,193,79,0.28);
    box-shadow: 0 14px 32px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: "";
    position: absolute;
    inset: -50%;
    background: linear-gradient(130deg, rgba(242,193,79,0.18), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.team-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== CONTACT ========== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 2.5rem;
}

.contact-logo {
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.contact-list li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.contact-list i {
    margin-right: 0.55rem;
    color: var(--gold-soft);
}

.contact-list a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.1rem;
}

.qr-item {
    background: rgba(10,0,3,0.94);
    border-radius: var(--radius-lg);
    padding: 0.8rem;
    border: 1px dashed rgba(242,193,79,0.5);
    text-align: center;
}

.qr-placeholder {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2.4rem 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========== FOOTER ========== */

.footer {
    text-align: center;
    padding: 16px 7vw 22px;
    background: #070103;
    color: var(--text-muted);
    font-size: 0.78rem;
    border-top: 1px solid rgba(242,193,79,0.25);
}

/* ========== ANIMAȚII DE SCROLL (reveal) ========== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* KEYFRAMES */

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

@keyframes floatBottle {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
    .hero {
        padding-top: 96px;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        right: 7vw;
        top: 56px;
        background: radial-gradient(circle at top, #3a0f1b, #0a0204);
        border-radius: 14px;
        border: 1px solid rgba(242,193,79,0.4);
        box-shadow: 0 20px 40px rgba(0,0,0,0.7);
        padding: 0.6rem 0.8rem;
        display: none;
        flex-direction: column;
        gap: 0.6rem;
        min-width: 170px;
    }

    .nav.open {
        display: flex;
        animation: fadeUp 0.25s ease-out;
    }

    .section {
        padding-inline: 5vw;
    }
}
