/* 1. Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica', sans-serif; }
body { background: #111; color: #fff; }

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

header { 
    padding: 20px 0 10px 0; 
    text-align: center; 
    letter-spacing: 4px; 
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0;
}

.undertitle {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: #fff;
    text-transform: none;
    margin-top: -5px;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* 2. Desktop Mosaic Grid */
.mosaic-container {
    display: flex;
    height: 70vh;
    gap: 15px;
    /* Fade-in Animation Applied Here */
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

.main-feature {
    flex: 2;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
}

.side-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-photo {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* 3. Overlay & Button */
.overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
    -webkit-text-stroke: 1px #000;
    text-stroke: 2px #000;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7); 
    line-height: 1.1;
}

.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 15px 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    /* Transition updated to include the box-shadow for the glow */
    transition: transform 0.2s, box-shadow 0.3s ease;
}

/* Updated Hover State with Glow */
.cta-button:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); /* This creates the white glow */
}

/* 4. Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 1rem;
    color: #fff;
    border-top: 1px solid #333;
    margin-top: 10px;
}

footer .footer-right {
    font-weight: normal;
}

/* 5. ALL MOBILE FIXES (CONSOLIDATED) */
@media (max-width: 768px) {
    .mosaic-container { 
        flex-direction: column; 
        height: auto; 
    }

    .main-feature { 
        flex: none; 
        min-height: 400px; 
        width: 100%;
    }

    .side-grid { 
        flex: none; 
        height: auto; 
        width: 100%;
    }

    .side-photo {
        flex: none; 
        min-height: 300px; 
        width: 100%;
    }

    .overlay {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .overlay h2 {
        font-size: 1.6rem; 
    }

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Fade-in Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
