/* ==========================================================================
   HERO.CSS — Hero Section pre stellasirava.sk
   Enhanced with animations and modern styling
   ========================================================================== */

/* === HERO === */

.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    color: var(--color-charcoal);
    padding: var(--space-8) var(--container-padding);
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
    z-index: 0;
}

.hero-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    filter: brightness(1.05) saturate(0.85);
}

/* Right-to-left white fade — image visible on left, text area white on right */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        /* Main horizontal fade: transparent left -> semi-transparent right */
        linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.15) 45%,
            rgba(255, 255, 255, 0.35) 58%,
            rgba(255, 255, 255, 0.6) 72%,
            rgba(255, 255, 255, 0.8) 90%),
        /* Top edge soft fade for header blend */
        linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, transparent 10%),
        /* Bottom edge fade */
        linear-gradient(to top, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 8%, transparent 20%);
}

/* Subtle warm tint */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(248, 249, 250, 0.08);
    pointer-events: none;
}

/* Floating decorative shapes — hidden for cleaner gradient hero */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: white;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -80px;
    animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -40px;
    left: -60px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 15%;
    animation: float 7s ease-in-out infinite 1s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: var(--space-8);
    margin-right: 5%;
}

/* Staggered hero content animations */
.hero-label {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-dark, #3a7a8e);
    margin-bottom: var(--space-4);
    opacity: 0;
    transform: translateY(20px);
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-7xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--color-charcoal-dark, #2a363e);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.4s forwards;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-medium, 500);
    font-style: italic;
    margin-bottom: var(--space-3);
    color: var(--color-charcoal-dark, #2a363e);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--color-charcoal-dark, #2a363e);
    font-weight: var(--font-medium, 500);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-10);
    max-width: 550px;
    margin-left: auto;
    line-height: var(--leading-relaxed);
    opacity: 0;
    transform: translateY(20px);
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-end;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroContentIn 0.8s var(--ease-out-expo) 1s forwards;
}

@keyframes heroContentIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-slate);
    font-size: var(--text-xs);
    font-family: var(--font-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: heroContentIn 0.8s var(--ease-out-expo) 1.4s forwards;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(54, 69, 79, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* Button styles moved to css/components/buttons.css */

/* === PAGE HERO (subpages) === */

.page-hero {
    padding: var(--space-20) var(--container-padding) var(--space-16);
    margin-top: var(--header-height);
    background: linear-gradient(to right, #5a7080 0%, #4a5d6a 25%, #36454f 55%, #2a363e 80%, #1e2930 100%);
    color: var(--text-inverse);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 15% 50%, rgba(74, 144, 164, 0.12) 0%, transparent 70%),
        radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--text-inverse);
    margin-bottom: var(--space-3);
    opacity: 0;
    transform: translateY(20px);
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.3s forwards;
}

.page-hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
    opacity: 0;
    transform: translateY(15px);
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.5s forwards;
}

/* Backward compat: bare h1/p inside page-hero */
.page-hero h1:not(.page-hero-title) {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--text-inverse);
    margin-bottom: var(--space-3);
    position: relative;
    opacity: 0;
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.3s forwards;
}

.page-hero p:not(.page-hero-subtitle) {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
    position: relative;
    opacity: 0;
    animation: heroContentIn 0.8s var(--ease-out-expo) 0.5s forwards;
}

/* === PAGE HERO DECORATIONS === */

.page-hero-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* ── Ubytovanie: vankúš, kľúč, dvere ── */

.ubytovanie-deco--pillow {
    top: 18%;
    left: 6%;
    width: 70px;
    height: 44px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 45% 45% 45% 45% / 60% 60% 40% 40%;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    animation: decoFloat 8s ease-in-out infinite;
}

.ubytovanie-deco--pillow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-50%);
}

.ubytovanie-deco--key {
    top: 28%;
    right: 8%;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(74, 144, 164, 0.35);
    border-radius: 50%;
    animation: decoFloat 9s ease-in-out infinite;
    transform: rotate(-30deg);
}

.ubytovanie-deco--key::before {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 28px;
    background: rgba(74, 144, 164, 0.28);
    border-radius: 0 0 2px 2px;
}

