*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --havran-dark: #3A2010;
    --havran-brown: #7A4422;
    --havran-amber: #D4963A;
    --havran-green: #4A6030;
    --havran-beige: #F8EED8;
    --havran-light: #FDF6EA;

    --kg-dark: #152B1C;
    --kg-green: #2A6E3E;
    --kg-lime: #5A9E48;
    --kg-red: #C04030;
    --kg-crimson: #9B2A2A;
    --kg-beige: #F2F4EA;
    --kg-light: #F8F9F3;

    --footer-bg: #231808;
    --footer-text: #D4C4A2;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Dongle', sans-serif;
    overflow-x: hidden;
    background: #1C1008;
    cursor: none;
}

a {
    color: #5A9E48;
    transition: color 0.2s;
}
a:hover {
    color: #B8F0A0;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: rgba(200,137,42,0.9);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%,-50%);
    transition: width .2s, height .2s, background .2s;
    mix-blend-mode: exclusion;
}
.cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(200,137,42,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%,-50%);
    transition: transform 0.08s ease-out, width .25s, height .25s, border-color .25s;
}
body:has(a:hover) .cursor, body:has(button:hover) .cursor { width: 20px; height: 20px; }
body:has(a:hover) .cursor-ring, body:has(button:hover) .cursor-ring { width: 56px; height: 56px; border-color: rgba(200,137,42,0.8); }

/* ─── SPLIT HERO ─── */
#hero {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}

.split {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 3.5rem;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.4,0,0.2,1);
}
#hero:hover .split-havran { flex: 0.65; }
#hero:hover .split-kg { flex: 0.65; }
.split-havran:hover { flex: 1.35 !important; }
.split-kg:hover { flex: 1.35 !important; }

