/* ============================================
   KULINARNA PRACOWNIA — Liquid Glass
   ============================================ */

:root {
    --bg: #f2f0ed;
    --bg-alt: #eae8e4;
    --text: #2a2825;
    --text-2: #5a5750;
    --text-3: #8a8680;
    --red: #c82828;
    --red-light: #e03c3c;
    --red-dark: #8b1a1a;
    --red-glow: rgba(200,40,40,0.18);
    --white: #fff;

    /* Liquid Glass tokens */
    --lg-bg: rgba(255,255,255,0.18);
    --lg-bg-hover: rgba(255,255,255,0.30);
    --lg-border: rgba(255,255,255,0.25);
    --lg-border-hover: rgba(255,255,255,0.45);
    --lg-blur: 28px;
    --lg-shadow: 0 8px 40px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
    --lg-shadow-hover: 0 16px 56px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);

    --section-py: 110px;
    --max-w: 1180px;
    --font-h: 'Playfair Display', Georgia, serif;
    --font-b: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(.4,0,.2,1);
}

/* Reset */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; -webkit-font-smoothing:antialiased; }
body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
::selection { background: var(--red); color: var(--white); }

/* ---- Cursor glow ---- */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,40,40,0.10) 0%, rgba(200,40,40,0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity .4s ease;
    opacity: 0;
    will-change: left, top;
}
.cursor-glow.active {
    opacity: 1;
}

/* ---- Liquid ambient shapes ---- */
.liquid-bg {
    position: fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;
}
.liquid-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .12;
    animation: lqFloat 22s ease-in-out infinite alternate;
}
.liquid-shape--1 {
    width:550px; height:550px;
    background: radial-gradient(circle, var(--red), transparent 70%);
    top:-15%; right:-5%;
}
.liquid-shape--2 {
    width:400px; height:400px;
    background: radial-gradient(circle, #b5bcc4, transparent 70%);
    bottom:-10%; left:-8%;
    animation-delay: -8s;
}
.liquid-shape--3 {
    width:320px; height:320px;
    background: radial-gradient(circle, var(--red-dark), transparent 70%);
    top:45%; left:25%;
    animation-delay: -14s;
}
@keyframes lqFloat {
    0%   { transform: translate(0,0) scale(1) rotate(0deg); }
    50%  { transform: translate(40px,-60px) scale(1.08) rotate(6deg); }
    100% { transform: translate(-30px,50px) scale(.95) rotate(-4deg); }
}

/* ==============================
   LIQUID GLASS CARD
   ============================== */
.lg-card {
    background: var(--lg-bg);
    backdrop-filter: blur(var(--lg-blur)) saturate(1.4);
    -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(1.4);
    border: 1px solid var(--lg-border);
    border-radius: 22px;
    box-shadow: var(--lg-shadow);
    position: relative;
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease),
                background .35s var(--ease), border-color .35s var(--ease);
}

/* Top specular highlight */
.lg-card::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height: 50%;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.38) 0%,
        rgba(255,255,255,0.08) 40%,
        transparent 100%
    );
    pointer-events:none;
    border-radius: inherit;
}

/* Rainbow refraction edge */
.lg-card::after {
    content:'';
    position:absolute;
    inset:-1px;
    border-radius: inherit;
    background: conic-gradient(
        from 180deg,
        transparent 0%,
        rgba(255,120,120,0.08) 15%,
        rgba(255,200,100,0.06) 30%,
        transparent 50%,
        rgba(120,180,255,0.06) 70%,
        rgba(200,120,255,0.05) 85%,
        transparent 100%
    );
    pointer-events:none;
    opacity: 0;
    transition: opacity .5s var(--ease);
}

.lg-card:hover::after {
    opacity:1;
}

.lg-card:hover {
    background: var(--lg-bg-hover);
    border-color: var(--lg-border-hover);
    box-shadow: var(--lg-shadow-hover);
    transform: translateY(-3px);
}

