/* ============================================
   PHOTOBOOTHTO — BREEZE CLOUD MICROSITE TEMPLATE
   Base template for client gallery microsites
   Customize per-client by overriding variables
   ============================================ */

/* ----- BRAND VARIABLES ----- */
:root {
    --primary: #c4363a;
    --primary-hover: #a82d30;
    --accent-gold: #d4a853;
    --bg-dark: #1a1a1a;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --border-radius: 12px;
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.14);
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.25s ease;
}


/* ----- GLOBAL RESETS & BASE ----- */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: #fafafa;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}


/* ----- GALLERY PAGE CONTAINER ----- */
.gallery-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ----- GALLERY HEADER ----- */
.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    padding: 40px 20px 24px;
    text-align: center;
}

.event-logo {
    max-height: 100px;
    margin: 0 auto 16px;
    object-fit: contain;
}

.event-title h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 4px;
    letter-spacing: 0.01em;
}

.event-title h2 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 8px 0 0;
    padding-top: 0;
}

.gallery-description {
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}


/* ----- SESSION FILTERS / TABS ----- */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.session-filter {
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 24px;
    padding: 8px 20px;
    margin: 0;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.session-filter:hover,
.session-filter.active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.session-filter a {
    text-decoration: none;
    color: inherit;
}


/* ----- SESSION PAGE (SINGLE PHOTO VIEW) ----- */
.session-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.session-date {
    display: flex;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-secondary);
}


/* ----- EVENT ITEMS / PHOTO CARDS ----- */
.event-item {
    margin-top: 24px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.event-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

figure {
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
}

figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    transition: transform 0.4s ease;
}

.event-item:hover figure img {
    transform: scale(1.02);
}


/* ----- CARD FOOTER (SOCIAL + ACTIONS) ----- */
.card-footer {
    margin: 0;
    padding: 12px 16px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    border-top: 1px solid var(--border-color);
}

.social-buttons {
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-buttons:hover {
    cursor: pointer;
}

.social-buttons .button {
    margin: 0 4px;
    opacity: 0.6;
    transition: opacity var(--transition), transform var(--transition);
}

.social-buttons .button:hover {
    opacity: 1;
    transform: scale(1.1);
}

.action-buttons {
    margin-left: auto;
    margin-right: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.action-buttons button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background var(--transition);
    color: var(--text-secondary);
}

.action-buttons button:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.action-buttons .button {
    margin: 0 2px;
}


/* ----- DOWNLOAD / CTA BUTTON (IF USED) ----- */
.download-btn,
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}

.download-btn:hover,
.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}


/* ----- POWERED BY / FOOTER ----- */
.microsite-footer {
    text-align: center;
    padding: 40px 20px 24px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.microsite-footer a {
    color: var(--primary);
    text-decoration: none;
}

.microsite-footer a:hover {
    text-decoration: underline;
}


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media only screen and (max-width: 900px) {
    .event-title h1 {
        font-size: 28px;
    }
    .event-title h2 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 650px) {
    .gallery-page {
        padding: 0 16px;
    }
    .session-page {
        margin: 0 12px;
    }
    .gallery-header {
        padding: 24px 12px 16px;
    }
}

@media only screen and (max-width: 550px) {
    .event-title h1 {
        font-size: 24px;
    }
    .event-title h2 {
        font-size: 15px;
        padding-top: 6px;
    }
    .gallery-filters {
        gap: 6px;
    }
    .session-filter {
        font-size: 13px;
        padding: 6px 14px;
    }
}

@media only screen and (max-width: 480px) {
    .gallery-header {
        flex-direction: column;
        align-items: center;
    }
    .event-title {
        margin: 0;
    }
    .event-title h2 {
        text-align: center;
    }
    .gallery-description {
        text-align: center;
        font-size: 14px;
    }
    .card-footer {
        padding: 10px 12px;
    }
}


/* ============================================
   PER-CLIENT OVERRIDES
   Copy one of these blocks and rename for each
   client microsite. Override only what changes.
   ============================================ */

/* --- Example: Desjardins branded --- */
/*
:root {
    --primary: #00874e;
    --primary-hover: #006b3e;
    --accent-gold: #d4a853;
    --font-heading: 'Montserrat', sans-serif;
}
*/

/* --- Example: Corporate dark theme --- */
/*
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-card: #1e1e1e;
    --text-primary: #f0f0f0;
    --text-secondary: #aaaaaa;
    --border-color: #333333;
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.3);
}
body {
    background-color: #121212;
}
*/

/* --- Example: Luxury / Gold accent --- */
/*
:root {
    --primary: #b8860b;
    --primary-hover: #996f0a;
    --accent-gold: #d4a853;
    --font-heading: 'Playfair Display', serif;
}
*/
