/* 
   VALENTINE'S DAY FEATURED BOARD - FLOATING IMAGES STYLES
   Includes floating images, heart animations, and Valentine's text
*/

/* Featured Board Wrapper */
.featured-board-wrapper {
    position: relative;
    min-height: 700px;
    margin: 0 auto;
    padding: 80px 20px 40px;
}

/* Valentine's Day Text - Fixed Horizontal Position */
.valentines-text {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 228, 233, 0.95));
    padding: 20px 60px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(216, 27, 96, 0.3);
    backdrop-filter: blur(10px);
}

.valentines-text h3 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: #D81B60;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
}

.valentines-text p {
    font-size: 1.1rem;
    color: #E91E63;
    font-style: italic;
    letter-spacing: 1px;
    margin: 0;
}

/* Floating Images Container - Static Flexbox Layout */
.floating-images-container {
    position: relative;
    width: 100%;
    min-height: 550px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    padding: 20px 0;
}

/* Static Image Styles */
.floating-image {
    position: relative;
    width: 180px;
    height: 280px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 10;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Static Positioning - Reset individual top/left */
.floating-image[data-index="0"],
.floating-image[data-index="1"],
.floating-image[data-index="2"],
.floating-image[data-index="3"],
.floating-image[data-index="4"] {
    position: relative;
}

/* Featured (Large) State - Growing in Place Row */
.floating-image.featured,
.floating-image:hover {
    width: 400px;
    height: 480px;
    z-index: 50;
    box-shadow: 0 15px 40px rgba(216, 27, 96, 0.3);
    margin: 0 10px;
}

/* Hover State */
.floating-image:hover {
    z-index: 60;
}

/* Board Card in Floating Images - Keep existing hover effects */
.floating-image .board-card {
    background: linear-gradient(to bottom right, var(--white), #FFF0E0);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(216, 27, 96, 0.2);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(216, 27, 96, 0.2);
    height: 100%;
}

.floating-image:hover .board-card,
.floating-image.featured .board-card {
    box-shadow: 0 20px 60px rgba(216, 27, 96, 0.4);
    border-color: #D81B60;
}

.floating-image .board-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-image.featured .board-card img {
    height: 350px;
}

.floating-image:hover .board-card img {
    transform: scale(1.05);
}

.floating-image .board-card-content {
    padding: 20px;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-image.featured .board-card-content {
    opacity: 1;
    max-height: 300px;
    padding: 25px;
}

.floating-image .board-card h3 {
    margin-bottom: 10px;
    color: #D81B60;
    font-size: 1.5rem;
}

.floating-image.featured .board-card h3 {
    font-size: 1.8rem;
}

.floating-image .board-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Floating Heart Particles */
.heart-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: floatHeart 8s infinite ease-in-out;
}

/* Individual heart animations with different delays and positions */
.heart-1 {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.heart-2 {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.heart-3 {
    left: 35%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.heart-4 {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 10s;
}

.heart-5 {
    left: 65%;
    animation-delay: 1.5s;
    animation-duration: 7.5s;
}

.heart-6 {
    left: 75%;
    animation-delay: 2.5s;
    animation-duration: 8.5s;
}

.heart-7 {
    left: 85%;
    animation-delay: 0.5s;
    animation-duration: 9.5s;
}

.heart-8 {
    left: 95%;
    animation-delay: 3.5s;
    animation-duration: 8s;
}

/* Heart Float Animation */
@keyframes floatHeart {
    0% {
        bottom: -10%;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        bottom: 110%;
        transform: translateX(20px) rotate(15deg);
        opacity: 0;
    }
}

/* Floating animation removed - images are now static */

/* About Logo Styles */
.about-logo {
    transition: transform 0.3s ease;
}

.about-logo:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .floating-images-container {
        min-height: 550px;
    }

    .floating-image {
        width: 240px;
    }

    .floating-image.featured {
        width: 450px;
    }
}

@media (max-width: 992px) {
    .featured-board-wrapper {
        min-height: 600px;
        padding: 100px 20px 40px;
    }

    .valentines-text {
        padding: 15px 40px;
    }

    .valentines-text h3 {
        font-size: 2rem;
    }

    .valentines-text p {
        font-size: 1rem;
    }

    .floating-images-container {
        min-height: 500px;
    }

    .floating-image {
        width: 200px;
    }

    .floating-image.featured {
        width: 380px;
    }

    .floating-image.featured .board-card img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .featured-board-wrapper {
        min-height: 500px;
        padding: 90px 10px 30px;
    }

    .valentines-text {
        padding: 12px 30px;
    }

    .valentines-text h3 {
        font-size: 1.6rem;
    }

    .valentines-text p {
        font-size: 0.9rem;
    }

    .floating-images-container {
        height: 450px;
    }

    .floating-image {
        width: 160px;
    }

    .floating-image.featured {
        width: 320px;
    }

    .floating-image.featured .board-card img {
        height: 220px;
    }

    .floating-image .board-card img {
        height: 140px;
    }

    .heart {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .featured-board-wrapper {
        min-height: 450px;
    }

    .valentines-text h3 {
        font-size: 1.4rem;
    }

    .floating-images-container {
        height: 400px;
    }

    .floating-image {
        width: 130px;
    }

    .floating-image.featured {
        width: 280px;
    }

    .floating-image.featured .board-card img {
        height: 180px;
    }

    .floating-image .board-card img {
        height: 120px;
    }

    .floating-image.featured .board-card-content {
        padding: 15px;
    }

    .floating-image .board-card h3 {
        font-size: 1.2rem;
    }

    .floating-image.featured .board-card h3 {
        font-size: 1.4rem;
    }

    .floating-image .board-card p {
        font-size: 0.85rem;
    }
}
