/*
==========================================================
OUANAMINTHE FC
GLOBAL CSS
Version: 1.0
Author: Cherlin Elmorin
Description:
Global styles shared across the entire website.
==========================================================
*/

/* ==========================================================
   ROOT
========================================================== */
/* ================================
   GLOBAL UX POLISH
================================ */

/* links clean */
a{
    text-decoration: none;
    color: inherit;
}

/* image consistency */
img{
    max-width: 100%;
    display: block;
}


html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background: var(--color-background);
    overflow-x: hidden;
}

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-700);
    line-height: var(--lh-tight);
    color: var(--color-text);
    margin-bottom: var(--space-16);
}

h1 { font-size: var(--fs-60); }
h2 { font-size: var(--fs-48); }
h3 { font-size: var(--fs-36); }
h4 { font-size: var(--fs-30); }
h5 { font-size: var(--fs-24); }
h6 { font-size: var(--fs-20); }

p {
    margin-bottom: var(--space-16);
    color: var(--color-text-light);
}

/* ==========================================================
   LINKS
========================================================== */

a {
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

/* ==========================================================
   IMAGES
========================================================== */

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================
   CONTAINERS
========================================================== */

.container-custom {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
}

.container-fluid-custom {
    width: 100%;
    padding-inline: 1rem;
}

/* ==========================================================
   SECTIONS
========================================================== */

.section {
    padding: var(--space-80) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-16);
    margin-top: var(--space-16) ;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto var(--space-48);
}

/* ==========================================================
   BUTTON RESET
========================================================== */

button {
    transition: var(--transition-fast);
}

/* ==========================================================
   FORMS
========================================================== */

input,
textarea,
select {
    width: 100%;
}

/* ==========================================================
   UTILITIES
========================================================== */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.bg-white {
    background: var(--color-white);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.rounded {
    border-radius: var(--radius-md);
}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 992px) {

    h1 {
        font-size: var(--fs-48);
    }

    h2 {
        font-size: var(--fs-36);
    }

    .section {
        padding: var(--space-64) 0;
    }

}

@media (max-width: 768px) {

    h1 {
        font-size: var(--fs-36);
    }

    h2 {
        font-size: var(--fs-30);
    }

    .section {
        padding: var(--space-48) 0;
    }

}

@media (max-width: 576px) {

    body {
        font-size: var(--fs-14);
    }

    h1 {
        font-size: var(--fs-30);
    }

    h2 {
        font-size: var(--fs-24);
    }

}

/* ================================
   GLOBAL SECTION STYLING
================================ */

.section{
    padding: var(--space-80) 0;
}

.section-title{
    font-size: var(--fs-32);
    font-weight: var(--fw-800);
    margin-bottom: var(--space-32);
    text-align: center;
    position: relative;
}

.section-title::after{
    content:"";
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    display: block;
    margin: var(--space-12) auto 0;
    border-radius: var(--radius-sm);
}

/* ================================
   BUTTON SYSTEM FIX
================================ */

.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-600);
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover{
    transform: translateY(-2px);
}

.btn--primary{
    background: var(--color-primary);
    color: #fff;
}

.btn--primary:hover{
    background: var(--color-primary-dark);
}

.btn--outline{
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn--outline:hover{
    background: #fff;
    color: var(--color-text);
}

.btn-small{
    padding: 6px 14px;
    font-size: var(--fs-14);
}

/* ================================
   MOBILE IMPROVEMENTS
================================ */

@media (max-width: 768px){

    .section{
        padding: var(--space-60) 0;
    }

    .hero__title{
        font-size: var(--fs-36);
    }

    .hero__subtitle{
        font-size: var(--fs-18);
    }

}