/* Base styles */
:root {
    --primary-color: #196d99;
    --text-color: #333;
    --link-color: #fff;
    --link-hover-color: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f0f0f0; /* Light gray page background */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-width: 200px;
    height: auto;
}

/* Banner */
.banner {
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Program Section */
.program {
    width: 100%;
    overflow: hidden;
}

.program img {
    width: 100%;
    height: auto;
    display: block;
}

/* Retrospectives Section */
.retrospectives {
    padding: 40px 0;
    background-color: transparent; /* Or match body #f0f0f0 */
}

.retrospectives .container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px 0; /* Adjusted padding for container */
    text-align: center;
    /* background-color and box-shadow removed from here */
}

.retrospective-row {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens if needed */
    justify-content: center; /* Center items if row is not full */
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px; /* Gap between rows */
    padding: 15px; /* Padding inside each row card */
    gap: 15px; /* Gap between items within a row */
}

.retrospective-row:last-child {
    margin-bottom: 0; /* No gap after the last row */
}

.retrospective-item {
    flex: 0 1 calc(25% - 12px); /* Aim for 4 items, adjusting for gap. (15px*3 gaps)/4 items = ~11.25px per item for gap adjustment */
    /* Alternatively, simpler: flex-basis: 23%; to allow for gaps */
    box-sizing: border-box;
}

.retrospective-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* New wrapper for sponsors and social footer background */
.sponsor-social-background {
    background-image: url('./2023_files/gradiente-icip2023.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 0; /* Let retrospectives section handle top padding */
    padding-bottom: 20px; /* Keep some padding at the bottom */
}

/* Sponsors Section */
.sponsors {
    padding: 20px 0;
    /* background-color: #a3003a; */ /* Removed */
    background-color: transparent;
    text-align: center;
}

.sponsors .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sponsors-desktop {
    display: block; /* Shown by default */
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

.sponsors-mobile {
    display: none; /* Hidden by default */
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

/* Social Footer Image Section */
.social-footer-image {
    padding: 30px 0;
    /* background-color: #a3003a; */ /* Removed */
    background-color: transparent;
    text-align: center;
}

.social-footer-image .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.social-footer-image-desktop {
    display: block;
    margin: 0 auto;
    width: 45%; /* As per original inline style */
    height: auto;
}

.social-footer-image-mobile {
    display: none;
    margin: 0 auto;
    width: 92%; /* As per original inline style */
    height: auto;
}

/* Footer styles to be removed */

/* Mobile Styles */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        max-width: 150px;
    }

    header .logo img {
        width: 150px;
    }

    .sponsors-desktop {
        display: none; /* Hide desktop sponsors on mobile */
    }

    .sponsors-mobile {
        display: block; /* Show mobile sponsors on mobile */
    }

    .social-footer-image-desktop {
        display: none; /* Hide desktop social image on mobile */
    }

    .social-footer-image-mobile {
        display: block; /* Show mobile social image on mobile */
    }

    .retrospective-row {
        padding: 10px;
        margin-bottom: 15px;
    }

    .retrospective-item {
        flex-basis: calc(50% - 8px); /* 2 items per row on mobile, adjust for gap */
    }

    .program img,
    .banner img {
        max-width: 100%;
    }

    .retrospectives .section-title,
    .sponsors .section-title {
        font-size: 2em;
    }
} 