/* ════════════════════════════════════════════════ */
/* ▶ RESET & BASE FONT                              */
/* ════════════════════════════════════════════════ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Radio Canada';
}

a {
    color: #0051a4;
    text-decoration: none;
    transition: all 0.5s;
}

/* a:hover {
    color: #0051a4;
    text-decoration: underline;
    text-underline-offset: 5px;
} */


/* ════════════════════════════════════════════════ */
/* ▶ HEADER & NAVBAR                                */
/* ════════════════════════════════════════════════ */

header {
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 10%;
    padding-right: 10%;
    background-color: #ee3a37;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    position: relative;
    height: 45px;
}

.logo {
    width: clamp(50px, 8vw, 150px);
}

.logo img {
    width: 100%;
}

.nav-buttons {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-buttons a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-buttons a:hover,
.nav-buttons a:active {
    color: #ffce00;
}




/* ════════════════════════════════════════════════ */
/* ▶ SECTION STYLING                                */
/* ════════════════════════════════════════════════ */

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    color: white;
    padding-top: clamp(50px, 2vw, 70px);
    padding-bottom: clamp(50px, 2vw, 70px);
    padding-left: clamp(2px, 1vw, 5px);
    padding-right: clamp(2px, 1vw, 5px);
}


/* ════════════════════════════════════════════════ */
/* ▶ TYPOGRAPHY                                     */
/* ════════════════════════════════════════════════ */

h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-top: clamp(20px, 1vw, 50px);
    margin-bottom: clamp(20px, 5vw, 30px);
}

.title {
    font-weight: bold;
    font-size: clamp(1.5rem, 20vw, 4rem);
    word-break: break-word;
    hyphens: auto;
    margin-top: 30px
}

.subtitle1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: bold;
    margin-top: clamp(20px, 1vw, 50px);
    margin-bottom: clamp(20px, 5vw, 30px);
}

.subtitle2 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: lighter;
    min-width: 50px;
    max-width: 600px;
    padding: clamp(10px, 2vw, 20px);
}

.column-title1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-align: center;
    font-weight: bold;
}

.main-text {
    font-size: clamp(1rem, 1.5vw, 2rem);
    font-weight: 400;
    color: white;
    text-align: justify;
    margin-top: clamp(10px, 2vw, 15px);
    line-height: clamp(1.5rem, 2.5vw, 2.2rem);
    word-wrap: break-word;
    hyphens: auto;
}


.tag-container {
    text-align: left;
    margin: 10px 0px;
}

.tag {
    display: inline-block;
    text-align: left;
    font-weight: lighter;
    font-size: 18px;
    padding: 4px 6px;
    border-radius: 5px;
}

/* Temporary hardcoded lines */
.tag-halloween {
    display: inline-block;
    text-align: left;
    font-weight: lighter;
    font-size: 18px;
    padding: 4px 6px;
    border-radius: 5px;
    background-color: #f7ede6;
    color: #f46505;
}



/* ════════════════════════════════════════════════ */
/* ▶ BUTTONS                                        */
/* ════════════════════════════════════════════════ */

.normal-button {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: white;
    font-size: clamp(0.8rem, 1.2rem, 1.5rem);
    font-weight: bolder;
    background-color: #0051a4;
    border: none;
    border-radius: 50px;
    padding: clamp(5px, 2vw, 10px) clamp(10px, 1.5vw, 20px);
    text-decoration: none;
    transition: all 0.5s ease;
}

.normal-button:hover {
    background-color: #ee3a37;
    cursor: pointer;
}

.normal-button:active {
    background-color: #ffce00;
}

/* ════════════════════════════════════════════════ */
/* ▶ FORMS                                          */
/* ════════════════════════════════════════════════ */

.form {
    border-radius: 32px;
    padding: 50px;
    width: clamp(90%, 800px, 100%);
    background: white;
    margin-top: clamp(10px, 2vw, 15px);
    box-shadow: 5px 15px 10px rgba(0, 0, 0, 0.1);
}

