/* ===============================
   RESET
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   BODY / BACKGROUND
================================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f1f7;
    background-image: url("../images/paper-bg.jpg");
    background-repeat: repeat;
    background-size: 400px;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* ===============================
   HEADER (BOLD PERSONALITY VERSION)
================================= */
.site-header {
    background: linear-gradient(135deg, #7b4cc2 0%, #a855f7 50%, #ff7a59 100%);
    padding: 3rem 0 2.5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* dramatic overlay */
.site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(0,0,0,0.15), transparent 50%);
    pointer-events: none;
}

.site-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: .6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    color: #ffd1ec; /* stronger pink so it’s clearly visible */
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

nav a {
    padding: .6rem 1.2rem;
    border-radius: 30px;
    background: white;
    color: #7b4cc2;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all .25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

nav a:hover {
    background: #ff7a59;
    color: white;
    transform: translateY(-3px) scale(1.05);
}
/* ===============================
   LAYOUT
================================= */
.layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* ===============================
   FEATURED SECTION
================================= */
.featured {
    margin-bottom: 2.5rem;
}

#featured-post {
    max-width: 850px;
    margin: 0 auto 2rem auto;
}

.featured-card {
    background: linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
    border-radius: 20px;
    padding: 0;
    border: 2px solid #d8c8eb;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

.featured-card::before {
    content: "";
    display: block;
    height: 6px;
    background: #a987d3;
}

.featured-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.featured-content {
    padding: 2rem;
}

.featured-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===============================
   POSTS (Homepage Cards)
================================= */
.posts {
    margin-top: 1rem;
}

.post-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdf6f3 100%);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    border-radius: 16px;
    border: 2px solid #f0d2cc;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.post-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #e76f51;
}

.post-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 18px 38px rgba(0,0,0,0.12);
    border-color: #e76f51;
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.post-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.post-card p {
    font-size: .95rem;
    margin-bottom: .75rem;
}

/* ===============================
   INDIVIDUAL POST PAGE
================================= */
.post {
    background: white;
    padding: 2.5rem;
    border-radius: 18px;
    border: 2px solid #d8c8eb;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.post img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin: 2rem 0;
    display: block;
}

/* ===============================
   CATEGORY TAG
================================= */
.category {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    background: #e76f51;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

/* ===============================
   SIDEBAR
================================= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    padding: 1.25rem;
    border-radius: 14px;
    border: 2px solid #e6dbf5;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.sidebar-card h3 {
    margin-bottom: .75rem;
    color: #6e4f9b;
}

/* ===============================
   FOOTER (Enhanced Bold Version)
================================= */
.site-footer {
    margin-top: 2rem;
    background: linear-gradient(135deg, #6f42c1 0%, #a855f7 60%, #ff7a59 100%);
    color: white;
    padding: 1.6rem 0 1rem 0; /* tighter */
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: white;
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem; /* reduced spacing */
}

.site-footer h3 {
    margin-bottom: .9rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: .6rem;
}

.site-footer a {
    color: white;
    text-decoration: none;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease;
}

.site-footer a:hover {
    opacity: 1;
    transform: translateX(4px);
}

/* Social row */
.footer-social {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background .25s ease, transform .25s ease;
}

.footer-social a:hover {
    background: white;
    color: #7b4cc2;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.35);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    #featured-post {
        max-width: 100%;
    }
}
