/* ========== FONTS ========== */
@font-face {
    font-family: 'Amiamie-BlackRound';
    src: url('src/font/Amiamie-BlackRound.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Amiamie-RegularRound';
    src: url('src/font/Amiamie-RegularRound.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ProtestStrike-Regular';
    src: url('src/font/ProtestStrike-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Adelphe-FlorealRegular';
    src: url('src/font/Adelphe-FlorealRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GreatVibes-Regular';
    src: url('src/font/GreatVibes-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* ========== LAYOUT ========== */
.logo-banner {
    width: 100%;
    height: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}
.logo-banner img {
    height: 270px;
    object-fit: contain;
    margin-top: 50px;
}
.mobile-logo { display: none; }
.additional-image {
    height: 300px;
    object-fit: contain;
}
.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}
.column {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}
.left-column, .right-column {
    background-color: #eeeeee;
}
.left-column {
    position: fixed;
    width: 30%;
    height: 100vh;
    overflow-y: auto;
    text-align: center;
    padding: 0 20px;
}
.right-column {
    margin-left: 30%;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    width: 70%;
}

/* ========== BUTTONS ========== */
.button-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    background-color: #eeeeee;
}
button {
    padding: 20px 40px;
    font-size: 2em;
    cursor: pointer;
    background-color: #eeeeee;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Amiamie-BlackRound', sans-serif;
    color: #939c9d;
    -webkit-text-stroke: 1.4px #3c3c3b;
    text-stroke: 1.4px #3c3c3b;
}
button:hover {
    color: #939c9d;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff48d1, 0 0 30px #ff48d1, 0 0 40px #ff48d1;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
}

/* ========== TYPOGRAPHY ========== */
h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}
h2 {
    font-size: 1.4em;
    font-family: 'Adelphe-FlorealRegular.woff';
    line-height: 1em;
    margin-bottom: 40px;
    text-align: center;
    color: #939c9d;
    padding: 0 40px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}
p {
    font-size: 1.1em;
    line-height: 1.6em;
    margin-bottom: 13px;
    margin-top: -5px;
}

/* ========== GRADIENTS ========== */
.gradient-box-top {
    width: 100%;
    height: 75px;
    background: linear-gradient(to bottom, #0eff3e, rgba(238, 238, 238, 0));
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: regular;
    z-index: 1000;
}
.gradient-box-bottom {
    width: 100%;
    height: 75px;
    background: linear-gradient(to bottom, rgba(238, 238, 238, 0), #ff48d1);
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: regular;
    z-index: 1000;
}

/* ========== SECTIONS ========== */
.section {
    margin-bottom: 30px;
    padding: 0;
}
.section h3 {
    font-family: 'ProtestStrike-Regular', sans-serif;
    font-size: 3em;
    color: #3c3c3b;
    margin-top: 12px;
    margin-bottom: 0px;
    padding: 0;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
    text-align: center;
}
.section h3::first-letter {
    font-family: 'GreatVibes-Regular', cursive;
    font-size: 1.6em;
}
.section p {
    font-size: 1.1em;
    line-height: 1em;
    margin-bottom: 8px;
    margin-top: 1px;
    color: #3c3c3b;
    text-align: center;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
}
.subsection:first-of-type { margin-top: -13px; }
.subsection { margin: 0; padding: 0; }
.subsection h4 {
    font-family: 'Amiamie-BlackRound', sans-serif;
    font-size: 1.5em;
    color: #939c9d;
    margin-bottom: -2px;
    margin-top: -2px;
    padding: 0;
    text-shadow: -1px -1px 0 #3c3c3b, 1px -1px 0 #3c3c3b, -1px 1px 0 #3c3c3b, 1px 1px 0 #3c3c3b;
    text-align: center;
}
.subsection p {
    font-size: 1.1em;
    line-height: 1em;
    margin: 0;
    padding: 0;
    color: #3c3c3b;
    text-align: center;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
}

/* ========== CONTENT SECTIONS ========== */
.content-section { display: none; padding: 20px; height: auto; overflow: visible; }
.content-section.active { display: block; }
.project-section { margin-bottom: 40px; height: auto; }
.project-title {
    font-family: 'GreatVibes-Regular', cursive;
    font-size: 2.5em;
    color: #fff;
    text-shadow: -2px -2px 0 #3c3c3b, 2px -2px 0 #3c3c3b, -2px 2px 0 #3c3c3b, 2px 2px 0 #3c3c3b;
    margin-bottom: 0px;
    text-align: center;
}
.image-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 450px;
    margin: 0px 0 0px 0;
}
.image-scroll::-webkit-scrollbar { display: none; }
.image-scroll img {
    height: 450px;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
}
.project-info {
    font-family: 'Amiamie-BlackRound', sans-serif;
    color: #939c9d;
    font-size: 1em;
    margin: 0;
    padding: 0 0 0 0px;
    line-height: 1.2;
    text-align: left;
}
.project-description {
    font-family: 'Amiamie-RegularRound', sans-serif;
    color: #3c3c3b;
    font-size: 1.1em;
    line-height: 1.4;
    margin-top: 1px;
    text-align: left;
    padding-left: 0px;
    display: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}
.project-description.active {
    display: block;
    opacity: 1;
    max-height: 500px;
}
.project-description a {
    color: #dc0fd2;
    text-decoration: none;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
    transition: all 0.3s ease;
}
.project-description a:hover {
    color: #dc0fd2;
    text-shadow: -1px -1px 0 #3c3c3b, 1px -1px 0 #3c3c3b, -1px 1px 0 #3c3c3b, 1px 1px 0 #3c3c3b;
}
a {
    color: #3c3c3b;
    text-decoration: none;
    font-family: 'Adelphe-GerminalRegular', sans-serif;
    transition: all 0.3s ease;
}
a:hover {
    color: #dc0fd2;
    text-shadow: -1px -1px 0 #3c3c3b, 1px -1px 0 #3c3c3b, -1px 1px 0 #3c3c3b, 1px 1px 0 #3c3c3b;
}
.project-info:hover {
    color: #939c9d;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff48d1, 0 0 30px #ff48d1, 0 0 40px #ff48d1;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ========== MOBILE ========== */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        display: flex;
    }
    .left-column {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
        order: 2;
        display: block !important;
        visibility: visible !important;
    }
    .right-column {
        position: relative;
        width: 100%;
        margin-left: 0;
        height: auto;
        overflow: visible;
        order: 3;
    }
    .logo-banner {
        position: relative;
        margin-top: -50px;
        margin-bottom: -15px;
        justify-content: center;
        order: 1;
    }
    .main-logo { display: none; }
    .mobile-logo {
        display: block;
        width: 100%;
        margin-top: -20px;
    }
    .mobile-dropdown { display: block; margin: 20px 0; }
    .dropdown-button {
        width: 100%;
        padding: 15px;
        background-color: #eeeeee;
        border: none;
        text-align: center;
        font-family: 'Amiamie-BlackRound', sans-serif;
        font-size: 1.5em;
        color: #939c9d;
        -webkit-text-stroke: 1px #3c3c3b;
        text-stroke: 1px #3c3c3b;
        cursor: pointer;
    }
    .section { display: block !important; }
    .section[data-section="parcours"],
    .section[data-section="my-friends"] { display: none !important; }
    .dropdown-content { display: none; padding: 20px; background-color: #eeeeee; }
    .dropdown-content.active { display: block; }
    .dropdown-content.active .section { display: block; }
    .button-container {
        position: sticky;
        top: 0;
        background-color: #eeeeee;
        z-index: 100;
        padding: 10px 0;
    }
    .button-container button {
        font-size: 1.5em;
        padding: 10px 18px;
    }
    .content-section { padding: 10px; }
    .project-title { font-size: 2em; }
    .image-scroll { height: 400px; }
    .image-scroll img { height: 400px; }
    .project-info { font-size: 0.9em; padding: 0 10px; text-align: center; }
    .project-description { font-size: 1em; padding: 0 10px; text-align: center; }
    .gradient-box-top { height: 40px; top: 0px; }
    p, h1, h2, h3, h4, .project-info, .project-description, .section p, .subsection p { text-align: center !important; }
    .section:first-of-type h3,
    .left-column .section:first-of-type h3 { font-size: 4.2em !important; margin-bottom: 20px; }
    .section:first-of-type h4 { font-size: 1.8em; margin-bottom: 5px; }
    .section:first-of-type p { font-size: 1.3em; margin-bottom: 15px; }
    .section:first-of-type .subsection { margin-bottom: 20px; }
    h2 { margin-bottom: 40px; }
    #auto-edition-section .image-scroll,
    #auto-edition-section .image-scroll img { height: 500px; }
    .contact-section { display: none !important; }
    .mobile-contact-footer {
        display: block;
        font-family: 'Amiamie-BlackRound', sans-serif;
        font-size: 0.7em;
        color: #3c3c3b;
        background: #ff48d1;
        text-align: center;
        padding: 10px 0 10px 0;
        letter-spacing: 0.1em;
        width: 100%;
        position: relative;
        z-index: 1001;
        line-height: 1.7;
    }
    .mobile-contact-footer::before {
        content: "";
        display: block;
        width: 100%;
        height: 40px;
        position: absolute;
        top: -40px;
        left: 0;
        background: linear-gradient(to bottom, rgba(238, 238, 238, 0), #ff48d1);
        z-index: 1000;
        pointer-events: none;
    }
    .mobile-divider {
        display: block;
        width: 90%;
        height: 2px;
        margin: 0 auto 10px auto;
        background: #666;
        border-radius: 2px;
        opacity: 0.7;
    }
}

/* ========== TABLET ========== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .left-column { width: 40%; }
    .right-column { width: 60%; margin-left: 40%; }
    .logo-banner img { height: 230px; }
    .button-container button { font-size: 1.8em; }
}

.auto-edition-info {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin: 10px auto 0 auto;
    max-width: 600px;
    font-family: 'Amiamie-RegularRound', sans-serif;
    opacity: 0.85;
    padding: 0 8px;
}
.auto-edition-info-toggle {
    font-size: 1em;
    color: #939c9d;
    text-align: center;
    margin: 12px auto 0 auto;
    max-width: 600px;
    font-family: 'Amiamie-RegularRound', sans-serif;
    opacity: 0.85;
    padding: 0 8px;
    cursor: pointer;
    background: #eeeeee;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #dc0fd2;
    display: inline-block;
}
.auto-edition-info-toggle:hover {
    color: #dc0fd2;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff48d1;
    border-color: #ff48d1;
}
.auto-edition-info-description {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin: 10px auto 0 auto;
    max-width: 600px;
    font-family: 'Amiamie-RegularRound', sans-serif;
    opacity: 0.85;
    padding: 0 8px;
    display: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
}
.auto-edition-info-description.active {
    display: block;
    opacity: 1;
    max-height: 200px;
}

/* ========== MOBILE DIVIDER ========== */
.mobile-divider { display: none; }