/* ========================================
   REALIZACJE PAGE STYLES
   ======================================== */

/* Hero Section */
.top-asystent-hero .realizacje-hero-section {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.top-asystent-hero .realizacje-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.top-asystent-hero .realizacje-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.top-asystent-hero .realizacje-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.top-asystent-hero .realizacje-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.top-asystent-hero .realizacje-hero-overlay-image {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translate(-50%, -1px);
    z-index: 10;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -1px);
    }
    50% {
        transform: translate(-50%, -15px);
    }
}

.top-asystent-hero .realizacje-hero-overlay-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.top-asystent-hero .realizacje-page-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 0;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 5;
}

.top-asystent-hero .realizacje-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.top-asystent-hero .realizacje-page-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.top-asystent-hero .realizacje-page-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    margin: 0;
}

.top-asystent-hero .realizacje-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.top-asystent-hero .realizacja-page-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.top-asystent-hero .realizacja-page-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.top-asystent-hero .realizacja-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.top-asystent-hero .realizacja-page-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.top-asystent-hero .realizacja-page-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
    pointer-events: none;
    transition: background 0.3s ease;
}

.top-asystent-hero .realizacja-page-card:hover .realizacja-page-image::after {
    background: rgba(0, 0, 0, 0.05);
}

.top-asystent-hero .realizacja-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-asystent-hero .realizacja-page-card:hover .realizacja-page-image img {
    transform: scale(1.1);
}

.top-asystent-hero .realizacja-page-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.top-asystent-hero .realizacja-page-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
    line-height: 1.3;
}

.top-asystent-hero .realizacja-page-card-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    text-transform: capitalize;
}

/* Responsive */
@media (max-width: 1024px) {
    .top-asystent-hero .realizacje-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .top-asystent-hero .realizacje-hero-section {
        height: 400px;
    }
    
    .top-asystent-hero .realizacje-hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .top-asystent-hero .realizacje-hero-overlay-image {
        width: 200px;
        height: 200px;
        bottom: -100px;
        transform: translate(-50%, -1px);
    }
    
    .top-asystent-hero .realizacje-hero-overlay-img {
        width: 200px;
        height: 200px;
    }
    
    .top-asystent-hero .realizacje-page-section {
        padding: 80px 0 40px;
    }
    
    .top-asystent-hero .realizacje-page-container {
        padding: 0 24px;
    }
    
    .top-asystent-hero .realizacje-page-header {
        margin-bottom: 50px;
        text-align: left;
    }
    
    .top-asystent-hero .realizacje-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .top-asystent-hero .realizacja-page-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .top-asystent-hero .realizacje-page-section {
        padding: 90px 0 50px;
    }
    
    .top-asystent-hero .realizacje-page-container {
        padding: 0 20px;
    }
    
    .top-asystent-hero .realizacje-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .top-asystent-hero .realizacje-page-intro {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

