/* Apres Alliance 2024 - Whistler (Wix-inspired layout) */

/* Base styles */
html {
    font-size: 16px;
}

body {
    background-color: #fff;
    color: #333;
}

/* Responsive typography */
@media (max-width: 768px) {
    html {
        font-size: 18px;
    }
    .display-4 {
        font-size: 2.5rem !important;
    }
    .h1, h1 {
        font-size: 2.2rem !important;
    }
    .lead {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 20px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ─── Hero Section ─── */
.hero-section {
    position: relative;
    min-height: 50vh;
    background-color: #0a0c0f;
    background-image: url('../images/Whistler Background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-bottom: 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem 3rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 4px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-dates-top {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    line-height: 1.1;
    letter-spacing: 6px;
    text-transform: uppercase;
}

.hero-year {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.hero-location {
    font-size: 1.6rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.hero-subtitle-bar {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    .hero-year {
        font-size: 1.6rem;
    }
    .hero-location {
        font-size: 1.2rem;
    }
    .hero-section {
        padding-bottom: 80px;
    }
}

/* ─── Photo Strip ─── */
.photo-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    overflow: hidden;
}

.photo-strip-inner {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.photo-strip-inner img {
    width: calc(100% / 6);
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .photo-strip-inner img {
        height: 100px;
        width: calc(100% / 4);
    }
    .photo-strip-inner img:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 480px) {
    .photo-strip-inner img {
        height: 80px;
        width: calc(100% / 3);
    }
    .photo-strip-inner img:nth-child(n+4) {
        display: none;
    }
}

/* ─── Light Info Section (When / Who What) ─── */
.info-section-light {
    background-color: #f5f5f5;
    padding: 3rem 0;
}

.info-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0.5rem;
}

.info-heading {
    font-size: 1.8rem;
    font-weight: 300;
    color: #333;
    line-height: 1.4;
}

/* ─── Where Section (Light) ─── */
.where-section {
    background-color: #fff;
    padding: 3rem 0;
}

.where-section iframe {
    border-radius: 4px;
}

/* ─── Next Steps Section ─── */
.next-steps-section {
    position: relative;
    overflow: hidden;
}

.next-steps-inner {
    display: flex;
    min-height: 350px;
}

.next-steps-image {
    position: relative;
    flex: 0 0 40%;
    overflow: hidden;
}

.next-steps-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.next-steps-title {
    position: absolute;
    bottom: 3rem;
    left: 2.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    margin: 0;
}

.next-steps-text {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

.next-steps-text p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.next-steps-text a {
    color: #2980b9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .next-steps-inner {
        flex-direction: column;
    }
    .next-steps-image {
        flex: 0 0 250px;
    }
    .next-steps-text {
        padding: 2rem 1.5rem;
    }
}

/* ─── Teaser Section (Light) ─── */
.teaser-section {
    background-color: #fff;
}

/* ─── Gallery Section (kept dark to match other pages) ─── */
.gallery-section {
    background-color: #212529;
    padding: 4rem 0;
    color: white;
}
.gallery-section h2 {
    color: white;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 500;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .gallery-item {
        max-width: 200px;
        margin: 0 auto;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .gallery-item {
        max-width: none;
    }
    .gallery-section {
        padding: 2rem 0;
    }
    .gallery-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .shuffle-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.shuffle-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #3d5a80;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.shuffle-button:hover {
    background-color: #4d6a90;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.shuffle-button i {
    transition: transform 0.3s ease;
}
.shuffle-button:hover i {
    transform: rotate(180deg);
}