.ubytovanie-deco--key::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(1px);
    width: 10px;
    height: 3px;
    background: rgba(74, 144, 164, 0.28);
    box-shadow:
        0 -7px 0 rgba(74, 144, 164, 0.24),
        0 -14px 0 rgba(74, 144, 164, 0.20);
}

.ubytovanie-deco--door {
    bottom: 18%;
    left: 12%;
    width: 44px;
    height: 60px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px 22px 0 0;
    animation: decoFloat 10s ease-in-out infinite reverse;
}

.ubytovanie-deco--door::after {
    content: '';
    position: absolute;
    top: 55%;
    right: 10px;
    width: 5px;
    height: 5px;
    background: rgba(74, 144, 164, 0.28);
    border-radius: 50%;
}

.ubytovanie-deco--dot-1 {
    top: 45%;
    right: 20%;
    width: 6px;
    height: 6px;
    background: rgba(74, 144, 164, 0.28);
    border-radius: 50%;
    animation: decoPulse 3.5s ease-in-out infinite;
}

.ubytovanie-deco--dot-2 {
    bottom: 30%;
    right: 28%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    animation: decoPulse 4.5s ease-in-out infinite 0.8s;
}

/* ── Galéria: fotorámčeky, polaroid, clona ── */

.galeria-deco--frame-1 {
    top: 15%;
    left: 7%;
    width: 65px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    border-radius: 3px;
    animation: frameFloat 8s ease-in-out infinite;
}

.galeria-deco--frame-1::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: rgba(74, 144, 164, 0.15);
    border-radius: 1px;
}

.galeria-deco--frame-2 {
    top: 30%;
    right: 9%;
    width: 42px;
    height: 56px;
    border: 1.5px solid rgba(74, 144, 164, 0.25);
    border-radius: 3px;
    animation: frameFloat 10s ease-in-out infinite 1.5s;
}

.galeria-deco--frame-2::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 1px;
}

.galeria-deco--polaroid {
    bottom: 22%;
    left: 14%;
    width: 44px;
    height: 54px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    animation: polaroidFloat 7s ease-in-out infinite;
}

.galeria-deco--polaroid::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 30px;
    background: rgba(74, 144, 164, 0.20);
    border-radius: 1px;
}

.galeria-deco--aperture {
    bottom: 32%;
    right: 18%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    animation: apertureRotate 25s linear infinite;
}

.galeria-deco--aperture::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(74, 144, 164, 0.28);
    border-radius: 50%;
}

.galeria-deco--aperture::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.galeria-deco--dot-1 {
    top: 50%;
    left: 28%;
    width: 5px;
    height: 5px;
    background: rgba(74, 144, 164, 0.25);
    border-radius: 50%;
    animation: decoPulse 4s ease-in-out infinite;
}

/* ── Atrakcie: hory, slnko, vlny, strom ── */

.atrakcie-deco--mountain-1 {
    top: 12%;
    right: 6%;
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 90px solid rgba(255, 255, 255, 0.12);
    animation: mountainFloat 9s ease-in-out infinite;
}

.atrakcie-deco--mountain-1::after {
    content: '';
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 24px solid rgba(255, 255, 255, 0.22);
}

.atrakcie-deco--mountain-2 {
    top: 20%;
    right: 12%;
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 58px solid rgba(74, 144, 164, 0.14);
    animation: mountainFloat 9s ease-in-out infinite 0.5s;
}

.atrakcie-deco--sun {
    top: 10%;
    left: 10%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 144, 164, 0.22);
    box-shadow: 0 0 30px 10px rgba(74, 144, 164, 0.16);
    animation: sunPulse 6s ease-in-out infinite;
}

.atrakcie-deco--wave {
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    opacity: 0.85;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,10 400,50 600,30 C800,10 1000,50 1200,30 L1200,60 L0,60 Z' fill='rgba(74,144,164,0.20)'/%3E%3Cpath d='M0,35 C150,20 350,50 550,35 C750,20 950,50 1200,35 L1200,60 L0,60 Z' fill='rgba(255,255,255,0.12)'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 50px;
    animation: waveShift 12s ease-in-out infinite alternate;
}

