@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600&display=swap");

:root {
    /*========== Colors ==========*/
    --primary-color: #4D190E;
    --secondary-color: white;
    --tertiary-color: black;

    --text-color: #ffffff;
    --muted-text-color: #777777;

    /*========== Font and typography ==========*/
    --body-font: "Syne", sans-serif;
    --header-h1-size: 2rem;
    --header-quote-size: 1.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --normal-font-size: .938rem;
    --icon-size: 2.5rem;
    --icon-margin: 0.5rem;
    --border-radius: 0.5rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;
    --font-max-bold: 600;
}



/*========== Responsive typography ==========*/
@media screen and (min-width: 1023px) {
    :root {
        --header-h1-size: 3rem;
        --header-quote-size: 2rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
        --normal-font-size: 1rem;
        --icon-size: 3rem;
        --icon-margin: 1rem;
    }
}



/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

html {
    scroll-behavior: smooth;
}

body,
input,
button {
    font-size: var(--normal-font-size);
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
}

input,
button {
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-max-bold);
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--font-medium);
    margin-bottom: 0.5rem;
}

.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.text-align-justify {
    text-align: justify;
}



/*=============== Custom arrow style ===============*/
.custom-arrow {
    margin-left: 0.5rem;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--secondary-color);
    transition: transform ease-in-out 0.5s;
    transform: rotate(180deg);
}



/*=============== Base button style ===============*/
.primary-button {
    max-width: fit-content;
    padding: 0.75rem 2rem;
    margin: 1rem 0;
    font-weight: var(--font-max-bold);
    transition: all 0.5s ease;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
}

.primary-button:hover {
    background-color: var(--tertiary-color);
    color: var(--text-color);
    transition: all 0.5s ease;
}

.primary-button:active {
    transform: scale(0.95);
}



/*=============== Cards style ===============*/
.primary-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
    width: calc(33% - 2rem);
    margin: 1rem;
    padding: 1.5rem;
    color: var(--text-color);
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}

.primary-card:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
    cursor: pointer;
}

.primary-card h2 {
    margin: 1rem 0;
}

.primary-card ul {
    list-style: square;
}

.primary-card ul li {
    margin: 0.5rem 1rem;
}

.primary-card ul li a {
    color: var(--text-color);
    text-decoration: none;
    text-decoration: underline;
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid var(--secondary-color);
}

@media screen and (max-width: 1024px) {
    .primary-card {
        width: calc(50% - 2rem);
    }
}

@media screen and (max-width: 668px) {
    .primary-card {
        width: 100%;
    }
}



/*=============== Flex style ===============*/
.flex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
    box-sizing: border-box;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: stretch;
    box-sizing: border-box;
}

.flex-row-space-between {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: stretch;
    box-sizing: border-box;
}

.flex-row-center {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: stretch;
    box-sizing: border-box;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: start;
}



/*=============== Section style ===============*/
section {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(315deg, #2a0d06 0%, #4D190E 50%, black 100%);
}

.section-container {
    padding: 3rem calc((100% - 1200px) / 2)
}

.section-container .flex-row-space-between {
    align-items: stretch;
}

.section-text {
    flex: 1;
    padding: 1rem;
    min-width: 300px;
}

.section-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    min-width: 300px;
}

.section-image img {
    max-width: 400px;
    border-radius: var(--border-radius);
}

@media screen and (max-width: 768px) {
    .section-container {
        padding: 3rem 0;
    }
}



/*=============== About us section style ===============*/
.about-us-section img {
    width: 100%;
    border-radius: var(--border-radius);
}



/*=============== Achievements section style ===============*/
.achievement-card {
    padding: 1rem;
    margin: 1rem;
    flex: 1 1 40%;
    text-align: left;
}

.achievement-card ul {
    list-style-type: square;
    padding-left: 1rem;
}

@media screen and (max-width: 768px) {
    .achievement-card {
        flex: 1 1 100%;
    }
}



/*=============== Contact and FAQ section style ===============*/
.contact-card,
.faq-content {
    flex: 1;
    padding: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    color: var(--tertiary-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    text-decoration: none;
    text-decoration: underline;
    color: var(--tertiary-color);

}

.contact-info,
.faq-item {
    margin-top: 1rem;
    min-width: 200px;
    max-width: 600px;
    width: 100%;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.faq-answer {
    display: none;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
    .contact-section .flex-row {
        flex-direction: column;
    }

    .contact-card,
    .faq-content {
        width: 100%;
        border-right: none;
    }
}




/*=============== Custom background style ===============*/
#contact {
    background-image: linear-gradient(135deg, #2a0d06 0%, #4D190E 50%, black 100%);
}

.powerlifting-coaches,
.competition-section {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 1) 100%), url('/img/powerlifting-coaches-background.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fyzio-coaches {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 1) 100%), url('/img/fyzio-background-image.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}