/*
Theme Name: BabylioPronos Theme
Theme URI: N/A
Author: Alan
Author URI: N/A
Description: Thème spécialisé au site web BabylioPronos
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, responsive-layout, accessibility-ready
Text Domain: mon-theme
*/

/* ===== GLOBAL ANIMATIONS ===== */
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes shine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== GLOBAL INTERACTIVE ===== */
button, [type="submit"], [type="button"], [role="button"], a, summary, [onclick] { cursor: pointer; }

/* ===== FONT FAMILIES ===== */
.font-heading { font-family: 'Anton', sans-serif; }
.font-body { font-family: 'Roboto', sans-serif; }
.font-display { font-family: 'Oswald', sans-serif; }
.font-alt { font-family: 'Montserrat', sans-serif; }

.oswald {
    font-family: 'Oswald', sans-serif;
}

.roboto {
    font-family: 'Roboto', sans-serif;
}

.lato {
    font-family: 'Lato', sans-serif;
}

.anton {
    font-family: 'Anton', sans-serif;
}

.montserrat {
    font-family: 'Montserrat', sans-serif;
}

.robotoslap {
    font-family: 'Roboto Slab', serif;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER STYLES ===== */
#main-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.95);
}

#main-header nav a {
    position: relative;
}

#main-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #FFC40C;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#main-header nav a:hover::after {
    width: 60%;
}

/* ===== BUTTON SHAPES ===== */
.z-shape-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, calc(100% - 15px) 100%, 0 100%);
}

.z-shape-inverse-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(0 0%, 25px 0, 100% 0, 100% 100%, 18px 100%);
}

/* ===== BOX SHADOWS ===== */
.custom {
    box-shadow: 0px 0px 10px 0px #565656;
}

.customtext {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.whitebox {
    box-shadow: 0px 0px 27px 0px rgba(255, 255, 255, 0.53);
}

.box-vip {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

/* ===== NAVIGATION ARROWS ===== */
.prev-btn {
    left: -30px;
}

.next-btn {
    right: -30px;
}

/* ===== UNDERLINE EFFECT ===== */
.underline-yellow {
    position: relative;
}

.underline-yellow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #FFC40C;
}

/* ===== ACTIVE STATE ===== */
.active,
.active>#chevron-icon,
.active>span {
    color: #FFC40C;
}

.special {
    color: black;
}

/* ===== GRADIENT ===== */
.custom-gradient {
    background: linear-gradient(to bottom, #fdc620, #FFC40C, rgb(255, 198, 54), #f5b001);
}

/* ===== ANIMATIONS ===== */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes eyeAnimation {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ===== DIAGONAL CUT ===== */
.diagonal-cut {
    clip-path: polygon(7.5% 0%, 100% 0, 93.5% 100%, 0% 100%);
}

/* ===== CARET ===== */
.caret-black ::placeholder {
    caret-color: black;
}

/* ===== WATERMARK ===== */
.image-container {
    position: relative;
    display: inline-block;
}

.watermark-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 25px;
    font-family: Arial, sans-serif;
    transform: rotate(-24deg);
    pointer-events: none;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.watermark-text span {
    white-space: nowrap;
    margin: 10px;
}

.image-container img {
    display: block;
    position: relative;
    z-index: 0;
}

.tik-id {
    position: absolute;
    bottom: 5px;
    left: 5px;
    color: rgba(26, 45, 57, 0.5);
    font-size: 12px;
    font-family: Arial, sans-serif;
    z-index: 2;
    pointer-events: none;
}

/* ===== FOOTER STYLES ===== */
footer h3 {
    position: relative;
}

footer ul li a {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

footer ul li a:hover {
    transform: translateX(4px);
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== MOBILE MENU ANIMATION ===== */
#mobileMenu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobileMenu nav a {
    transition: all 0.2s ease;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* ===== SELECTION COLOR ===== */
::selection {
    background-color: #FFC40C;
    color: #000;
}