.atrakcie-deco--tree {
    bottom: 20%;
    left: 18%;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 22px solid rgba(255, 255, 255, 0.16);
    animation: decoFloat 7s ease-in-out infinite reverse;
}

.atrakcie-deco--tree::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 0 0 2px 2px;
}

/* ── Kontakt: obálka, bubliny, typing dots, telefón ── */

.kontakt-deco--envelope {
    top: 18%;
    left: 8%;
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    border-radius: 3px;
    animation: envelopeFloat 8s ease-in-out infinite;
}

.kontakt-deco--envelope::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    width: 28px;
    height: 28px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.20);
    border-right: 1.5px solid rgba(255, 255, 255, 0.20);
    background: rgba(74, 144, 164, 0.12);
}

.kontakt-deco--envelope::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 10px;
    width: 25px;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 5px 0 rgba(255, 255, 255, 0.14),
        0 10px 0 rgba(255, 255, 255, 0.12);
}

.kontakt-deco--bubble-1 {
    top: 25%;
    right: 10%;
    width: 60px;
    height: 42px;
    background: rgba(74, 144, 164, 0.16);
    border-radius: 20px 20px 20px 4px;
    animation: bubbleFloat 9s ease-in-out infinite;
}

.kontakt-deco--bubble-1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 12px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid rgba(74, 144, 164, 0.16);
}

.kontakt-deco--bubble-1::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 10px;
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 6px 0 rgba(255, 255, 255, 0.12);
}

.kontakt-deco--bubble-2 {
    bottom: 28%;
    left: 15%;
    width: 42px;
    height: 30px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px 15px 4px 15px;
    animation: bubbleFloat 7s ease-in-out infinite 1s;
}

.kontakt-deco--bubble-2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.12);
}

.kontakt-deco--dots {
    bottom: 38%;
    right: 22%;
    display: flex;
    gap: 5px;
    opacity: 0.7;
}

.kontakt-deco--dots span {
    width: 6px;
    height: 6px;
    background: rgba(74, 144, 164, 0.40);
    border-radius: 50%;
    animation: dotBounce 1.5s ease-in-out infinite;
}

.kontakt-deco--dots span:nth-child(2) { animation-delay: 0.2s; }
.kontakt-deco--dots span:nth-child(3) { animation-delay: 0.4s; }

.kontakt-deco--phone {
    bottom: 20%;
    right: 30%;
    width: 24px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    animation: decoFloat 6s ease-in-out infinite reverse;
}

.kontakt-deco--phone::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 3px;
    right: 3px;
    bottom: 10px;
    background: rgba(74, 144, 164, 0.16);
    border-radius: 2px;
}

.kontakt-deco--phone::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 3px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 2px;
}

/* ── GDPR: štít, zámok, dokument ── */

.gdpr-deco--shield {
    top: 16%;
    right: 8%;
    width: 44px;
    height: 52px;
    background: rgba(74, 144, 164, 0.14);
    border: 1.5px solid rgba(74, 144, 164, 0.25);
    border-radius: 44% 44% 10% 10% / 30% 30% 50% 50%;
    animation: decoFloat 8s ease-in-out infinite;
}

.gdpr-deco--shield::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 8px;
    height: 14px;
    border-bottom: 2px solid rgba(74, 144, 164, 0.35);
    border-right: 2px solid rgba(74, 144, 164, 0.35);
}

.gdpr-deco--lock {
    bottom: 25%;
    left: 10%;
    width: 28px;
    height: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 3px;
    animation: decoFloat 9s ease-in-out infinite reverse;
}

.gdpr-deco--lock::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.gdpr-deco--lock::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: rgba(74, 144, 164, 0.28);
    border-radius: 50%;
}

.gdpr-deco--doc {
    top: 30%;
    left: 16%;
    width: 36px;
    height: 46px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2px;
    animation: decoFloat 7s ease-in-out infinite 0.5s;
}

