@font-face {
    font-family: 'abo-cond';
    src: url('fonts/Abominable-Condensed-fc.otf') format('opentype');
    font-display: swap;}
@font-face {
    font-family: 'abo-heavy';
    src: url('fonts/Abominable-Heavy-fc.otf') format('opentype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-bold';
    src: url('fonts/Cabin-Bold.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-bold-italic';
    src: url('fonts/Cabin-BoldItalic.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-italic';
    src: url('fonts/Cabin-Italic.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-medium';
    src: url('fonts/Cabin-Medium.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-medium-italic';
    src: url('fonts/Cabin-MediumItalic.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin';
    src: url('fonts/Cabin-Regular.ttf') format('truetype');}
@font-face {
    font-family: 'cabin-semibold';
    src: url('fonts/Cabin-SemiBold.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-semibold-italic';
    src: url('fonts/Cabin-SemiBoldItalic.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-condensed-bold';
    src: url('fonts/Cabin_Condensed-Bold.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-condensed-bold-italic';
    src: url('fonts/Cabin_Condensed-BoldItalic.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-condensed-italic';
    src: url('fonts/Cabin_Condensed-Italic.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'cabin-condensed-medium';
    src: url('fonts/Cabin_Condensed-Medium.ttf') format('truetype');
    font-display: swap;}
@font-face {
    font-family: 'aws-regular';
    src: url('fonts/FontAwesome6Free-Regular-400.otf') format('opentype');
    font-display: swap;}
@font-face {
    font-family: 'aws-bold';
    src: url('fonts/FontAwesome6Free-Solid-900.otf') format('opentype');
    font-display: swap;}
@font-face {
    font-family: 'rush';
    src: url('fonts/RushDriver-Italic.otf') format('opentype');
    font-display: swap;}

:root {
    /* Colors */
    --red: #cb1712;
    --blue: #111831;
    --yellow: #ffb400;
    --gray: #1b1b1b;
    --dark: #0b0b0b;
    /* Fonts */
    --primary-font: 'cabin';
    --heading-font: 'rush';
    /* Spacing variables */
    --container-width: 1920px;
    --section-padding: 4rem 0;
    --gap: 1rem;
    /* Border radius */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    /* Box shadow */
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'cabin';
    color: white;
    background-color: var(--gray);
    
}

h1, h2, h3 {
    font-family: var(--heading-font);
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

p{
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

b{
    font-family: 'cabin-bold';
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.15);;
}

/* Top-bar */
.top-bar__wrapper {
    background-color: var(--gray);
    border-bottom: 1px solid white;
    width: 100%;
}

.top-bar {
    max-width: var(--container-width);
    color: white;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.top-bar__contact {
    display: flex;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin: 0;
}

.social-link-top {
    display: inline-block;
    transition: transform 0.2s;
}

.social-link-top:hover {
    transform: scale(1.1);
}

.social-link-top img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1); /* SVG to wuite */
}


.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn--login, .btn--register {
    all: unset;
    background: transparent;
    color: white;
    border: none;
    border-style: unset;
    padding: 0 2em;
    cursor: pointer;
}

.btn--register {
    color: var(--yellow);
}

.left-line{
    border-left: 2px solid white;
}

.btn:hover{text-shadow: 0 0 8px var(--yellow); transition: all 0.3s;}

/* Navbar */
header{
    width: 100%;
    background-color: var(--blue);
    background-image: url(imgs/texture.webp);
}

.navbar {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    color: white;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar__menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.navbar__menu a {
    color: white;
    font-family: var(--primary-font);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    padding: 0;
    border-bottom: solid 1px transparent;
}

.navbar__menu a:hover, .navbar__menu a.active {
    border-bottom: solid 1px white;
}

.navbar__menu a.active{
    color: var(--yellow);
    border-bottom: solid 1px var(--yellow);
}

[class$="-wrapper"] {
    width: 100%;
}

[class$="-container"] {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
}

/* Hero */
.hero-wrapper {
    background-color: black;
    background-image: url(imgs/texture.webp);
}

.hero-container {
    text-align: center;
    color: white;
    padding: 5rem 2rem;
    height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    background-image: url(imgs/hero.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 45%;
}

.hero__title {
    font-family: var(--heading-font);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.4rem;
    text-transform: uppercase;
    max-width: 1000px;
    margin: 0 auto;
}

h1{font-family: var(--heading-font); font-size: 5em;}
h2{font-family: var(--heading-font); font-size: 3.9em;}

/* Sección Video */
.video-section {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: black;
}

.video-container {
    position: relative;
    max-width: 1920px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.5);
}

.video-content {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.video-title {
    font-family: var(--heading-font);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.video-title span {
    color: var(--red);
}

.btn--video {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    background-color: var(--red);
    font-family: 'cabin-condensed-bold';
    font-size: 1.1rem;
    color: white;
    border: none;
    padding: 1rem 3rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.btn--video:hover {
    background-color: black;
    border: solid 1px white;
    transform: scale(1.1);
    transform: scale(1.1);
    text-shadow: none;
    box-shadow: 0 0 12px white;
}

/* About */
.about-wrapper {
    position: relative;
    background-image: url(imgs/about.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    top: -80px;
    padding-bottom: 150px;
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-elements{
    display: flex;
    flex-direction: column;
    margin: 0;
    text-align: left;
    padding: 280px 2rem 200px 2rem;
}

.about-title {
    font-family: var(--heading-font);
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: white;
    text-align: left;
}

.about-elements p {
    font-family: var(--primary-font);
    font-size: 1.2rem;
    text-align: left;
    width: 50%;  
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.about-stats {
    display: flex;
    justify-content: left;
    gap: 8rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'abo-heavy';
    font-size: 3.5rem;
    color: var(--yellow);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
}

.btn--about {
    display: block;
    width: fit-content;
    background-color: transparent;
    color: white;
    border: solid 1px white;
    padding: 1rem 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn--about:hover {
    background-color: black;
    border: solid 1px white;
    transform: scale(1.1);
    text-shadow: none;
    box-shadow: 0 0 12px white;
}

.stat-number {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stat-number.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Squad */
.squad-wrapper {
    position: relative;
    background-image: url(imgs/squad.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    top: -250px;
    padding: 4rem 0;
}

.squad-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 250px 2rem 2rem 2rem;
    text-align: center;
}

.squad-subtitle {
    max-width: 1000px;
    width: 70%;
    line-height: 1.6;
    margin: 1rem auto;
    font-size: 1.3rem;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.squad-container {
    padding: 150px 2rem 2rem 2rem;
}

.squad-gallery { /* Gallery */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-content: center;
    max-width: 1200px;
    margin: 4em auto 0 auto;
}

.squad-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
}

.squad-item:hover {
    transform: scale(1.01);
    cursor: pointer;
}

.squad-item:hover .squad-img {
    transform: scale(1.1);
}

.squad-img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.squad-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-transform: uppercase;
    margin: 0;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
} 

.lightbox { /* Lightbox */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    text-align: center;
    max-width: 90%;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px 4px 0 0;
    margin: 0;
    background-image: url(imgs/dust.png);
}

.lightbox-description {
    max-width: 500px;
    color: white;
    background-color: var(--red);
    font-family: var(--primary-font);
    margin: 0;
    padding: 1rem;
    line-height: 1.6;
    text-align: left;
    border-radius: 0 0 4px 4px;
}

.close-btn-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all ease 0.3s;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
}

.nav-btn:hover {
    background: var(--blue);
}

.close-btn-lightbox:hover {
    background-color: var(--red);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.lightbox-loader { /*Loader lightbox*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox-loader.active {
    opacity: 1;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lightbox-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lightbox-img.loaded {
    opacity: 1;
}

/* Team */
.team-wrapper {
    padding: 4rem 0;
    margin-top:-315px;
    background-image: url(imgs/texture.webp);
    background-repeat: repeat;
    background-size: auto;
    background: linear-gradient(180deg,rgba(78, 10, 7,.8) 0%, rgba(0, 0, 0, .8) 20%, rgba(0, 0, 0, .8) 80%, rgba(5, 11, 34, 0.8) 100%);
}

.team-head{
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 4rem 0;
    text-align: center;
}

.team-title {
    font-family: var(--heading-font);
}

.team-subtitle{
    font-family: var(--primary-font);
    font-size: 1.2rem;
    text-align: center;
    width: 60%;  
    line-height: 1.6;
    margin: 0 auto;
    margin-bottom: 1rem;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.team-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: var(--container-width);
    margin: 0 auto;
    margin-bottom: 4rem;
    gap: 0;
    background-color: var(--gray);
    padding: 0;
}

.team-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-size: cover;
    background-position: center;

    border-top: solid 1px white;
    border-bottom: solid 1px white;
    border-left: solid 1px white;
}

.team-card:nth-child(2), .team-card:nth-child(4), .team-card:nth-child(6){
    border-right: solid 1px white;
}

.team-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: 0; 
    display: block;
   transition: transform 0.5s ease-out;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
    transition: opacity 0.3s;
}

.team-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: white;
    transition: transform 0.3s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.team-card-title {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 2.7rem;
    text-align: center;
}

.team-card-subtitle {
    font-family: var(--primary-font);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 80%;
}

.btn--team {
    background-color: var(--red);
    font-family: 'cabin-condensed-bold';
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.btn--team__yellow {background-color: var(--yellow);}

.btn--team:hover {
    background-color: black;
    border: solid 1px white;
    transform: scale(1.1);
    text-shadow: none;
    box-shadow: 0 0 12px white;
    transition: all ease 300ms;
}

.team-card:hover .team-card-content {
    transform: translateY(0);
    transition: all ease 300ms;
}

.team-card:hover .team-bg-img {
    transform: scale(1.05);
    transition: all ease 300ms;
}

.team-card:hover::before {
    opacity: 0.9;
    transition: all ease 300ms;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Follow Us */
.follow-wrapper {
    position: relative;
    height: 340px;
    overflow: hidden;
    top: -62px;
    z-index: 15;
}

.follow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imgs/follow.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.follow-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.follow-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
}

.follow-title {
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.follow-paragraph{
    font-family: var(--heading-font);
    font-size: 2rem;
    margin: 0;
    margin-bottom: 0.5rem;
    padding: 0;
}

.follow-subtitle {
    max-width: 600px;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s, color 0.3s;
}

.social-link:hover {
    transform: translateY(-5px);
    color: var(--yellow);
}

.social-link span {
    font-family: 'abo-cond';
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-link img {
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0) saturate(100%) invert(81%) sepia(89%) saturate(749%) hue-rotate(330deg) brightness(102%) contrast(101%);
}

/* Footer*/
.footer {
    background-color: var(--gray);
    color: white;
    padding: 0;
    font-family: var(--primary-font);
    position: relative;
    top: -65px;
}

.footer-row {
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-newsletter {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.footer-title {
    font-family: var(--heading-font);
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    margin: 0 1rem 0 0.5rem;
     -webkit-text-stroke: 2px transparent; 
    transition: all ease 0.3s;
}

.footer-title:hover{
    transform: scale(1.05);
    text-shadow: 0 0 12px #ffffff1d;
    -webkit-text-stroke: 1px white;
    letter-spacing: .1rem;
    transition: all ease 0.3s;
    cursor: pointer;
}

.newsletter-form {
    margin: 0;
    display: flex;
    flex-grow: 1;
    max-width: 600px;
    gap: 1rem;
}

.newsletter-input {
    margin: 0;
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: unset;
    border: solid  1px white;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: white;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn--newsletter {
    background-color: var(--red);
    font-size: 1rem;
    font-family: 'cabin-condensed-bold';
    color: white;
    border: none;
    padding: 0 1.5rem;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background 0.3s;
}

.btn--newsletter:hover {
    background-color: black;
    border: solid 1px white;
    transform: scale(1.1);
    text-shadow: none;
    box-shadow: 0 0 12px white;
}

.footer-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.footer-nav-container{
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.footer-nav-list {
    display: flex;
    width: 100%;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    justify-content: space-between;
}

.footer-nav-list li {
    flex: 1;
    min-width: 120px;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-nav-list a {
    display: block;
    padding: 3rem 0.5rem;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-nav-list li:first-child a {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-nav-list a:hover {
    background-color: rgba(255, 180, 0, 0.1);
    color: #ffb400;
}

.footer-info {
    text-align: center;
    padding: 1.5rem 2rem;
    max-width: var(--container-width);
}

.footer-made-with{
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-made-with p{
    text-align: center;
    width: fit-content;
    padding: 1rem 0;
    margin-bottom: -60px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--container-width);
}

.footer-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0 1rem;
    border-left: 1px solid white;
}

.footer-contact span:first-child{
    border-left: none;
}

.footer-contact i {
    color: var(--yellow);
}

.footer-copyright {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

footer::after {      
    content: "";
    display: block;
    height: 0;
    clear: both;
}

/* Pop-up */
#custom-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  padding: 1rem 0 0 0;
  z-index: 1000;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  width: 50%;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.popup-content {
  position: relative;
}

.close-btn {
  position: absolute;
  top: -5px;
  right: 10px;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease 0.3s;
  background-color: var(--red);
}

.close-btn:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transition: all ease 0.3s;
}

.form-subtitle {
    color: white;
    margin-bottom: 1rem;
    font-family: 'abo-cond';
    font-size: 2.5rem;
}

/* Gymdesk form container */
#gymdesk-form-container {
    margin: 0;
    margin-top: 0.5rem;
    min-height: 400px;
}

#popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -30%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/*---------------------------------------------------- Responsive ----------------------------------------------------*/

@media (max-width: 1900px) {
    .about-wrapper {
        background-position:75% center;
    }
    #custom-popup {
        width: 70%;
    }
    .team-container {
        margin-bottom: 0;
    }

}

@media (max-width: 1200px) {
    #custom-popup {
        width: 80%;
    }
}

@media (max-width: 999px) {
    .navbar {
        justify-content: center;
        align-items: center;
        padding: 1rem;
        flex-direction: column;
    }
    .navbar__menu {
        justify-content: space-around;
        gap: 0;
        padding-top: 1rem;
        width: 100%;
    }
    .about-elements p {
        width: 100%;  
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        font-size: 0.7rem;
    }
    .top-bar__contact {
        gap: 0.5rem;
    }
    .contact-item {
        gap: 0.5rem;
    }
    .contact-item::before {
        width:auto;
        height: auto;
    }
    .btn--login, .btn--register {
        padding: 0 1em;
    }
    .navbar__menu a {
        font-size: 1em;
    }
    .hero-container {
        height: 600px;
    }
    .video-content {
        bottom: 0;
        left: 50%;
    }
    .about-container{
        justify-content: center;
    }
    .about-elements, .about-title{
        text-align: center;
    }
    .about-elements p {
        font-size: 1.2rem;  
        line-height: 1.4;
    }
    .about-elements{
        padding: 180px 2rem 100px 2rem;
    }
    .about-stats {
        justify-content: center;
    }
    .about-stats { flex-direction: column; gap: 1rem; }
    .about-title { font-size: 2.5rem; }
    .btn--about {margin: 0 auto;}
    .squad-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .squad-wrapper {
        background-position: 40% center;
    }
    .squad-subtitle {
        width: 100%;
        line-height: 1.4;
        font-size: 1rem;
    }
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .lightbox-description {
        font-size: 1rem;
    }
    .team-container {
        grid-template-columns: 1fr;
    }
    .team-head p{
        width: 80%;
        text-align: center;
        line-height: 1.4;
        margin: 0 auto;
        margin-bottom: 1rem;
        text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
    }
    .team-card {
        height: 400px;
        border-left-color: transparent;
        border-right-color: transparent;
    }
    .team-card:nth-child(2), .team-card:nth-child(4), .team-card:nth-child(6){
        border-right-color: transparent;
    }
    .team-subtitle{
        font-size: 1.2rem;
        line-height: 1.4;
    }
    .team-card-content {
        padding: 1.5rem;
    }
    .team-card-title {
        font-size: 1.5rem;
    }
    .social-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .footer-nav-list {
        flex-wrap: wrap;
    }
    .footer-nav-list li {
        flex: 0 0 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-nav-list a {
        border-right: none;
        font-size: 1rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-nav-list li:first-child a, .footer-nav-list li:nth-child(3) a, .footer-nav-list li:nth-child(5) a {
        border-left: none;
    }
    .footer-nav-list li:nth-child(5) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        flex: 0 0 50%;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-info{
        justify-content: space-around;
    }
    .footer-contact{
        flex-direction: column;
        justify-content: center;
    }
    .footer-contact span {
        border-left: none;
        padding: 0;
        align-self: center;
    }
    .video-container {
        height: 400px;
    }
    .video-title {
        font-size: 2.5rem;
    }
    [class$="-title"] {
        font-size: 2.5rem;
    }
    [class$="-btn"] {
        font-size: 1rem;
    }
    [class$="-subtitle"] {
        font-size: 1.2rem;
    }
    .hero__title{
        font-size: 3.2rem;
    }
    .hero__subtitle{
        font-size: 1.2rem;
    }
    .team-card-subtitle {
        line-height: 1.1;
        max-width: 100%;
    }
    .follow-wrapper {
        height: 160px;
    }
    #custom-popup {
        width: 100%;
        height: fit-content;
        max-width: 100%;
    }
    .follow-paragraph{
        margin-bottom: 0.2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
    .navbar__menu a {
        font-size: 0.8rem;
    }
}