/* ═══════════════════════════════════════════════════════════
   Alpenzaun Realisations — Big Carousel s captions
   ═══════════════════════════════════════════════════════════ */
.aze-real {
    --az-red: #f04e23;
    --az-red-dark: #772008;
    --az-black: #141414;
    --az-muted: #6b6b6b;
    --az-line: rgba(20, 20, 20, 0.08);
    --az-cream: #f6f5f2;
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif !important;
    color: var(--az-black);
    margin: 0;
    padding: 80px 0;
    background: transparent;
}
.aze-real * {
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif !important;
    box-sizing: border-box;
}

.aze-real-inner {
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── HEAD (split: text vľavo, CTA vpravo) ─── */
.aze-real-head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.aze-real-head-text {
    max-width: 720px;
}
.aze-real-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--az-red);
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(240, 78, 35, 0.3);
    border-radius: 100px;
    background: rgba(240, 78, 35, 0.06);
}
.aze-real-title {
    font-size: 52px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    color: var(--az-black) !important;
    margin: 0 0 14px !important;
    line-height: 1.05 !important;
}
.aze-real-sub {
    font-size: 17px;
    color: var(--az-muted);
    margin: 0;
    line-height: 1.55;
}

/* CTA pill (vpravo v hlavičke) */
.aze-real-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--az-black);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
    flex-shrink: 0;
    white-space: nowrap;
}
.aze-real-cta:hover {
    background: var(--az-red);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(240, 78, 35, 0.32);
}
.aze-real-cta svg { width: 16px; height: 16px; transition: transform 240ms ease; }
.aze-real-cta:hover svg { transform: translateX(4px); }

/* ─── CAROUSEL ─── */
.aze-real-carousel {
    position: relative;
    /* full-bleed left/right efekt (presahuje za max-width 1650 ak je viewport širší) */
}
.aze-real-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 4px 4px 4px;
    margin: 0 -4px;
}
.aze-real-track::-webkit-scrollbar { display: none; }

.aze-real-item {
    flex: 0 0 auto;
    width: calc((100% - 54px) / 4); /* 4 karty + 3 gapy 18px */
    text-decoration: none !important;
    color: inherit !important;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.aze-real-item-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
    position: relative;
}
.aze-real-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.aze-real-item-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0) 70%, rgba(20, 20, 20, 0.18) 100%);
    opacity: 0;
    transition: opacity 280ms ease;
    pointer-events: none;
    border-radius: inherit;
}
.aze-real-item:hover .aze-real-item-img {
    transform: translateY(-4px);
}
.aze-real-item:hover .aze-real-item-img img { transform: scale(1.06); }
.aze-real-item:hover .aze-real-item-img::after { opacity: 1; }

/* ─── ARROWS (veľké okrúhle, po stranách carousel-u) ─── */
.aze-real-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--az-line);
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--az-black);
    transition: all 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.aze-real-arr:hover {
    background: var(--az-red);
    color: #fff;
    border-color: var(--az-red);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 14px 36px rgba(240, 78, 35, 0.35);
}
.aze-real-arr.is-disabled { opacity: 0.3; pointer-events: none; }
.aze-real-arr svg { width: 20px; height: 20px; }
.aze-real-arr--prev { left: -28px; }
.aze-real-arr--next { right: -28px; }

@media (max-width: 1200px) {
    .aze-real-item { width: calc((100% - 36px) / 3); } /* 3 karty na tabletoch */
}
@media (max-width: 900px) {
    .aze-real-title { font-size: 38px !important; }
    .aze-real-item { width: calc((100% - 18px) / 2); } /* 2 karty */
}
@media (max-width: 600px) {
    .aze-real { padding: 56px 0; }
    .aze-real-head--split { align-items: flex-start; gap: 18px; }
    .aze-real-title { font-size: 30px !important; }
    .aze-real-item { width: 80vw; max-width: 360px; }
    .aze-real-arr { display: none; }
}

/* ─── FULL GRID GALLERY (samostatná stránka) ─── */
.aze-real-full { padding-top: 80px; }
.aze-real-head--center {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 720px;
}
.aze-real-title--big { font-size: 56px !important; }
.aze-real-head--center .aze-real-sub { margin: 0 auto; }
.aze-real-count {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 14px;
    background: var(--az-cream);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--az-muted);
}
.aze-real-grid {
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(var(--aze-real-cols, 4), 1fr);
    gap: 16px;
}
@media (max-width: 1024px) { .aze-real-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 720px)  { .aze-real-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { .aze-real-grid { grid-template-columns: 1fr !important; } }
.aze-real-full .aze-real-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--az-cream);
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06);
    transition: all 320ms ease;
}
.aze-real-full .aze-real-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}
.aze-real-full .aze-real-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(20, 20, 20, 0.14);
}
.aze-real-full .aze-real-item:hover img { transform: scale(1.06); }
