/* --- FEATURED PROJECT CARD REINVENTED --- */

.featured-project-card {
    display: flex;
    max-width: 1000px;
    background: rgba(15, 15, 18, 0.8);
    border: 1px solid rgba(255, 170, 0, 0.15);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.featured-project-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 20px rgba(255, 170, 0, 0.1);
}

/* Levá strana - Vizuál */
.project-visual {
    flex: 1.2;
    position: relative;
    background: #111; /* Zde bude váš hlavní Art */
    overflow: hidden;
    min-height: 450px;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(15, 15, 18, 1) 100%);
    z-index: 2;
}

.status-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pravá strana - Detaily */
.project-details {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(15, 15, 18, 1);
    z-index: 3;
}

.tags span {
    color: var(--primary);
    font-size: 0.8rem;
    margin-right: 15px;
    opacity: 0.7;
    text-transform: uppercase;
}

.project-details h3 {
    font-size: 2.5rem;
    margin: 15px 0;
    font-style: italic;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-details p {
    color: #999;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/*--- Image --- */

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space without stretching */
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1); /* Smooth zoom effect */
}

/* Zoom the image slightly when the whole card is hovered */
.featured-project-card:hover .visual-image {
    transform: scale(1.08);
}

/* Ensure the overlay stays on top of the image */
.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 12, 0.8));
    z-index: 2;
}

/* Mobile Adjustments */
@media (max-width: 800px) {
    .featured-project-card {
        flex-direction: column; /* Stacks visual on top, details below */
        max-width: 450px; /* Keeps the card from becoming too wide on mobile */
        margin: 0 auto;
    }

    .project-visual {
        flex: none; /* Disables flex scaling */
        width: 100%;
        min-height: 250px; /* Reduced height so it doesn't push text too far down */
        height: 250px;
    }

    .visual-overlay {
        /* Change gradient to bottom-fade instead of side-fade */
        background: linear-gradient(0deg, rgba(15, 15, 18, 1) 0%, transparent 40%);
    }

    .project-details {
        flex: none; /* Disables flex scaling */
        padding: 30px; /* Thinner padding for mobile screens */
        text-align: center; /* Better readability for vertical stacks */
    }

    .project-details h3 {
        font-size: 1.8rem; /* Smaller heading for smaller screens */
    }

    .project-details p {
        font-size: 1rem;
    }

    .tags span {
    color: var(--primary);
    font-size: 0.6rem;
    margin-right: 15px;
    opacity: 0.7;
    text-transform: uppercase;
}
}