.form-text {
    text-align: left;
    margin: 2.5vh;
    line-height: 30px;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    font-weight: lighter;
    color: #2a26266a;
}

/* ════════════════════════════════════════════════ */
/* ▶ FOOTER                                         */
/* ════════════════════════════════════════════════ */

footer {
    margin: 2.5vh;
}

footer .footer-text {
    text-align: center;
    font-size: 15px;
    font-weight: lighter;
    line-height: 1.5;
}


a.creator {
    font-weight: normal;
    position: relative;
}

a.creator::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #0051a4;
    transition: width 0.3s ease;
}

a.creator:hover::after {
    width: 100%;
}

.footer-flexbox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin: 25px;
    flex-wrap:wrap ;
}

.footer-flexbox-item {
    flex-grow: 1;
    flex-basis: calc(33.33% - 40px);
    max-width: 300px;
    min-width: 25vw;
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

footer li {
  color: #0051a4;
  font-size: 1.5rem;
}

/* Style both icons in the footer the same way */
.footer-flexbox-item .fa-facebook-f,
.footer-flexbox-item .fa-user {
  color: #1877f3;      /* Facebook blue, or pick your color */
  font-size: 2rem;     /* Make both icons the same size */
  margin: 0 4px;
  vertical-align: middle;
  transition: color 0.2s;
}

.footer-flexbox-item .fa-facebook-f:hover,
.footer-flexbox-item .fa-user:hover {
  color: #145db2;      /* Slightly darker on hover */
}


.footer-flexbox-item button {
  background: none;
  border: none;
  padding: 0;
  margin: 0 8px;
  box-shadow: none;
  cursor: pointer;
  outline: none;
}


.footer-flexbox-item th {
    color: #0051a4;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    padding-bottom: 5px;
}

.footer-flexbox-item td {
    text-align: left;
    font-size: 15px;
    font-weight: lighter;
    line-height: 1.5;
    padding-bottom: 5px;
}


.footer-flexbox-item td:first-child {
    padding-right: 3vw;
}

.sitemap-url {
  position: relative;
  text-decoration: none;
}

.sitemap-url::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #0051a4;
  transition: width 0.3s ease;
}

.sitemap-url:hover::after {
  width: 100%;
}




@media (max-width: 600px) {
    .footer-flexbox-item {
        flex-basis: 100%;
        width: 80vw;

    }

}


/* ════════════════════════════════════════════════ */
/* ▶ FLASH MESSAGES                                 */
/* ════════════════════════════════════════════════ */

.flash {
    padding: 1em 1.5em;
    margin: 1em auto;
    border-radius: 8px;
    font-weight: bold;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #b7e0c3;
}

.flash-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ════════════════════════════════════════════════ */
/* ▶ RESPONSIVE NAVBAR                              */
/* ════════════════════════════════════════════════ */

/* MENU BUTTONS - HIDDEN BY DEFAULT  ??? */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0051a4;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .nav-bar {
        position: relative;
    }
    .nav-buttons {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #ee3a37;
        width: 200px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        border-radius: 0 0 10px 10px;
        z-index: 1000;
        padding: 10px 0;
    }
    .nav-buttons.show {
        display: flex;
    }
    .nav-buttons li {
        margin: 0;
        padding: 10px 20px;
        text-align: right;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }

    .title {
        font-size: 2rem;
        text-align: center;
        padding-left: 8px;
        padding-right: 8px;
        hyphens: auto;
        word-break: break-word;
        text-decoration: none;
    }

}


/* ════════════════════════════════════════════════ */
/* ▶ SECTION DIVIDER                                */
/* ════════════════════════════════════════════════ */

.section-divider {
  border: none;
  height: 2px;
  background: #ffffff; /* Choose your color */
  width: 100%;
}
