@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css");

@font-face {
    font-family: 'Jost';
    src: url('/fonts/Jost-VariableFont_wght.ttf') format('truetype-variations'); 
    font-weight: 100 900; 
    font-style: normal;
}

@font-face {
    font-family: 'Carilliantine';
    src: url('/fonts/Carilliantine.otf') format('opentype');
}

:root {
    --bleu-fonce: #203452;
    --blanc: #FFFFFF;
}

body {
    margin: 0;
    font-family: 'Jost';
    background-color: var(--bleu-fonce);
}

main {
    min-height: 120vh;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 120px;
}

nav {
    font-family: 'Carilliantine';
    background-color: var(--bleu-fonce);
    
    justify-self: center;
    width: 90%;
}

.navbar-mulligan {
    border-radius: 15px; 
}

@media (min-width: 992px) {
    .navbar-mulligan {
        border-radius: 50rem;
    }
}

h1, h2, h3, h4, h5 {
    font-family: 'Carilliantine';
}

h1{
    color: white;
}


/* FOOTER */
footer {
    background-image:
        linear-gradient(to bottom, rgba(32, 52, 82, 1), rgba(32, 52, 82, 0.8)), 
        url(/images/home_hero.png);
    background-size: cover; 
    background-position: center;
    
    position: relative;
    overflow: hidden;
    
    padding-bottom: 13vw !important;
    padding-top: 10vw !important;
}

.footer-text-absolute {
    position: absolute; 
    bottom: 0;          
    left: 0;
    width: 100%;
    z-index: 0;         
    pointer-events: none;
}

.footer-giant-text {
    font-family: 'Carilliantine', serif;
    font-size: 30vw;   
    line-height: 0.75; 
    margin: 0;
    display: block;     
    transform: translateY(38%); 
}

@media (min-width: 992px) {
    .footer-giant-text {
        transform: translateY(38%); 
    }
}

@media (min-width: 1300px) {
    .footer-giant-text {
        transform: translateY(38%); 
    }
}

.footer-title {
    font-family: 'Carilliantine', serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.footer-link-list a {
    text-decoration: none; 
    color: rgba(255, 255, 255, 0.7); 
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-link-list a:hover {
    color: white;
    padding-left: 5px;
}

/* HOME HERO SECTION */
.home_hero_section {
    background-image:
        linear-gradient(to bottom, rgba(32, 52, 82, 0.2), rgba(32, 52, 82, 1)), 
        url(/images/home_hero.png); 
    background-size: cover;
    background-position: center;
    padding-top: 160px; 
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    text-align: center; 
    min-height: 100vh;
}



/* --- COMPOSANT : CARTE GÉNÉRIQUE (Articles & Decks) --- */
.deck-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.deck-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.4) !important;
}

.bg-img-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.deck-img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deck-card-hover:hover .deck-img-zoom {
    transform: scale(1.1);
}

.card-gradient-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, #203452 0%, rgba(32, 52, 82, 0.8) 40%, rgba(32, 52, 82, 0) 100%);
    z-index: 2;
}

.card-content-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* height: 100%; */
    padding: 1.5rem;
    position: absolute;
    bottom: 0;
}