/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
    background-color: #f8f5f2; /* Light cream background */
    color: #4a4a4a; /* Dark grey text */
    line-height: 1.6;
}

:root {
    --accent-color: #a1887f; /* Slightly richer brown accent */
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif; /* Use Poppins for headings */
    font-weight: 600; /* Slightly bolder headings */
    color: #6b4f4f; /* Muted brown for headings */
    margin-bottom: 0.5em;
}

a {
    color: #8d6e63; /* Slightly lighter brown for links */
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: underline;
}

/* Main Content Sections */
main section {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

/* Reduce padding specifically between sections */
#hero {
    padding-bottom: 20px; /* Reduced bottom padding */
}

#next-meetup {
    padding-top: 20px; /* Reduced top padding */
    padding-bottom: 20px; /* Reduced bottom padding */
}

#about {
    padding-top: 20px; /* Reduced top padding */
}

main section:last-of-type {
    border-bottom: none;
}

#hero {
    /* Placeholder background - replace images/hero-bg.png */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-bg.png');
    background-color: #eaddd7; /* Fallback color */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 80px 0; /* Increased padding */
    color: #ffffff; /* White text on hero */
    position: relative; /* Needed for potential overlay */
}

/* Optional: Add overlay if needed */
/* #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay */
/* } */

#hero .container {
    position: relative; /* Ensure text is above overlay */
    z-index: 1;
}

/* Style the H1 specifically within the hero */
#hero h1 {
    font-size: 3.5em; /* Larger hero heading */
    margin-bottom: 10px;
    color: #ffffff; /* White heading */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6); /* Stronger shadow */
    font-weight: 700; /* Bolder */
}

/* Style the new tagline */
#hero .tagline {
    font-size: 1.3em; /* Slightly larger tagline */
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6); /* Adjust shadow */
    margin-top: 0;
}

#next-meetup .meetup-details {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 20px;
}

#next-meetup .meetup-details p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

#next-meetup .meetup-details strong {
    color: #5d4037; /* Darker brown */
}

.meetup-icon {
    margin-right: 8px; /* Space between icon and text */
    color: var(--accent-color); /* Use accent color for icons */
    width: 1.1em; /* Align icons better */
    text-align: center;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px; /* Slightly larger button */
    background-color: var(--accent-color); /* Use accent color */
    color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.map-link:hover, .map-link:focus {
    background-color: #6b4f4f; /* Keep darker hover */
    text-decoration: none;
}

/* Style for the Add to Calendar link */
.calendar-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--accent-color); /* Use accent color */
    color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Ensure no underline */
    font-size: 1em; /* Match map link size */
}

.calendar-link i {
    margin-right: 5px; /* Space between icon and text */
}

.calendar-link:hover, .calendar-link:focus {
    background-color: #6b4f4f; /* Darker hover */
    color: #ffffff;
    text-decoration: none;
}

/* Style for the embedded map container */
.map-container {
    margin-top: 20px;
    border-radius: 8px; /* Match the card radius */
    overflow: hidden; /* Ensures the iframe corners are rounded */
    line-height: 0; /* Prevent extra space below iframe */
}

/* Upcoming Meetings Section */
#upcoming-meetings {
    background-color: #f5f0eb; /* Slightly different shade than main background */
}

#meetings-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

#meetings-list li {
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-color);
}

#meetings-list .meeting-date {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #5d4037;
}

#meetings-list .meeting-location {
    color: #666;
    font-size: 0.9em;
    margin-top: 2px;
}

.loading-msg {
    color: #888;
    font-style: italic;
}

.error-msg {
    color: #d32f2f;
    font-style: italic;
    padding: 10px;
}

/* Footer */
footer {
    background-color: #3e2723; /* Dark coffee brown footer */
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer .container {
    padding: 0 20px; /* Ensure padding for footer text */
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Utility Classes */
.meetup-date-time,
.meetup-location,
.meetup-address {
    /* Styles for specific data points if needed */
    color: #333;
}

/* Responsive Adjustments (Optional basic example) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.2em;
    }
} 