/* ---- Utility ---- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index:1;
}
.text-accent { color: var(--red); }
.section { padding: var(--section-py) 0; position:relative; z-index:1; }
.section-alt { background: var(--bg-alt); }

.section-header {
    text-align:center;
    margin-bottom: 56px;
}
.section-title {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight:700;
    line-height:1.15;
    color: var(--text);
}
.section-desc {
    max-width:520px;
    margin: 14px auto 0;
    color: var(--text-2);
    font-size: 1.02rem;
}

/* ---- Navigation ---- */
.navbar {
    position:fixed; top:0; left:0; right:0; z-index:1000;
    padding: 14px 0;
    transition: all .4s var(--ease);
}
.navbar.scrolled {
    background: rgba(240,236,228,0.82);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
}
.nav-container {
    max-width: var(--max-w);
    margin:0 auto; padding:0 24px;
    display:flex; align-items:center; justify-content:space-between;
}
.nav-logo {
    font-family: var(--font-h);
    font-size:1.35rem; font-weight:700;
    color: var(--text);
    text-decoration:none;
    display:flex; align-items:center; gap:10px;
    transition: color .2s;
}
.nav-logo:hover { color: var(--red); }
.nav-logo-img {
    width:38px; height:38px;
    object-fit:contain;
    border-radius:8px;
}
.nav-links {
    display:flex; list-style:none; gap:6px; align-items:center;
}
.nav-links a {
    color: var(--text-2);
    text-decoration:none;
    font-size:.88rem; font-weight:400;
    padding: 8px 16px;
    border-radius:12px;
    transition: all .2s;
}
.nav-links a:hover {
    color: var(--text);
    background: rgba(200,40,40,0.06);
}
.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    font-weight:500 !important;
    padding: 10px 22px !important;
}
.nav-cta:hover {
    background: var(--red-light) !important;
    transform: translateY(-1px);
}
.nav-toggle {
    display:none; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span {
    width:24px; height:2px;
    background: var(--text);
    border-radius:2px;
    transition: all .2s;
}

/* ---- Buttons ---- */
.btn {
    display:inline-flex; align-items:center; justify-content:center;
    padding: 14px 30px;
    border-radius:14px;
    font-family: var(--font-b);
    font-size:.93rem; font-weight:500;
    text-decoration:none; cursor:pointer; border:none;
    transition: all .35s var(--ease);
    position:relative; overflow:hidden;
}
.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover {
    background: var(--red-light);
    box-shadow: 0 8px 32px var(--red-glow);
    transform: translateY(-2px);
}
.btn-glass {
    background: var(--lg-bg);
    backdrop-filter: blur(var(--lg-blur));
    -webkit-backdrop-filter: blur(var(--lg-blur));
    border: 1px solid var(--lg-border);
    color: var(--text);
}
.btn-glass:hover {
    background: var(--lg-bg-hover);
    border-color: var(--lg-border-hover);
    transform: translateY(-2px);
}
.btn-full { width:100%; }

/* ---- Hero ---- */
.hero {
    min-height:100vh;
    display:flex; align-items:center;
    padding: 120px 24px 80px;
    max-width: var(--max-w);
    margin:0 auto; gap:60px;
    position:relative; z-index:1;
}
.hero-content { flex:1; max-width:600px; }

.hero-eyebrow {
    font-size:.82rem;
    font-weight:500;
    letter-spacing:3px;
    text-transform:uppercase;
    color: var(--red);
    margin-bottom:22px;
}
.hero-title {
    font-family: var(--font-h);
    font-size: clamp(2.8rem,7vw,5.2rem);
    font-weight:700; line-height:1.05;
    margin-bottom:22px;
    color: var(--text);
}
.hero-subtitle {
    font-size:1.05rem;
    color: var(--text-2);
    line-height:1.8;
    margin-bottom:14px;
    max-width:500px;
}
.hero-motto {
    font-family: var(--font-h);
    font-size:1.3rem;
    font-style:italic;
    color: var(--red);
    margin-bottom:36px;
    letter-spacing:.5px;
}
.hero-buttons {
    display:flex; gap:14px; flex-wrap:wrap;
}

/* Hero orb — liquid glass sphere */
.hero-visual {
    flex:0 0 auto;
    display:flex; align-items:center; justify-content:center;
}
.hero-glass-orb {
    width:360px; height:360px;
    border-radius:50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255,255,255,0.5) 0%,
        rgba(255,255,255,0.18) 40%,
        rgba(200,40,40,0.04) 80%,
        transparent 100%
    );
    backdrop-filter: blur(40px) saturate(1.6);
    -webkit-backdrop-filter: blur(40px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow:
        0 0 80px rgba(200,40,40,0.05),
        inset 0 0 60px rgba(255,255,255,0.25),
        0 20px 60px rgba(44,42,34,0.08);
    display:flex; align-items:center; justify-content:center;
    animation: orbFloat 7s ease-in-out infinite;
    position:relative;
    transition: transform .5s var(--ease);
}

/* Specular highlight on orb */
.hero-glass-orb::before {
    content:'';
    position:absolute;
    top:7%; left:14%;
    width:38%; height:28%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.5), transparent);
    border-radius:50%;
    filter: blur(10px);
    pointer-events:none;
}

