﻿@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 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a6c1ee);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

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

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

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

.post-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(to bottom, #ffffff, #f8f2ff);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6d9f6;
    box-shadow: 0 6px 12px rgba(111, 66, 193, 0.08);
}

    .post-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(111, 66, 193, 0.18);
    }

    .post-card.expanded {
        transform: scale(1.04);
        z-index: 10;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        border: 1px solid #c5aaf8;
    }

.post-image {
    height: 300px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: all 0.3s ease-in-out;
    border-radius: 14px 14px 0 0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.post-card.expanded .post-image {
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 14px;
}

.profile-img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    margin: 0 auto;
    border: 3px solid #c3a5f7;
    padding: 2px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.15);
    transition: transform 0.3s ease;
}

    .profile-img:hover {
        transform: scale(1.05);
    }

.follow-btn {
    background: linear-gradient(to right, #8a2be2, #6f42c1);
    border: none;
    color: white;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

    .follow-btn:hover {
        background: linear-gradient(to right, #6f42c1, #5a36a5);
    }

.message-btn {
    background-color: transparent;
    border: 2px solid #d5c1f7;
    color: #6f42c1;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

    .message-btn:hover {
        background-color: #f4edff;
        color: #5a36a5;
        border-color: #c7a8f5;
    }

.soft-posts-bar {
    background-color: #f3e8ff; /* soft lavender */
    border: 1px solid #e6d9f6;
    border-radius: 12px;
    height: auto;
    padding: 16px 24px;
    box-shadow: 0 4px 10px rgba(111, 66, 193, 0.05);
}

.soft-posts-heading {
    font-weight: 700;
    color: #6f42c1;
    font-size: 26px;
    margin: 0;
    letter-spacing: 0.5px;
}

.modal-body .follower-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

    .modal-body .follower-card img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #d4b2ff;
        box-shadow: 0 2px 5px rgba(111, 66, 193, 0.1);
    }

    .modal-body .follower-card strong {
        font-size: 15px;
        color: #4a357a;
    }

.popup-confirm-btn,
.popup-cancel-btn {
    padding: 10px 26px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    min-width: 120px;
    display: inline-block;
}

.popup-confirm-btn {
    background-color: #6f42c1 !important; /* Purple */
    color: white !important;
}

.popup-cancel-btn {
    background-color: #dee2e6 !important; /* Grey */
    color: black !important;
}

.popup-confirm-btn:hover {
    background-color: #5a35a3 !important;
}

.popup-cancel-btn:hover {
    background-color: #cfd4d9 !important;
}

/* 🔍 Fullscreen Modal */
.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: 70%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    border: 4px solid white;
}

.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);
    }
}

@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: 28px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .soft-posts-bar {
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    .profile-img {
        width: 80px !important;
        height: 80px !important;
    }

    .post-image {
        height: 220px;
    }

    .soft-posts-heading {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .post-card {
        border-radius: 12px;
    }

    .post-image {
        height: 200px;
    }

    .follow-btn,
    .message-btn {
        width: 100%;
        margin-bottom: 6px;
    }

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