.gdpr-deco--doc::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: linear-gradient(225deg, rgba(54, 69, 79, 0.8) 0%, rgba(54, 69, 79, 0.6) 50%, rgba(255, 255, 255, 0.16) 50%);
}

.gdpr-deco--doc::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 6px;
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 5px 0 rgba(255, 255, 255, 0.12),
        0 10px 0 rgba(255, 255, 255, 0.12),
        0 15px 0 rgba(255, 255, 255, 0.10);
}

.gdpr-deco--dot-1 {
    bottom: 35%;
    right: 25%;
    width: 5px;
    height: 5px;
    background: rgba(74, 144, 164, 0.25);
    border-radius: 50%;
    animation: decoPulse 4s ease-in-out infinite;
}

/* ── VOP: zmluva, pero, pečať ── */

.vop-deco--contract {
    top: 15%;
    right: 7%;
    width: 40px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2px;
    animation: decoFloat 8s ease-in-out infinite;
}

.vop-deco--contract::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 40px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    z-index: -1;
}

.vop-deco--contract::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 6px;
    width: 22px;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 5px 0 rgba(255, 255, 255, 0.12),
        0 10px 0 rgba(255, 255, 255, 0.12),
        0 15px 0 rgba(255, 255, 255, 0.10),
        0 24px 0 rgba(74, 144, 164, 0.20);
}

.vop-deco--pen {
    bottom: 25%;
    left: 10%;
    width: 4px;
    height: 50px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 2px;
    transform: rotate(-35deg);
    animation: decoFloat 9s ease-in-out infinite reverse;
}

.vop-deco--pen::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 8px solid rgba(74, 144, 164, 0.25);
}

.vop-deco--pen::before {
    content: '';
    position: absolute;
    top: 2px;
    right: -3px;
    width: 2px;
    height: 14px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 1px;
}

.vop-deco--seal {
    bottom: 30%;
    right: 20%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(74, 144, 164, 0.25);
    background: rgba(74, 144, 164, 0.12);
    animation: sealFloat 10s ease-in-out infinite;
}

.vop-deco--seal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 1px solid rgba(74, 144, 164, 0.20);
    border-radius: 50%;
}

.vop-deco--seal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(74, 144, 164, 0.28);
    border-radius: 50%;
}

.vop-deco--dot-1 {
    top: 40%;
    left: 25%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    animation: decoPulse 3.5s ease-in-out infinite 0.5s;
}

/* === DECORATION KEYFRAMES === */

/* Generický float — pomalý vertikálny + horizontálny drift so scale */
@keyframes decoFloat {
    0%   { transform: translateY(0) translateX(0) scale(1); }
    25%  { transform: translateY(-10px) translateX(5px) scale(1.05); }
    50%  { transform: translateY(-18px) translateX(-3px) scale(1); }
    75%  { transform: translateY(-6px) translateX(8px) scale(0.97); }
    100% { transform: translateY(0) translateX(0) scale(1); }
}

/* Fotorámčeky — naklápanie + vznášanie */
@keyframes frameFloat {
    0%   { transform: rotate(-5deg) translateY(0) translateX(0); }
    33%  { transform: rotate(3deg) translateY(-12px) translateX(6px); }
    66%  { transform: rotate(-2deg) translateY(-6px) translateX(-4px); }
    100% { transform: rotate(-5deg) translateY(0) translateX(0); }
}

/* Polaroid — naklápanie + mierny zoom */
@keyframes polaroidFloat {
    0%   { transform: rotate(-8deg) scale(1); }
    30%  { transform: rotate(2deg) translateY(-8px) scale(1.08); }
    60%  { transform: rotate(-3deg) translateY(-4px) scale(0.95); }
    100% { transform: rotate(-8deg) scale(1); }
}