/* Rainbow ring */
.hero-glass-orb::after {
    content:'';
    position:absolute; inset:-2px;
    border-radius:50%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(255,160,120,0.1),
        transparent,
        rgba(120,180,255,0.08),
        transparent,
        rgba(200,120,255,0.06),
        transparent
    );
    animation: orbRotate 18s linear infinite;
    z-index:-1;
}

.hero-logo-img {
    width:240px; height:240px;
    object-fit:contain;
    border-radius:50%;
    z-index:1;
    filter: drop-shadow(0 4px 18px rgba(200,40,40,0.12));
}

@keyframes orbFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-18px); }
}
@keyframes orbRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---- About ---- */
.about-grid {
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:22px;
}
.about-card {
    padding:34px 26px;
    text-align:center;
    border-radius:22px;
}
.about-icon {
    color: var(--red);
    margin-bottom:18px;
    display:flex; justify-content:center;
}
.about-icon svg {
    width:32px; height:32px;
}
.about-card h3 {
    font-family: var(--font-h);
    font-size:1.12rem;
    margin-bottom:10px;
    color: var(--text);
}
.about-card p {
    font-size:.88rem;
    color: var(--text-2);
    line-height:1.7;
}

/* ---- Foodbox / Gallery ---- */
.foodbox { max-width:1080px; margin:0 auto; }
.foodbox-grid {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:22px;
}
.foodbox-item {
    border-radius:22px;
    overflow:hidden;
    cursor:pointer;
    display:none;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.foodbox-item.active { display:block; }
.foodbox-item:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 16px 48px rgba(200,40,40,0.12);
}

.foodbox-img {
    width:100%; height:230px;
    display:flex; align-items:center; justify-content:center;
    position:relative; overflow:hidden;
}
.foodbox-img::after {
    content:'';
    position:absolute; inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 50%);
}
.foodbox-svg {
    z-index:1;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.25));
    transition: transform .4s var(--ease);
}
.foodbox-item:hover .foodbox-svg {
    transform: scale(1.12) rotate(-4deg);
}
.foodbox-info { padding: 18px 22px 22px; }
.foodbox-info h3 {
    font-family: var(--font-h);
    font-size:1.1rem;
    color: var(--text);
    margin-bottom:5px;
}
.foodbox-info p {
    font-size:.84rem;
    color: var(--text-2);
    line-height:1.6;
}

/* Foodbox nav */
.foodbox-nav {
    display:flex; align-items:center; justify-content:center;
    gap:14px; margin-top:36px;
}
.foodbox-arrow {
    width:44px; height:44px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    border: 1px solid var(--lg-border);
    background: var(--lg-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text);
    transition: all .25s;
    padding:0;
}
.foodbox-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 18px var(--red-glow);
}
.foodbox-dots { display:flex; gap:9px; }
.foodbox-dot {
    width:9px; height:9px;
    border-radius:50%;
    background: var(--text-3);
    border:none; cursor:pointer;
    transition: all .25s;
    padding:0;
}
.foodbox-dot:hover { background: var(--text-2); transform:scale(1.2); }
.foodbox-dot.active {
    background: var(--red);
    width:26px; border-radius:5px;
    box-shadow: 0 0 10px var(--red-glow);
}

/* ---- Testimonials ---- */
.testimonials-grid {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:22px;
}
.testimonial-card {
    padding:34px 26px;
    border-radius:22px;
}
.testimonial-stars {
    color: var(--red);
    display:flex; gap:3px;
    margin-bottom:14px;
}
.testimonial-text {
    color: var(--text-2);
    font-size:.93rem;
    line-height:1.8;
    font-style:italic;
    margin-bottom:22px;
}
.testimonial-author {
    display:flex; align-items:center; gap:12px;
}
.author-avatar {
    width:42px; height:42px;
    border-radius:12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    display:flex; align-items:center; justify-content:center;
    font-size:.78rem; font-weight:700; color: var(--white);
}
.testimonial-author strong {
    display:block; font-size:.88rem; color: var(--text);
}
.testimonial-author span {
    font-size:.78rem; color: var(--text-3);
}

/* ---- Contact ---- */
.contact-grid {
    display:grid;
    grid-template-columns: 1fr;
    gap:28px;
    align-items:start;
}
.contact-grid--single {
    max-width:680px;
    margin:0 auto;
}
.contact-form {
    padding:38px;
    border-radius:24px;
}

.form-row {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:14px;
    margin-bottom:14px;
}
.form-group {
    display:flex;
    flex-direction:column;
    gap:5px;
}
.contact-form .form-group:not(.form-row .form-group) {
    margin-bottom: 14px;
}

