/* Navbar */
.navbar {
    background-color: #2b3a55;
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    color: #d3d3d3 !important; /* Deep navy */
}

.nav-link {
    color: #d3d3d3 !important;
    /* font-weight: 700; */
    margin-right: 15px;
    transition: color 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
    color: #d7942f !important;
}

/* --- New Blog Section Design --- */
.blog-section {
    padding: 80px 0;
    border-radius: 18px;
    margin-bottom: 20px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.blog-section h2 {
    display: inline-block; /* shrink to text width */
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #2b3a55;
    position: relative;
}

.blog-section h2::after {
    content: "";
    display: block;
    width: 100%; 
    height: 3px;
    background: #c8a46d;
    margin: 12px 0 0;
    border-radius: 2px;
    text-align: start;
}

/* Blog Card Grid */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    z-index: 0; /* base layer */
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
}

/* Badge must stay visible even on hover */
.blog-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2; /* keep above everything */
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background-color: #ffc107;
    color: #212529;
}

/* Optional: subtle zoom effect for image only */
.blog-card:hover img {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}
.blog-card .card-body {
    padding: 25px;
    text-align: left;
    position: relative;
}

/* When images are hidden, add top padding so the category badge doesn't overlap the date */
.blog-card--no-image .card-body {
    padding-top: 42px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #8b8b8b;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2b3a55;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.blog-title:hover {
    color: #c8a46d;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Decorative Accent (optional corner glow) */
.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #c8a46d, #2b3a55);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px 0 0 18px;
}

.blog-card:hover::before {
    opacity: 1;
}

/* View All Button */
.view-all {
    display: block;
    text-align: center;
    margin-top: 60px;
}

.view-all .btn {
    background-color: #c8a46d;
    color: #fff;
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(200, 164, 109, 0.3);
    transition: all 0.3s ease;
}

.view-all .btn:hover {
    background-color: #2b3a55;
    box-shadow: 0 8px 20px rgba(43, 58, 85, 0.25);
}

/* Decorative Stars */
.decor-star {
    position: absolute;
    width: 28px;
    opacity: 0.8;
    animation: floatStar 6s ease-in-out infinite;
}

.blog-star1 {
    top: 15px;
    left: 10%;
    animation-delay: 0s;
    filter: hue-rotate(30deg);
}

.blog-star4 {
    bottom: 5px;
    right: 2%;
    animation-delay: 1s;
}

@keyframes floatStar {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer — theme tokens (overridden per theme in home-themes.css) */
body {
    --footer-bg: #2b3a55;
    --footer-bg-accent: #1e2a3d;
    --footer-accent: #c8a46d;
    --footer-text: #f0f0f0;
    --footer-muted: #b8b8b8;
    --footer-link: #d3d3d3;
    --footer-link-hover: #c8a46d;
    --footer-divider: rgba(255, 255, 255, 0.12);
    --footer-social-bg: rgba(255, 255, 255, 0.08);
    --footer-social-hover: rgba(200, 164, 109, 0.25);
}

.site-footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-accent) 100%);
    color: var(--footer-text);
    border-top: 4px solid var(--footer-accent);
    padding: 3rem 0 0;
    margin-top: auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 3rem;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .site-footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 3rem;
    }

    .site-footer__brand {
        grid-column: auto;
    }
}

.site-footer__logo {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
}

.site-footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--footer-muted);
    margin: 0;
    max-width: 36ch;
}

.site-footer__heading {
    font-family: "Playfair Display", serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--footer-accent);
    margin: 0 0 1.25rem;
}

.site-footer__link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
}

@media (min-width: 992px) {
    .site-footer__link-list {
        grid-template-columns: 1fr;
    }
}

.site-footer__link-list a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.site-footer__link-list a:hover {
    color: var(--footer-link-hover);
    padding-left: 4px;
}

.site-footer__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.site-footer__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--footer-social-bg);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.site-footer__social-btn:hover {
    background: var(--footer-social-hover);
    color: var(--footer-link-hover);
    transform: translateY(-2px);
}

.site-footer__bottom {
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--footer-divider);
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--footer-muted);
    letter-spacing: 0.02em;
}
