:root {
    /* Primary Theme Colors */
    --primary-dark: #5a1917;
    --primary-light: #7d2623;

    /* Background Colors */
    --hero-bg-light: #fff5f5;
    --hero-bg-lighter: #ffe8e8;
    --section-bg-light: #f8f9fa;

    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, #5a1917 0%, #7d2623 100%);
    --gradient-hero: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    --gradient-light: linear-gradient(135deg, #f5f7fa 0%, #ffe8e8 100%);

    /* Accent Colors */
    --accent-light: #ffe8e8;
    --text-dark: #5a1917;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #cbd5e0;

    /* UI Elements */
    --white: #ffffff;
    --border-light: #e0e0e0;
    --shadow-primary: rgba(90, 25, 23, 0.3);
    --shadow-hover: rgba(90, 25, 23, 0.4);

    /* Footer */
    --footer-bg: #2d3748;
    --footer-border: #4a5568;

    /* Padding */
    --padding: 100px;
}

/* --- Global Properties --- */
* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
    cursor: pointer;
    text-decoration: none;
    -webkit-user-drag: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

section {
    z-index: 1;
    overflow: hidden;

    width: 100%;
    height: auto;

    position: relative;
    padding: var(--padding);
}

section h2.underlined {
    position: relative;

    width: max-content;
    text-align: center;

    margin: 0 auto;
    font-size: 40px;

    color: var(--primary-dark);
    max-width: 100%;
}

section h2.underlined::before {
    content: "";
    position: absolute;

    bottom: 0;
    left: 50%;

    width: 15%;
    height: 5px;

    background-color: var(--primary-dark);
    transform: translateX(-50%);

    border-radius: 5px;
}

/* ------ Body ------ */

body {
    background-color: #ffffff;
    font-family: monospace;
}

/* ------ Navigation ------ */
nav {
    position: fixed;
    z-index: 200;

    top: 0;
    left: 0;

    background: transparent;
    user-select: none;

    width: 100%;
    height: 70px;

    display: flex;
    flex-direction: row;

    justify-content: space-between;
    align-items: center;

    padding: 0 20px;
    gap: 0;
}

nav.floating {
    transition: 0.3s ease-out;
    background-color: var(--hero-bg-light);

    box-shadow: 0 2px 12px var(--hero-bg-lighter);
}

nav > a {
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;

    gap: 5px;
}

nav a img {
    width: 50px;
    height: auto;
}

nav a span {
    font-size: 18px;
    color: var(--primary-dark);

    transition: 0.3s ease-out;
}

nav a:hover span {
    color: var(--primary-light);
}

nav ul {
    display: flex;
    flex-direction: row;

    --color: var(--primary-dark);

    justify-content: center;
    align-items: center;

    list-style: none;
    gap: 15px;
}

nav ul li {
    display: block;
}

nav ul li a {
    font-size: 18px;
    color: var(--color);
}

/* --- Navigation mobile menu button --- */
#_mob-btn {
    --color: var(--primary-dark);

    position: relative;
    z-index: 900;

    cursor: pointer;
    pointer-events: all;

    width: 50px;
    height: 35px;

    transition: 0.2s ease-out;
    display: none;
}
#_mob-btn.close {
    --color: #ffffff;
}
#_mob-btn span {
    position: absolute;

    width: 100%;
    height: 5px;

    background-color: var(--color);
    border-radius: 50px;

    transform-origin: center;
    transition:
        top 0.3s ease-out 0.15s,
        bottom 0.3s ease-out 0.15s,
        transform 0.3s ease-out,
        opacity 0.3s ease-out;
}
#_mob-btn span:nth-child(1) {
    top: 0px;
    left: 0px;
}
#_mob-btn span:nth-child(2) {
    top: 15px;
    left: 0px;
}
#_mob-btn span:nth-child(3) {
    bottom: 0px;
    left: 0px;
}
#_mob-btn.close span {
    transition:
        top 0.3s ease-out,
        bottom 0.3s ease-out,
        transform 0.3s ease-out 0.15s,
        opacity 0.3s ease-out 0.2s;
}
#_mob-btn.close span:nth-child(1) {
    top: 15px;
    transform: rotateZ(225deg);
}
#_mob-btn.close span:nth-child(2) {
    transform: rotateZ(225deg);
    opacity: 0;
    top: 15px;
}
#_mob-btn.close span:nth-child(3) {
    transform: rotateZ(135deg);
    bottom: 15px;
}

/* ---------- Footer ---------- */
footer {
    width: 100%;
    height: max-content;

    padding: 50px var(--padding) 20px var(--padding);
    background-color: var(--primary-dark);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;
}

footer .container {
    width: 100%;

    display: flex;
    flex-direction: row;

    justify-content: flex-start;
    align-items: flex-start;

    flex-wrap: wrap;
    gap: 30px;
}

footer .container a.main {
    font-size: 25px;
    font-weight: bold;

    color: #ffffff;
}

