/* ═══════════════════════════════════════════════════
   o-nas.css — Styles specific to the O nás page
   ═══════════════════════════════════════════════════ */

/* ──── Hero Section ──── */
.hero-about-bg {
    animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-about-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 46, 0.6) 0%,
        rgba(26, 26, 46, 0.4) 50%,
        rgba(26, 26, 46, 0.8) 100%
    );
}

/* ──── Intro Text ──── */
.intro-text-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.intro-text-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ──── Editorial Profiles ──── */
.profile-section {
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.05);
    scroll-margin-top: 90px;
}

/* Sticky Sidebar for Names */
.profile-sidebar {
    margin-bottom: 2rem;
}
@media (min-width: 1024px) {
    .profile-sidebar {
        position: sticky;
        top: 120px;
        margin-bottom: 0;
    }
}

/* Paragraph styling */
.profile-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 2rem;
    font-weight: 300;
}
@media (min-width: 768px) {
    .profile-text p {
        font-size: 1.15rem;
    }
}

/* Editorial Images within the text */
.profile-img-wrap {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 2.5rem;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease-out;
}
.profile-img-wrap.visible {
    transform: translateY(0);
    opacity: 1;
}
.profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.profile-img-wrap:hover img {
    transform: scale(1.05);
}

/* Framer-like Parallax Wrapper */
.parallax-wrap {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%; /* Taller than container to allow movement */
    will-change: transform;
}

/* Specific Image Layouts for alternating flow */
.img-landscape {
    aspect-ratio: 16/9;
}
.img-portrait {
    aspect-ratio: 4/5;
}
.img-square {
    aspect-ratio: 1/1;
}

@media (min-width: 768px) {
    .float-right {
        float: right;
        width: 45%;
        margin-left: 2rem;
        margin-bottom: 1rem;
    }
    .float-left {
        float: left;
        width: 45%;
        margin-right: 2rem;
        margin-bottom: 1rem;
    }
    .clear-both {
        clear: both;
    }
}

/* ──── Scroll Reveal Helpers ──── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}
