/* Base Styles */
body, html {
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif; /* Default font */
}

/* blog Section */
.blog-section {
    margin-top: -70px !important;
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.blog-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/blog_home/Thaproban-Beach-House-Penthouse-5.webp') center/cover no-repeat;
    z-index: 0;
}

.blog-content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.blog-tagline {
    color: rgba(255,255,255,0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 500px;
}

.blog-title {
    font-family: 'Marcellus', serif !important;
    font-size: 4.8rem !important;
    color: white !important;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    font-weight: 300;
    max-width: 800px;
    text-align: center;
}

.blog-description {
    font-family: 'Montserrat', sans-serif;
    max-width: 800px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

/* Blog Section */
.section {
    padding: 80px 0; 
    background: #F3F3F0;
}

.container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
}

/* Blog Grid */
.blog-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px;
}

.blog-post {
    width: 100%;
}

.blog-image-container {
    position: relative; 
    width: 100%; 
    height: 420px; 
    overflow: hidden;
}

.blog-image {
    width: 100%; 
    height: 100% !important; 
    object-fit: cover;
}

.date-box {
    position: absolute; 
    top: 20px; 
    left: 20px; 
    background: white; 
    padding: 10px 15px; 
    text-align: center;
}

.date-day {
    font-family: 'Marcellus', serif; 
    font-size: 1.2rem; 
    font-weight: 600;
}

.date-month {
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.8rem;
}

.blog-category {
    color: #4E9B82; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
    margin: 20px 0 10px; 
    font-family: 'Montserrat', sans-serif;
}

.blog-post-title {
    font-size: 1.8rem; 
    line-height: 1.3; 
    margin-bottom: 15px; 
    font-family: 'Marcellus', serif; 
    color: #333;
}

.blog-excerpt {
    color: #555; 
    line-height: 1.6; 
    font-family: 'Montserrat', sans-serif; 
    margin-bottom: 20px;
}

.read-more {
    color: #4E9B82; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.9rem; 
    letter-spacing: 1px; 
    text-decoration: none;
}

.read-more .hover{
    color: #3F8E72 !important;
}

@media (max-width: 1024px) {
    .blog-title {
        font-size: 4rem !important;
    }
}

@media (max-width: 768px) {
    .blog-tagline {
        font-size: 0.8rem;
        letter-spacing: 3px;
        max-width: 90%;
    }
    
    .blog-title {
        font-size: 2.5rem !important;
        max-width: 90%;
    }
    
    .blog-description {
        font-size: 1rem;
        max-width: 90%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-image-container {
        height: 350px;
    }

    .blog-post-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 2rem !important;
    }

    .blog-image-container {
        height: 280px;
    }

    .blog-post-title {
        font-size: 1.4rem;
    }

    .blog-excerpt {
        font-size: 0.95rem;
    }
}