footer .container p {
    height: max-content;

    font-size: 12px;
    font-weight: 300;

    color: #ffffff;
}

footer .container h2 {
    width: max-content;
    position: relative;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

footer .container h2::before {
    content: "";
    position: absolute;

    bottom: 0;
    left: 0;

    width: 33.33%;
    height: 2px;

    background-color: #ffffff;
}

footer .container .block,
footer .container .bc {
    width: 100%;
    max-width: 500px;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-start;

    gap: 5px;
}

footer .bc .links {
    display: flex;
    flex-direction: row;

    justify-content: flex-start;
    align-items: flex-start;

    gap: 15px;
}

footer .container .bc a {
    font-size: 12px;
    color: #ffffff;
    transition: 0.3s ease-out;
}

footer .container .bc a:hover {
    color: var(--hero-bg-lighter);
}

footer .copy {
    width: 100%;
    display: flex;

    flex-direction: row;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 5px;

    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);

    font-size: 14px;
    padding-top: 15px;

    color: #ffffff;
}

footer .copy p {
    opacity: 0.8;
}

footer .copy p a {
    --color: #0088cc;
    position: relative;
    font-weight: bold;

    color: var(--color);
    transition: 0.3s ease-out;
}

footer .copy p a::before {
    content: "";

    position: absolute;
    width: 33.33%;
    height: 2px;

    bottom: 0;
    left: 0;

    background-color: var(--color);
    transition: 0.3s ease-out;
}

footer .copy p a:hover {
    --color: var(--hero-bg-lighter);
}

footer .copy p a:hover::before {
    width: 100%;
}

/* ------ Buttons ------ */
.round-button {
    position: relative;
    z-index: 1;

    width: auto;
    height: auto;

    padding: 15px 20px;
    border-radius: 5px;

    background: var(--primary-dark);
    color: #ffffff;

    font-size: 18px;
    font-weight: bold;
}

.round-button::before {
    content: "";
    position: absolute;

    z-index: -1;
    border-radius: 5px;

    inset: 0 0 0 0;
    background: var(--primary-light);

    clip-path: circle(0%);
    transition: 0.3s ease-out;
}

.round-button:hover::before {
    clip-path: circle(100%);
}

.outlined-button {
    position: relative;
    z-index: 1;

    width: auto;
    height: auto;

    padding: 11px 16px;
    border-radius: 5px;

    font-size: 18px;
    font-weight: bold;

    background: transparent;
    color: var(--primary-dark);

    border: 2px solid var(--primary-light);
    transition: 0.3s ease-out;
}

.outlined-button::before {
    content: "";
    position: absolute;

    z-index: -1;

    inset: 0 0 0 0;
    background: var(--primary-light);

    clip-path: circle(0%);
    transition: 0.3s ease-out;
}

.outlined-button:hover {
    color: #ffffff;
}

.outlined-button:hover::before {
    clip-path: circle(100%);
}

/* ---------- Shapes ---------- */

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    z-index: -2;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: #5a1917;
    top: -200px;
    right: -100px;
    animation: float-shape 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: #7d2623;
    bottom: -150px;
    left: -50px;
    animation: float-shape 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: #5a1917;
    top: 50%;
    left: 10%;
    animation: float-shape 18s ease-in-out infinite;
}

.hero-shape-4 {
    width: 150px;
    height: 150px;
    background: #7d2623;
    top: 20%;
    right: 15%;
    animation: float-shape 12s ease-in-out infinite reverse;
}

.hero-shape-5 {
    width: 250px;
    height: 250px;
    background: #5a1917;
    bottom: 10%;
    right: 20%;
    animation: float-shape 22s ease-in-out infinite;
}

.hero-shape-6 {
    width: 100px;
    height: 100px;
    background: #7d2623;
    top: 60%;
    right: 5%;
    animation: float-shape 10s ease-in-out infinite;
}

/* ------ Animations ------ */
@keyframes float-shape {
    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    33% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
    }
    66% {
        transform: translateY(20px) translateX(-20px) scale(0.9);
    }
}

/* ------ Responsive ------ */
@media (max-width: 1050px) {
    :root {
        --padding: 50px;
    }
}

@media (max-width: 700px) {
    :root {
        --padding: 30px;
    }
}

@media (max-width: 600px) {
    nav ul {
        position: fixed;
        z-index: 300;

        top: 0;
        right: -350px;

        width: 350px;
        height: 100dvh;

        --color: #ffffff;
        background-color: var(--primary-dark);

        flex-direction: column;
        gap: 0;

        transition: 0.3s ease-out;
    }

    nav ul.active {
        transform: translateX(-100%);
    }

    nav ul li {
        width: 100%;
        height: auto;

        background-color: transparent;
        transition: 0.3s ease-out;

        display: flex;
    }

    nav ul li:hover {
        background-color: var(--primary-light);
    }

    nav ul li a {
        width: 100%;
        height: 100%;

        padding: 15px;
        text-align: center;
    }

    #_mob-btn {
        display: flex;
    }
}