/* Havran side */
.split-havran {
    background: var(--havran-dark);
    color: var(--havran-beige);
}
.split-havran::before {
    content: '';
    position: absolute; inset: 0;
    background:
            radial-gradient(ellipse 70% 90% at 25% 65%, rgba(122,68,34,0.7) 0%, transparent 65%),
            radial-gradient(ellipse 50% 50% at 85% 15%, rgba(74,96,48,0.35) 0%, transparent 55%),
            radial-gradient(ellipse 40% 40% at 50% 95%, rgba(212,150,58,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.split-havran::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C8892A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

/* KG side */
.split-kg {
    background: var(--kg-dark);
    color: var(--kg-beige);
}
.split-kg::before {
    content: '';
    position: absolute; inset: 0;
    background:
            radial-gradient(ellipse 70% 90% at 75% 45%, rgba(42,110,62,0.55) 0%, transparent 65%),
            radial-gradient(ellipse 50% 45% at 15% 75%, rgba(192,64,48,0.28) 0%, transparent 55%),
            radial-gradient(ellipse 40% 40% at 50% 5%, rgba(90,158,72,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.split-kg::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A8B3A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
}

/* Divider — position driven by JS, not CSS */
.split-divider {
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(200,137,42,0.6) 30%, rgba(200,137,42,0.8) 50%, rgba(200,137,42,0.6) 70%, transparent);
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    transition: none;
    left: 50%;
}
.split-divider-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: var(--havran-amber);
    color: var(--havran-dark);
    font-family: 'Fira Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 50%;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 8px rgba(212,150,58,0.18), 0 4px 16px rgba(212,150,58,0.3);
    animation: vsOrbit 4s ease-in-out infinite;
    white-space: nowrap;
}

/* Split content */
.split-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
    max-width: 420px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease forwards;
}
.split-havran .split-inner { animation-delay: 0.2s; }
.split-kg .split-inner { animation-delay: 0.45s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.pub-logo-wrap {
    width: 140px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.pub-logo-wrap svg {
    width: 100%; height: 100%;
    filter: drop-shadow(0 0 18px rgba(200,137,42,0.18));
    transition: filter 0.3s, transform 0.3s;
}
.split:hover .pub-logo-wrap svg {
    filter: drop-shadow(0 0 28px rgba(200,137,42,0.38));
    transform: scale(1.05);
}
.split-kg .pub-logo-wrap svg {
    filter: drop-shadow(0 0 18px rgba(74,139,58,0.2));
}
.split-kg:hover .pub-logo-wrap svg {
    filter: drop-shadow(0 0 28px rgba(74,139,58,0.4));
    transform: scale(1.05);
}

.pub-tagline {
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 400;
    line-height: 1.1;
}
.split-havran .pub-tagline { color: var(--havran-amber); }
.split-kg .pub-tagline { color: #8FCC78; }

.pub-name {
    font-family: 'Fira Sans', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.split-havran .pub-name { color: var(--havran-beige); }
.split-kg .pub-name { color: var(--kg-beige); }

.pub-desc {
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 400;
    opacity: 0.78;
    max-width: 290px;
}

.pub-location {
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.5;
    font-weight: 400;
    line-height: 1.1;
    display: flex;
    align-items: center;
}

.pub-location span {
    display: flex;
    align-items: center;
    transform: translateY(2px);
}

/* Decorative beer mug illustration */
.beer-deco {
    opacity: 0.1;
    position: absolute;
    pointer-events: none;
    animation: floatDeco 7s ease-in-out infinite;
}
@keyframes floatDeco { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-15px) rotate(5deg); } }
.split-havran .beer-deco { bottom: 8%; right: 8%; font-size: 8rem; animation-delay: 1s; }
.split-kg .beer-deco { bottom: 8%; left: 8%; font-size: 8rem; }

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: 'Dongle', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.3s;
    cursor: none;
}
.cta-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    transform: translateX(-110%) skewX(-20deg);
    transition: transform 0.35s ease;
    z-index: 0;
}
.cta-btn:hover::before { transform: translateX(0) skewX(-20deg) scale(1.2); }
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn span { position: relative; z-index: 1; transform: translateY(2px); }
.cta-btn svg { position: relative; z-index: 1; transition: transform 0.2s; }
.cta-btn:hover svg { transform: translateX(4px); }

.split-havran .cta-btn {
    background: var(--havran-amber);
    color: var(--havran-dark);
    box-shadow: 0 4px 20px rgba(200,137,42,0.3);
}
.split-havran .cta-btn::before { background: rgba(255,255,255,0.15); }
.split-havran .cta-btn:hover { box-shadow: 0 8px 30px rgba(200,137,42,0.5); }

.split-kg .cta-btn {
    background: transparent;
    border: 1.5px solid var(--kg-lime);
    color: #B8F0A0;
    box-shadow: 0 4px 20px rgba(74,139,58,0.2);
}
.split-kg .cta-btn::before { background: var(--kg-lime); }
.split-kg .cta-btn:hover { color: var(--kg-dark); box-shadow: 0 8px 30px rgba(74,139,58,0.35); }

/* Scroll hint — JS-positioned to always sit at the divider midpoint */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
    transform: translateX(-50%);
    left: 50%; /* initial; overwritten by JS */
    pointer-events: none;
}
.scroll-hint span {
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(212,150,58,0.6);
    font-weight: 400;
    line-height: 1;
}
.scroll-arrow {
    width: 20px; height: 28px;
    border: 1.5px solid rgba(200,137,42,0.4);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.scroll-arrow::before {
    content: '';
    width: 4px; height: 8px;
    background: rgba(200,137,42,0.7);
    border-radius: 2px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(6px); opacity: 0; } }

/* ─── SECTION 2: SERVICES ─── */
#services {
    background: #865b38;
    padding: 7rem 4rem;
    position: relative;
    overflow: hidden;
}
#services::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, #613c24, transparent);
    pointer-events: none;
    z-index: 2;
}
#services::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(107,58,31,0.08) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(30,92,50,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.section-label {
    font-size: 1.35rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--havran-amber);
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 0.4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-label.visible { opacity: 1; transform: translateY(0); }