label {
    font-size:.78rem; font-weight:500;
    color: var(--text-2);
    text-transform:uppercase;
    letter-spacing:1px;
}
input, select, textarea {
    padding: 13px 16px;
    border-radius:12px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.32);
    color: var(--text);
    font-family: var(--font-b);
    font-size:.93rem;
    transition: all .2s;
    outline:none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200,40,40,0.10);
    background: rgba(255,255,255,0.48);
}
input::placeholder, textarea::placeholder {
    color: var(--text-3);
}
select {
    cursor:pointer;
    appearance:none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
}
select option { background: var(--bg); color: var(--text); }
textarea { resize:vertical; min-height:100px; }

.form-message {
    margin-top:14px; padding:0; border-radius:12px;
    font-size:.93rem; font-weight:500; text-align:center;
    transition: all .3s; overflow:hidden; max-height:0;
}
.form-message--success, .form-message--error {
    padding:12px 18px; max-height:80px;
}
.form-message--success {
    background: rgba(34,170,80,0.12);
    border: 1px solid rgba(34,170,80,0.35);
    color: #2ecc71;
}
.form-message--error {
    background: rgba(200,40,40,0.12);
    border: 1px solid rgba(200,40,40,0.35);
    color: #e74c3c;
}

/* ---- Footer ---- */
.footer {
    padding:72px 0 0;
    position:relative; z-index:1;
    background: var(--bg-alt);
}
.footer-grid {
    display:grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap:44px;
    padding-bottom:44px;
}
.footer-brand p {
    color: var(--text-2);
    font-size:.88rem;
    margin-top:14px;
    line-height:1.7;
    max-width:280px;
}
.footer-links h4, .footer-social h4 {
    font-family: var(--font-h);
    font-size:.95rem;
    margin-bottom:18px;
    color: var(--text);
}
.footer-links a {
    display:block;
    color: var(--text-2);
    text-decoration:none;
    font-size:.88rem;
    padding:3px 0;
    transition: color .2s;
}
.footer-links a:hover { color: var(--red); }

.social-links { display:flex; gap:10px; }
.social-link {
    width:42px; height:42px;
    display:flex; align-items:center; justify-content:center;
    border-radius:12px;
    color: var(--text-2);
    text-decoration:none;
}
.social-link:hover { color: var(--red); }

.footer-bottom {
    text-align:center;
    padding:18px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top:14px;
}
.footer-bottom p { color: var(--text-3); font-size:.82rem; }

.footer-contact-info { margin-top:14px; }
.footer-contact-info p { margin-bottom:5px; }
.footer-contact-info a {
    color: var(--text-2);
    text-decoration:none;
    display:inline-flex; align-items:center; gap:6px;
    transition: color .2s;
    font-size:.88rem;
}
.footer-contact-info a:hover { color: var(--red); }
.footer-contact-info svg { flex-shrink:0; }

/* ---- Scroll reveal ---- */
.reveal {
    opacity:0;
    transform: translateY(32px);
    transition: all .7s var(--ease);
}
.reveal.visible {
    opacity:1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width:1024px) {
    .hero {
        flex-direction:column; text-align:center;
        padding-top:140px;
    }
    .hero-subtitle { margin-left:auto; margin-right:auto; }
    .hero-buttons { justify-content:center; }
    .hero-visual { order:-1; }
    .hero-glass-orb { width:260px; height:260px; }
    .hero-logo-img { width:180px; height:180px; }
    .about-grid { grid-template-columns: repeat(2,1fr); }
    .testimonials-grid {
        grid-template-columns:1fr;
        max-width:560px; margin:0 auto;
    }
    .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
}

@media (max-width:768px) {
    :root { --section-py:80px; }
    .nav-toggle { display:flex; }
    .nav-links {
        position:fixed; top:0; right:-100%;
        width:260px; height:100vh;
        background: rgba(240,236,228,0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction:column;
        padding:100px 28px 28px;
        gap:4px;
        transition: right .4s var(--ease);
        border-left: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links.open { right:0; }
    .nav-links a { font-size:.95rem; padding:11px 14px; }
    .hero-title { font-size: clamp(2.2rem,10vw,3.6rem); }
    .hero-glass-orb { width:200px; height:200px; }
    .hero-logo-img { width:140px; height:140px; }
    .about-grid { grid-template-columns:1fr; }
    .foodbox-grid { grid-template-columns: repeat(3,1fr); gap:14px; }
    .foodbox-img { height:170px; }
    .form-row { grid-template-columns:1fr; }
    .contact-form { padding:26px 20px; }
    .footer-grid { grid-template-columns:1fr; gap:28px; }
}

@media (max-width:480px) {
    .hero-buttons { flex-direction:column; align-items:center; }
    .btn { width:100%; text-align:center; }
    .foodbox-grid { grid-template-columns:1fr; }
    .foodbox-img { height:200px; }
}
