/*
Theme Name: La Maison
Theme URI: https://mcmq.quebec
Author: Olivier Bigras
Author URI: https://olivierbigras.com
Description: Thème personnalisé pour La Maison de la Chanson et de la Musique du Québec
Version: 1.0
Text Domain: la-maison
*/

@font-face {
    font-family: 'FocalMaxi';
    src: url('fonts/FocalMaxi-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'FocalMaxi';
    src: url('fonts/FocalMaxi-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'FocalMaxi';
    src: url('fonts/FocalMaxi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'FocalMaxi';
    src: url('fonts/FocalMaxi-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

.italic, i, em, [class*="italic"] {
    font-family: 'FocalMaxi', sans-serif;
    font-style: italic;
    font-weight: 300;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'FocalMaxi', sans-serif;
    font-weight: 400;
    color: #1a1a1c;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Page template styles */
body.page {
    background-color: #f0f0f0 !important;
}
body.page header {
    background-color: #f0f0f0 !important;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Video Background */
.video-docker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.video-docker::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10;
}
.video-docker iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Animations */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

@keyframes bounce-center {
    0%, 100% { transform: translateY(4px); }
    50% { transform: translateY(-4px); }
}
.animate-bounce-center {
    animation: bounce-center 1.5s ease-in-out infinite;
}

.scroll-element {
    transition: transform 0.1s linear;
    will-change: transform, opacity;
}

/* Button Flair Hover Effect */
.btn-flair {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-flair__bg {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), width 0s, height 0s;
    z-index: -1;
    pointer-events: none;
}
.btn-flair__label {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* All buttons - text turns white on gold hover */
.btn-flair:hover .btn-flair__label {
    color: #fff;
}