.section-title {
    font-family: 'Fira Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #FBF0DC;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
.section-title.visible { opacity: 1; transform: translateY(0); }

.section-sub {
    font-size: 1.6rem;
    color: rgba(212,184,140,0.55);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.section-sub.visible { opacity: 1; transform: translateY(0); }

/* Service cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.svc-card {
    background: linear-gradient(145deg, rgba(42,28,14,0.97) 0%, rgba(32,22,10,0.93) 100%);
    border: 1px solid rgba(212,150,58,0.14);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.3s, box-shadow 0.3s;
    cursor: none;
}
.svc-card.visible { opacity: 1; transform: translateY(0); }
.svc-card:nth-child(1) { transition-delay: 0.05s; }
.svc-card:nth-child(2) { transition-delay: 0.15s; }
.svc-card:nth-child(3) { transition-delay: 0.25s; }
.svc-card:hover {
    border-color: rgba(212,150,58,0.4);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,150,58,0.12), inset 0 1px 0 rgba(212,150,58,0.08);
    transform: translateY(-8px);
}
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--havran-amber), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.svc-card:hover::before { opacity: 1; }

.svc-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,137,42,0.05), transparent 70%);
    transition: transform 0.4s;
}
.svc-card:hover::after { transform: scale(1.4); }

.svc-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.4rem;
    color: var(--havran-amber);
    animation: iconBounce 3s ease-in-out infinite;
}
@keyframes iconBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.svc-card:nth-child(2) .svc-icon { animation-delay: 0.5s; }
.svc-card:nth-child(3) .svc-icon { animation-delay: 1s; }

.opening-hours-svg {
    transform: translateY(-2px);
}
.tel-svg-icon {
    transform: translateY(-2px);
}

.svc-name {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #FBF0DC;
    margin-bottom: 0.3rem;
}
.svc-subtitle {
    font-size: 1.35rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--havran-amber);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    opacity: 0.7;
}

.svc-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(200,137,42,0.3), transparent);
    margin-bottom: 1.5rem;
}

.svc-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 1.45rem;
    color: rgba(220,196,158,0.8);
    line-height: 1.1;
    font-weight: 400;
}
.svc-info-row svg {
    flex-shrink: 0;
    margin-top: 5px;
    opacity: 0.55;
    color: var(--havran-amber);
}
.svc-info-row strong {
    color: rgba(220,196,158,0.98);
    font-weight: 600;
}

.svc-note {
    font-size: 1.35rem;
    font-style: italic;
    color: rgba(212,180,130,0.55);
    margin-top: 2rem;
    line-height: 1.15;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border-left: 3px solid rgba(212,150,58,0.25);
    background: rgba(212,150,58,0.05);
}

.svc-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.65rem 1.4rem;
    border: 1px solid rgba(212,150,58,0.35);
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--havran-amber);
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
    cursor: none;
}
.svc-map-btn:hover {
    background: var(--havran-amber);
    color: var(--havran-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,150,58,0.3);
}
.svc-map-btn span {
    transform: translateY(1px);
}

/* ─── FOOTER ─── */
footer {
    background: var(--footer-bg);
    border-top: 1px solid rgba(200,137,42,0.15);
    padding: 4rem 4rem 3rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,137,42,0.5) 50%, transparent);
}
footer::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: radial-gradient(ellipse at center bottom, rgba(107,58,31,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-label {
    font-size: 1.3rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--havran-amber);
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 0.3rem;
    opacity: 0.7;
}
.footer-title {
    font-family: 'Fira Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #FBF0DC;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
.footer-title.visible { opacity: 1; transform: translateY(0); }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-col {
    padding: 1.75rem;
    border: 1px solid rgba(212,150,58,0.1);
    border-radius: 18px;
    background: rgba(255,255,255,0.025);
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.footer-col.visible { opacity: 1; transform: translateY(0); }
.footer-col:nth-child(1) { transition-delay: 0s; }
.footer-col:nth-child(2) { transition-delay: 0.1s; }
.footer-col:nth-child(3) { transition-delay: 0.2s; }

.footer-col-title {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--havran-amber);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    opacity: 0.6;
}

.footer-col p {
    font-size: 1.45rem;
    color: rgba(200,184,154,0.65);
    line-height: 1.15;
    font-weight: 300;
}
.footer-col strong {
    color: rgba(200,184,154,0.9);
    font-weight: 700;
    font-size: 1.5rem;
    display: block;
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(200,137,42,0.08);
    font-size: 1.2rem;
    line-height: 1.1;
    color: rgba(200,184,154,0.25);
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

/* ─── PARTICLES ─── */
#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: rgba(200,137,42,0.4);
    border-radius: 50%;
    animation: particleDrift linear infinite;
}
@keyframes particleDrift {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(var(--drift)); opacity: 0; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    #hero { flex-direction: column; height: auto; min-height: 100vh; }
    .split { flex: none !important; min-height: 50vh; padding: 3rem 2rem; }
    .split-divider { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 2px;
        background: linear-gradient(to right, transparent, rgba(200,137,42,0.6) 30%, rgba(200,137,42,0.8) 50%, rgba(200,137,42,0.6) 70%, transparent); }
    .split-divider::after { top: 50%; }
    #services, footer { padding: 4rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    body { cursor: auto; }
    .cursor, .cursor-ring { display: none; }
    .scroll-hint { display: none; }
    .split-divider { display: none; }
}