/* Clona fotoaparátu — plynulá rotácia */
@keyframes apertureRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Hory — jemný drift hore-dole + do strán */
@keyframes mountainFloat {
    0%   { transform: translateY(0) translateX(0); }
    30%  { transform: translateY(-10px) translateX(4px); }
    70%  { transform: translateY(-5px) translateX(-6px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Slnko — pulzovanie žiarenia + zmena veľkosti */
@keyframes sunPulse {
    0%   { box-shadow: 0 0 25px 8px rgba(74, 144, 164, 0.16); transform: scale(1); opacity: 0.7; }
    50%  { box-shadow: 0 0 45px 18px rgba(74, 144, 164, 0.28); transform: scale(1.15); opacity: 1; }
    100% { box-shadow: 0 0 25px 8px rgba(74, 144, 164, 0.16); transform: scale(1); opacity: 0.7; }
}

/* Vlny — pomalý horizontálny posun */
@keyframes waveShift {
    0%   { background-position: 0% bottom; }
    100% { background-position: 5% bottom; }
}

/* Obálka — naklápanie + vznášanie + mierne zväčšenie */
@keyframes envelopeFloat {
    0%   { transform: rotate(-5deg) translateY(0) scale(1); }
    35%  { transform: rotate(4deg) translateY(-14px) scale(1.06); }
    65%  { transform: rotate(-2deg) translateY(-6px) scale(0.97); }
    100% { transform: rotate(-5deg) translateY(0) scale(1); }
}

/* Bubliny — vznášanie + scale pulsovanie */
@keyframes bubbleFloat {
    0%   { transform: translateY(0) translateX(0) scale(1); }
    25%  { transform: translateY(-10px) translateX(4px) scale(1.06); }
    50%  { transform: translateY(-16px) translateX(-2px) scale(1); }
    75%  { transform: translateY(-5px) translateX(6px) scale(1.04); }
    100% { transform: translateY(0) translateX(0) scale(1); }
}

/* Typing dots — bounce */
@keyframes dotBounce {
    0%, 60%, 100% { transform: translateY(0) scale(1); }
    30%           { transform: translateY(-10px) scale(1.3); }
}

/* Dekoratívne bodky — pulzovanie s väčším range */
@keyframes decoPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.8); }
}

/* Pečať — rotácia + drift */
@keyframes sealFloat {
    0%   { transform: translateY(0) rotate(0deg) scale(1); }
    33%  { transform: translateY(-8px) rotate(12deg) scale(1.05); }
    66%  { transform: translateY(-4px) rotate(-5deg) scale(0.97); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* === RESPONSIVE === */

@media (max-width: 767px) {
    .hero {
        min-height: calc(100vh - var(--header-height-mobile));
        margin-top: var(--header-height-mobile);
        padding: var(--space-6) var(--container-padding);
        justify-content: center;
        text-align: center;
        align-items: flex-end;
    }

    /* On mobile: vertical gradient — image on top, white on bottom */
    .hero-bg::before {
        background:
            linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.2) 25%,
                rgba(255, 255, 255, 0.6) 40%,
                rgba(255, 255, 255, 0.85) 55%,
                rgba(255, 255, 255, 0.96) 70%,
                rgba(255, 255, 255, 1) 85%),
            linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 20%);
    }

    .hero-content {
        padding: var(--space-4);
        margin-right: 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-subtitle {
        font-size: var(--text-xl);
    }

    .hero-description {
        font-size: var(--text-base);
        margin-inline: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-shape:nth-child(1) {
        width: 180px;
        height: 180px;
    }

    .hero-bg img {
        object-position: center top;
    }

    .hero-shape:nth-child(3) {
        display: none;
    }

    .page-hero {
        margin-top: var(--header-height-mobile);
        padding: var(--space-16) var(--container-padding) var(--space-12);
    }

    .page-hero-title,
    .page-hero h1:not(.page-hero-title) {
        font-size: var(--text-3xl);
    }

    /* Hide decorations on mobile */
    .page-hero-decoration {
        display: none;
    }

    /* Keep wave on atrakcie */
    .atrakcie-deco--wave {
        display: block;
        height: 35px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        max-width: 50%;
        margin-right: 3%;
    }

    .page-hero-decoration {
        opacity: 0.25;
    }
}

/* Large screens — give more space to the image on left */
@media (min-width: 1440px) {
    .hero-content {
        max-width: 550px;
        margin-right: 8%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero-decoration,
    .page-hero::before,
    .kontakt-deco--dots span {
        animation: none !important;
    }
}
