/* Banner Styles (unchanged) */
.banner-container {
    position: relative;
    text-align: center;
    height: 200px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb Navigation (unchanged) */
.breadcrumb-nav {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 0;
}

.home-button {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 8px 16px;
    border: 2px solid #fff;
    border-radius: 0;
    margin-right: 10px;
}

.home-button:hover {
    background-color: #fff;
    color: #000;
}

.breadcrumb-current {
    color: #fff;
}

/* Enhanced Dynamic Post Styles */
.blog-content {
    background: #fff;
    padding: 20px;
    font-family: 'Playfair Display', serif;
    max-width: 800px;
    margin: 20px auto;
}

/* Main Title */
.blog-content .main-title {
    font-size: 2.8rem;
    color: #5C3A21;
    margin: 0 0 30px 0;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

/* Content Introduction */
.content-intro {
    font-size: 1.4rem;
    color: #6B4F43;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    font-style: italic;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    color: #8C6A5D;
    margin: 50px 0 20px 0;
    font-weight: 600;
    text-align: left; /* Changed from center to left */
}

/* Section Content */
.section-text {
    font-size: 1.2rem;
    color: #4A4A4A;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
    white-space: pre-wrap; /* Preserves line breaks */
}

.section-text p {
    margin-bottom: 1.5em;
}

/* Images (unchanged) */
.section-image {
    width: 80%;
    max-width: 500px;
    height: auto;
    margin: 20px auto;
    display: block;
    object-fit: cover;
}

.post-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.post-images img {
    width: 45%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

/* ===== MODERN FOOTER ===== */
.site-footer {
    background: rgba(107, 79, 67, 0.85); /* More transparency */
    color: var(--text-light);
    padding: 1.5rem 0; /* Reduced padding for shorter height */
    margin-top: auto;
    backdrop-filter: blur(5px);
}

.footer-content {
    text-align: center;
    padding: 0 1rem;
}

.footer-content p {
    margin-bottom: 1.2rem; /* Reduced margin */
    font-size: 1rem; /* Slightly smaller text */
    opacity: 0.9;
    font-weight: 400;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.8rem; /* Slightly more space between icons */
    margin-top: 0.8rem;
}

.social-media a {
    color: var(--text-light);
    font-size: 1.8rem; /* Larger icons */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    /* Removed background and border properties */
    background: transparent;
    border: none;
    width: auto; /* Let the icons determine their own size */
    height: auto;
}

.social-media a:hover {
    color: rgba(255, 255, 255, 0.9); /* Slight color change on hover */
    transform: translateY(-3px) scale(1.15); /* More pronounced hover effect */
}

/* Ensure Font Awesome icons are visible */
.social-media a i {
    display: inline-block;
    line-height: 1;
}

/* Add tooltips on hover */
.social-media a::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-body);
    font-weight: 500;
}

.social-media a:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-footer {
        padding: 1.2rem 0;
    }
    
    .social-media {
        gap: 1.5rem;
    }
    
    .social-media a {
        font-size: 1.6rem;
    }
    
    .footer-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .blog-content .main-title {
        font-size: 2.2rem;
    }
    
    .content-intro {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-text {
        font-size: 1.1rem;
    }
    
    .section-image {
        width: 90%;
    }

    .home-button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 10px;
    }
    
    .blog-content .main-title {
        font-size: 1.8rem;
    }
    
    .content-intro {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-text {
        font-size: 1rem;
    }
    
    .section-image {
        width: 100%;
    }

    .home-button {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}