/* 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;
}

.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 */
footer {
    background-color: #2b3a55;
    color: #e8e8e8;
    padding: 60px 0 30px;
    border-top: 4px solid #c8a46d;
}

footer h5 {
    color: #ffffff;
    font-family: "Playfair Display", serif;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer a {
    color: #d3d3d3;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #c8a46d;
}

footer p {
    font-size: 0.95rem;
    color: #ccc;
}

footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}
