/* 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 Carousel Styles */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex; /* Used to ensure slides are in a row conceptually, JS handles display */
    width: 100%; /* Each slide will be 100% width of this */
}

.carousel-slide {
    min-width: 100%;
    display: none; /* Initially hide all slides, JS will show one */
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-carousel .banner-desktop {
    display: block;
}
.banner-carousel .banner-mobile {
    display: none;
}

/* Prev/Next buttons */
.banner-carousel .prev,
.banner-carousel .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

.banner-carousel .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.banner-carousel .prev:hover,
.banner-carousel .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Banner - old static banner, can be removed or kept if fallback needed */
.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('./2021_files/gradiente-icp2021.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 of the gradient block */
}

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

.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 - No longer a single image for 2022 */
.social-footer-image {
    padding: 0; /* Remove padding if the SVG has its own spacing or to make it edge-to-edge with gradient */
    background-color: transparent; /* Background is handled by parent */
    text-align: center; /* Center the image if it doesn't take full width by default */
}

.social-footer-svg {
    display: block;
    width: 45%; /* Set width to 45% */
    height: auto;
    max-width: 100%; /* Ensure it doesn't overflow */
    margin: 0 auto; /* Center the SVG */
}

/* New Footer Styles for 2022 */
.site-footer-2022 {
    padding: 30px 0;
    background-color: transparent; /* Background is handled by parent */
    text-align: center;
    color: #ffffff; /* Assuming white text on the dark gradient */
}

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

.site-footer-2022 .social-icons {
    margin-bottom: 15px;
}

.site-footer-2022 .social-icons a {
    margin: 0 10px;
    display: inline-block;
}

.site-footer-2022 .social-icons img {
    width: 32px; /* Adjust as needed */
    height: 32px; /* Adjust as needed */
}

.site-footer-2022 .footer-text p {
    margin-bottom: 8px;
    font-size: 0.9em;
}

.site-footer-2022 .footer-text a {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer-2022 .footer-text a:hover {
    text-decoration: none;
}

/* 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;
    }

    .banner-carousel .banner-desktop {
        display: none;
    }
    .banner-carousel .banner-mobile {
        display: block;
    }
} 