﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700&display=swap');
@font-face {
    font-family: 'Great Vibes';
    src: url('/Content/fonts/GreatVibes-Regular.woff2') format('woff2'), url('/Content/fonts/GreatVibes-Regular.woff') format('woff'), url('/Content/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.post-card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: linear-gradient(145deg, #ffb6c1, #d8b0ff);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

    .post-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

.post-header {
    padding: 12px 18px;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

    .post-header img {
        box-shadow: 0 0 0 2px #ff66a6;
    }

    .post-header strong {
        font-family: 'Playfair Display', serif;
        font-size: 17px;
    }

.post-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
}


    .post-image:hover {
        transform: scale(1.03);
    }

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content-image {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    border: 4px solid white;
}

.post-card {
    animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fancy-float-heading {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    font-weight: bold;
    background: linear-gradient(90deg, #ff4d94, #8e2de2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
    animation: floatText 3s ease-in-out infinite;
    margin-bottom: 30px;
}

@keyframes floatText {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    nav .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .fancy-float-heading {
        position: static !important;
        width: 100% !important;
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    main .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .post-image {
        height: 240px;
    }

    .post-header {
        padding: 10px 12px;
    }

    .post-header strong {
        font-size: 15px;
    }

    .modal-content-image {
        max-width: 95%;
        max-height: 85%;
        border-width: 2px;
    }
}

@media (max-width: 576px) {
    .fancy-float-heading {
        font-size: 24px;
    }

    main .container-fluid {
        margin-top: 0.7rem !important;
    }

    .post-card {
        border-radius: 14px;
    }

    .post-image {
        height: 220px;
    }

    .post-header img {
        width: 34px !important;
        height: 34px !important;
    }
}


