/* Override banner and navbar styles */
.banner {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('source/planning-guide-background.jpg'); /* Add a background image */
    background-size: cover;
    background-position: center;
    height: 60vh; /* Adjust height as needed */
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar ul li a {
    color: #333 !important; /* Change link color to dark */
}

.navbar .logo {
    filter: invert(1); /* Invert logo to be visible on white */
}

.content h1 {
    color: white; /* Ensure title is visible on new background */
    font-size: 55px;
}

/* Main container for the guides */
.planning-guides-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Grid layout for the guide cards */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Styling for individual guide cards */
.guide-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.guide-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-card-content {
    padding: 25px;
}

.guide-card-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.guide-card-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.guide-card-content a {
    display: inline-block;
    background-color: #eb595f;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.guide-card-content a:hover {
    background-color: #d84a51;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .banner {
        height: 40vh;
    }

    .content h1 {
        font-size: 40px;
    }
}
