/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    
    /* Add your new background image here */
    background-image: url('images/adamantlove_background.png');
    background-size: cover;        /* Ensures the image covers the whole screen */
    background-position: center;   /* Centers the background design */
    background-attachment: fixed;  /* Keeps the background steady while scrolling */
    background-repeat: no-repeat;
}

header {
    text-align: center;
    padding: 33px 20px;
    
    /* A deep, muted sage-gray pulled from the image */
    background: rgba(122, 130, 122, 0.85);
    
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Make the title text white so it pops against the darker background */
header h1 {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Make the tagline text a soft, readable cream color */
header p {
    color: #f4f6f4;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
}

/* Fix for the back button color on individual post pages like post1.html */
header .back-button {
    color: #f4f6f4;
    font-weight: 500;
}

header .back-button:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* Blog Container */
.blog-container {
    max-width: 900px;
    margin: 90px auto 40px;
    padding: 0 20px;
}

/* The Blog Card (Image + Text Side-by-Side) */
.blog-card {
    display: flex;
    /* Added a bit of transparency to the cards so they blend beautifully */
    background: rgba(255, 255, 255, 0.92); 
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

/* Image section */
.post-image {
    flex: 1; /* Takes up half the space */
    min-width: 300px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the space without stretching */
    display: block;
}

/* Content section */
.post-content {
    flex: 1.2; /* Takes up a bit more than half */
    padding: 30px;
}

.post-date {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-content h2 {
    margin: 10px 0;
    font-size: 1.8rem;
    color: #222;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive: Stack vertically on mobile */
@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }
    .post-image {
        height: 250px;
    }
}
