/* ==========================================================================
   Base Styles and General Layout
   ========================================================================== */

/* General Body and Container */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    font-size: 13px; /* Adjusted from 14px to make text smaller */
}

body.fade-in {
    opacity: 1;
}

.container {
    margin: auto;
    max-width: 1200px; /* Adjusted from 1800px to give more space from walls */
    overflow: hidden;
    padding: 0 40px; /* Increased padding from 20px to give more space from walls */
}

.container p {
    font-size: 1.2em; /* Adjusted from 1.3em */
}

/* Color Variables */
:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --accent-color: #ffab1b;
    --light-gray: #f8f8f8;
    --dark-gray: #343a40;
    --omega-blue: #0A2253;
    --omega-light-blue: #007bff;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

h1 {
    font-size: 2.5em; /* Adjusted from 2.8em */
    text-align: center;
    margin-top: 20px;
    color: white;
}

h2 {
    font-size: 1.8em; /* Adjusted from 2em */
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.4em; /* Adjusted from 1.6em */
    margin-bottom: 10px;
}

h4 {
    font-size: 1em; /* Adjusted from 1.1em */
    margin-bottom: 10px;
    font-weight: 400;
}

p {
    margin-bottom: 1.5px;
    line-height: 1.7;
}


/* ==========================================================================
   Common Section Styles (for About, Events, Businesses, Blog, Meetings, Contact)
   ========================================================================== */

.common-section {
    padding: 60px 0;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.common-section:nth-child(even) {
    background: var(--light-gray);
}


/* ==========================================================================
   General Grid Layouts for Listings (Events, Businesses, Blog, Meetings)
   ========================================================================== */

.filter-controls {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-controls input,
.filter-controls select {
    color: var(--dark-gray);
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em; /* Adjusted from 1.1em */
    width: 100%;
    max-width: 300px;
}

.event-list-grid,
.business-list-grid,
.blog-list-grid,
.meeting-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card,
.business-card,
.blog-post-card,
.meeting-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover,
.business-card:hover,
.blog-post-card:hover,
.meeting-card:hover {
    transform: translateY(-5px);
}

.event-image,
.business-logo,
.post-image,
.meeting-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.event-card h3,
.business-card h3,
.blog-post-card h3,
.meeting-card h3 {
    padding: 15px 20px 0;
    margin-bottom: 10px;
    font-size: 1.4em; /* Adjusted from 1.6em */
    text-align: center;
    color: var(--dark-gray);
}

.event-card p,
.business-card p,
.blog-post-card p,
.meeting-card p {
    text-align: center;
    padding: 0 20px;
    font-size: 1em; /* Adjusted from 1.1em */
    color: #666;
    flex-grow: 1;
}

.event-card .btn-details,
.business-card .btn-details,
.blog-post-card .btn-details,
.meeting-card .btn-details {
    width: 80%;
    font-size: 1em; /* Adjusted from 1.1em */
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    align-items: center;
    text-align: center;
    border-radius: 15px;
    margin: 20px;
    transition: background 0.3s ease;
    align-self: center;
}

.event-card .btn-details:hover,
.business-card .btn-details:hover,
.blog-post-card .btn-details:hover,
.meeting-card .btn-details:hover {
    background: var(--secondary-color);
}

.event-date,
.event-location,
.post-meta,
.meeting-date,
.meeting-location {
    justify-content: center;
    font-size: 1.2em; /* Adjusted from 1.3em */
    color: #888;
    padding: 0 20px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-results-message {
    text-align: center;
    color: #555;
    margin-top: 30px;
    font-style: italic;
    font-size: 0.9em; /* Adjusted from 1em */
}


/* ==========================================================================
   Page: Index/Home - Header and Navigation
   ========================================================================== */

header {
    background: var(--dark-gray);
    color: #fff;
    padding: 10px 0;
    border-bottom: var(--primary-color) 3px solid;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu-list li {
    margin-left: 25px;
}

.nav-menu-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1em; /* Adjusted from 1.1em */
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu-list a:hover {
    color: var(--secondary-color);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6em; /* Adjusted from 1.8em */
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/img/index/index-hero-2.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 2.8em; /* Adjusted from 3em */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.4em; /* Adjusted from 1.6em */
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em; /* Adjusted from 1.3em */
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #218838;
}

/* About Section */
.about-section .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    text-align: left;
    margin-top: 30px;
}

.about-section .about-text {
    flex: 2;
    font-size: 1.1em; /* Adjusted from 1.2em */
}

.about-section .about-image {
    flex: 1;
    text-align: center;
}

.about-section .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
    padding: 10px;
}

.cta-section h2 {
    color: #fff;
    font-size: 2em; /* Adjusted from 2.2em */
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em; /* Adjusted from 1.3em */
    margin-bottom: 30px;
}

/* Contact Section */
.contact-section .contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.contact-form-container {
    flex: 2;
    font-size: 1.1em; /* Adjusted from 1.2em */
    min-width: 300px;
    max-width: 600px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="phone"],
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em; /* Adjusted from 1.05em */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em; /* Adjusted from 1.2em */
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: var(--secondary-color);
}

.contact-info-container {
    flex: 1;
    min-width: 250px;
    background: var(--omega-blue);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-info-container h3 {
    color: #fff;
    font-size: 1.6em; /* Adjusted from 1.8em */
    margin-bottom: 20px;
}

.social-icons-list{
    list-style: none;
    font-size: 1.5em;
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-item i {
    font-size: 1.5em; /* Adjusted from 1.6em */
    margin-right: 15px;
    color: var(--secondary-color);
}

.contact-info-item p {
    margin: 0;
    font-size: 1.1em; /* Adjusted from 1.2em */
    color: #eee;
}

.map-container{
    margin-top: 20px;
}

/* ==========================================================================
   Page Specific Styles: Blog Post Details
   ========================================================================== */

.blog-post-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/blog/blog-hero.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.blog-post-header h1 {
    font-size: 2.8em; /* Adjusted from 3em */
    margin-bottom: 10px;
}

.blog-post-header .post-meta {
    font-size: 1.1em; /* Adjusted from 1.2em */
    color: #fff;
}

.blog-post-content {
    padding: 20px 0;
}

.blog-post-body {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.blog-post-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.blog-post-body h2 {
    font-size: 2em; /* Adjusted from 1.8em */
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-gray);
    text-align: left;
}

.blog-post-body h3 {
    font-size: 1.6em; /* Adjusted from 1.5em */
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--dark-gray);
    text-align: left;
}

.blog-post-body h4 {
    font-size: 1.2em; /* Adjusted from 1.1em */
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--dark-gray);
    text-align: left;
}

.blog-post-body p {
    font-size: 1.2em; /* Adjusted from 1em */
    margin-bottom: 15px;
    color: #444;
}

.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 15px;
    padding-left: 20px;
    color: #444;
}

