/* === POP ART STYLES === */
:root {
    --green: #2ECC71;
    --orange: #FF5733;
    --yellow: #F1C40F;
    --blue: #3498DB;
    --pink: #FF00FF;
    --black: #000;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: 
        linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),
        url('../img/birddd.png') no-repeat center/cover fixed;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* === HEADER === */
header {
    background: url('../img/backpop5.png') center/cover;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
}

#jac-logo {
    width: clamp(100px, 15vw, 150px);
    margin: 0 auto;
    display: block;
    transition: transform 0.5s;
}

#jac-logo:hover {
    transform: rotate(10deg) scale(1.1);
}

.title-animate {
    font-family: 'Bungee', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--yellow);
    text-shadow: 4px 4px 0 var(--orange);
    margin: 1rem 0 0;
    transition: all 0.3s;
}

.title-animate:hover {
    transform: scale(1.05);
    text-shadow: 5px 5px 0 var(--pink);
}

/* === TITLE SVGs === */
.title-svg {
    position: absolute;
    width: clamp(60px, 10vw, 100px);
    animation: float 8s infinite ease-in-out;
    filter: drop-shadow(2px 2px 0 var(--black));
    opacity: 0.9;
}

.top-left {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.top-right {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.inline-svg {
    width: clamp(160px, 5vw, 60px);
    margin-left: 15px;
    vertical-align: middle;
    animation: spin 15s linear infinite;
}

/* === SECTION SVGs === */
.section-svg {
    position: absolute;
    width: clamp(80px, 12vw, 150px);
    z-index: -1;
    opacity: 0.15;
    animation: float 10s infinite ease-in-out;
}

.left-svg {
    left: -40px;
    top: 50%;
}

.right-svg {
    right: -40px;
    top: 30%;
}

.center-svg {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(100px, 15vw, 180px);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === MAIN CONTENT === */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    margin: 4rem 0;
    position: relative;
}

h2 {
    font-family: 'Bungee', cursive;
    font-size: 2.5rem;
    color: var(--orange);
    text-shadow: 2px 2px 0 var(--black);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

h3 {
    font-family: 'Bungee', cursive;
    font-size: 1.5rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 2rem;
}

/* === FLEXBOX SECTIONS === */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.column {
    flex: 1 1 300px;
    padding: 1rem;
}

/* === IMAGE STYLES === */
.pop-art-img {
    border: 4px solid white;
    box-shadow: 8px 8px 0 var(--orange);
    width: 100%;
    transition: all 0.3s;
}

.pop-art-img:hover {
    transform: scale(1.03);
    box-shadow: 12px 12px 0 var(--blue);
}

.market-logo {
    width: 180px;
    display: block;
    margin: 0 auto 1rem;
}

.market-photo {
    width: 100%;
    border: 3px solid var(--yellow);
    margin-top: 1rem;
}

.photo-group {
    display: flex;
    gap: 1rem;
}

.side-photo {
    width: calc(50% - 0.5rem);
    border: 3px solid var(--green);
}

/* === UN GOALS GRID === */
.un-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    margin: 0 auto;
}

.un-grid img {
    width: 100%;
    border: 3px solid var(--orange);
    transition: transform 0.3s;
}

.un-grid img:hover {
    transform: scale(1.1);
    box-shadow: 5px 5px 0 var(--yellow);
}

/* === LOGOS SECTION === */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
}

.logo-grid img {
    height: 60px;
    width: auto;
}

.facebook-icon {
    height: 30px;
    margin-left: 1rem;
    transition: transform 0.3s;
}

.facebook-icon:hover {
    transform: scale(1.2);
}

/* === ENHANCED FOOTER === */
footer {
    background: var(--orange);
    color: white;
    text-align: center;
    position: relative;
    margin-top: 4rem;
    font-family: 'Bungee', cursive;
    padding: 3rem 1rem 2rem;
}

.footer-wave {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave .shape-fill {
    fill: var(--orange);
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-svg {
    width: clamp(50px, 8vw, 80px);
    display: block;
    margin: 1rem auto 0;
    animation: float 6s infinite ease-in-out;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    header {
        height: 60vh;
        padding: 1rem;
    }
    
    .title-animate {
        font-size: 2.5rem;
    }
    
    .title-svg {
        width: 60px;
    }
    
    .inline-svg {
        width: 70px;
    }
    
    .un-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .photo-group {
        flex-direction: column;
    }
    
    .side-photo {
        width: 100%;
    }
    
    .section-svg {
        width: 60px;
    }
    
    .footer-wave {
        top: -60px;
        height: 60px;
    }
    
    .footer-wave svg {
        height: 60px;
    }
}