.blog-post-body ul li,
.blog-post-body ol li {
    margin-bottom: 8px;
    font-size: 1.2em; /* Adjusted from 1em */
}

.blog-post-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-post-body a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--dark-gray);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px; /* Ensure padding for footer container as well */
}

footer .footer-logo{
    width: 300px;
}

footer .footer-col {
    flex: 1;
    min-width: 250px;
}

footer .footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.4em; /* Adjusted from 1.6em */
}

footer .footer-col p,
footer .footer-col ul li {
    font-size: 0.9em; /* Adjusted from 1em */
    margin-bottom: 10px;
    line-height: 1.5;
}

footer .footer-col ul {
    list-style: none;
    padding: 0;
}

footer .footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-col ul li a:hover {
    color: var(--secondary-color);
}

footer .social-icons-list {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

footer .social-icons-list li a {
    color: #fff;
    font-size: 1.4em; /* Adjusted from 1.6em */
    transition: color 0.3s ease;
}

footer .social-icons-list li a:hover {
    color: var(--secondary-color);
}

.footer-bottom-text {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 0.8em; /* Adjusted from 0.9em */
    color: #ccc;
}

/* ==========================================================================
   Media Queries for Responsiveness (style.css)
   ========================================================================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 30px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2em; /* Adjusted */
    }

    h2 {
        font-size: 1.6em; /* Adjusted */
    }

    h3 {
        font-size: 1.2em; /* Adjusted */
    }

    .hero-section {
        padding: 80px 20px;
    }

    .hero-section h1 {
        font-size: 2.5em; /* Adjusted */
    }

    .hero-section p {
        font-size: 1.3em; /* Adjusted */
    }

    .about-section .about-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-section .about-text {
        font-size: 1em; /* Adjusted */
    }

    .contact-section .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form-container,
    .contact-info-container {
        max-width: 90%;
        margin: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Further adjust padding for very small screens */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 90px; /* Height of header */
        left: 0;
        background: var(--dark-gray);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding-bottom: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu-list li {
        margin: 10px 0;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        padding: 60px 15px;
    }

    .hero-section h1 {
        font-size: 2em; /* Adjusted */
    }

    .hero-section p {
        font-size: 1.1em; /* Adjusted */
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1.1em; /* Adjusted */
    }

    .filter-controls {
        flex-direction: column;
        align-items: center;
    }

    .filter-controls input,
    .filter-controls select {
        font-size: 0.95em; /* Adjusted */
    }

    .event-list-grid,
    .business-list-grid,
    .blog-list-grid,
    .meeting-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-post-body h2 {
        font-size: 1.4em; /* Adjusted */
    }

    .blog-post-body h3 {
        font-size: 1.1em; /* Adjusted */
    }

    .blog-post-body h4 {
        font-size: 0.9em; /* Adjusted */
    }

    .blog-post-body p {
        font-size: 0.85em; /* Adjusted */
    }

    footer .container {
        flex-direction: column; /* Colunas empilhadas em telas pequenas */
        align-items: center; /* Centraliza as colunas */
        text-align: center;
    }

    footer .footer-col {
        min-width: unset; /* Remove largura mínima para se ajustar */
        width: 100%; /* Ocupa toda a largura disponível */
        margin-bottom: 20px;
    }

    footer .footer-col h3 {
        text-align: center; /* Centraliza títulos em telas pequenas */
    }

    footer .footer-col ul,
    footer .footer-col p {
        text-align: center; /* Centraliza texto e listas em telas pequenas */
    }

    footer .social-icons-list {
        justify-content: center; /* Centraliza ícones sociais */
    }
}

