/* Fonts */

@font-face {
    font-family: "Gotham Thin";
    src: url("../fonts/gotham/thin/gotham-thin-webfont.eot");
    src: url("../fonts/gotham/thin/gotham-thin-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/thin/gotham-thin-webfont.woff2") format("woff2"), url("../fonts/gotham/thin/gotham-thin-webfont.woff") format("woff"), url("../fonts/gotham/thin/gotham-thin-webfont.ttf") format("truetype"), url("../fonts/gotham/thin/gotham-thin-webfont.svg#gothamthin") format("svg");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Light";
    src: url("../fonts/gotham/light/gotham-light-webfont.eot");
    src: url("../fonts/gotham/light/gotham-light-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/light/gotham-light-webfont.woff2") format("woff2"), url("../fonts/gotham/light/gotham-light-webfont.woff") format("woff"), url("../fonts/gotham/light/gotham-light-webfont.ttf") format("truetype"), url("../fonts/gotham/light/gotham-light-webfont.svg#gothamlight") format("svg");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Light Italic";
    src: url("../fonts/gotham/light/gotham-lightitalic-webfont.eot");
    src: url("../fonts/gotham/light/gotham-lightitalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/light/gotham-lightitalic-webfont.woff2") format("woff2"), url("../fonts/gotham/light/gotham-lightitalic-webfont.woff") format("woff"), url("../fonts/gotham/light/gotham-lightitalic-webfont.ttf") format("truetype"), url("../fonts/gotham/light/gotham-lightitalic-webfont.svg#gothamlight_italic") format("svg");
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: "Gotham Book";
    src: url("../fonts/gotham/book/gotham-book-webfont.eot");
    src: url("../fonts/gotham/book/gotham-book-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/book/gotham-book-webfont.woff2") format("woff2"), url("../fonts/gotham/book/gotham-book-webfont.woff") format("woff"), url("../fonts/gotham/book/gotham-book-webfont.ttf") format("truetype"), url("../fonts/gotham/book/gotham-book-webfont.svg#gothambook") format("svg");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Book Italic";
    src: url("../fonts/gotham/book/gotham-bookitalic-webfont.eot");
    src: url("../fonts/gotham/book/gotham-bookitalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/book/gotham-bookitalic-webfont.woff2") format("woff2"), url("../fonts/gotham/book/gotham-bookitalic-webfont.woff") format("woff"), url("../fonts/gotham/book/gotham-bookitalic-webfont.ttf") format("truetype"), url("../fonts/gotham/book/gotham-bookitalic-webfont.svg#gothambook_italic") format("svg");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Gotham Medium";
    src: url("../fonts/gotham/medium/gotham-medium-webfont.eot");
    src: url("../fonts/gotham/medium/gotham-medium-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/medium/gotham-medium-webfont.woff2") format("woff2"), url("../fonts/gotham/medium/gotham-medium-webfont.woff") format("woff"), url("../fonts/gotham/medium/gotham-medium-webfont.ttf") format("truetype"), url("../fonts/gotham/medium/gotham-medium-webfont.svg#gothammedium") format("svg");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Medium Italic";
    src: url("../fonts/gotham/medium/gotham-mediumitalic-webfont.eot");
    src: url("../fonts/gotham/medium/gotham-mediumitalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/medium/gotham-mediumitalic-webfont.woff2") format("woff2"), url("../fonts/gotham/medium/gotham-mediumitalic-webfont.woff") format("woff"), url("../fonts/gotham/medium/gotham-mediumitalic-webfont.ttf") format("truetype"), url("../fonts/gotham/medium/gotham-mediumitalic-webfont.svg#gothammedium_italic") format("svg");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "Gotham Bold";
    src: url("../fonts/gotham/bold/gotham-bold-webfont.eot");
    src: url("../fonts/gotham/bold/gotham-bold-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/bold/gotham-bold-webfont.woff2") format("woff2"), url("../fonts/gotham/bold/gotham-bold-webfont.woff") format("woff"), url("../fonts/gotham/bold/gotham-bold-webfont.ttf") format("truetype"), url("../fonts/gotham/bold/gotham-bold-webfont.svg#gothambold") format("svg");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Bold Italic";
    src: url("../fonts/gotham/bold/gotham-bolditalic-webfont.eot");
    src: url("../fonts/gotham/bold/gotham-bolditalic-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/bold/gotham-bolditalic-webfont.woff2") format("woff2"), url("../fonts/gotham/bold/gotham-bolditalic-webfont.woff") format("woff"), url("../fonts/gotham/bold/gotham-bolditalic-webfont.ttf") format("truetype"), url("../fonts/gotham/bold/gotham-bolditalic-webfont.svg#gothambold_italic") format("svg");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "Gotham Black";
    src: url("../fonts/gotham/black/gotham-black-webfont.eot");
    src: url("../fonts/gotham/black/gotham-black-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/black/gotham-black-webfont.woff2") format("woff2"), url("../fonts/gotham/black/gotham-black-webfont.woff") format("woff"), url("../fonts/gotham/black/gotham-black-webfont.ttf") format("truetype"), url("../fonts/gotham/black/gotham-black-webfont.svg#gothamblack") format("svg");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Ultra";
    src: url("../fonts/gotham/ultra/gotham-ultra-webfont.eot");
    src: url("../fonts/gotham/ultra/gotham-ultra-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/gotham/ultra/gotham-ultra-webfont.woff2") format("woff2"), url("../fonts/gotham/ultra/gotham-ultra-webfont.woff") format("woff"), url("../fonts/gotham/ultra/gotham-ultra-webfont.ttf") format("truetype"), url("../fonts/gotham/ultra/gotham-ultra-webfont.svg#gothamultra") format("svg");
    font-weight: 800;
    font-style: normal;
}


:root {
    --bg-black: #050505;
    --bg-dark: #121212;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
    --accent-gray: #333333;
    --font-heading: 'Gotham Ultra';
    --font-body: 'Gotham Book';
}

body {
    background-color: #000;
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1,
h2,
.navbar-brand {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3,
h4,
h5,
h6 {
    font-family: "Gotham Black";
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--accent-gray);
    padding: 1rem 0 2.5rem;
    /* Increased bottom padding for the angle */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 0 100%);
}

.navbar-brand img {
    width: 145px;
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 400;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-black);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}


.hero-title {
    font-size: 5.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Custom Buttons */
.btn-custom-outline {
    border: 2px solid var(--text-white);
    color: var(--text-white);
    background: transparent;
    padding: 10px 30px;
    text-transform: uppercase;
    font-family: 'Gotham Bold';
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-custom-outline:hover {
    background: var(--text-white);
    color: var(--bg-black);
}

.btn-custom-primary {
    background: #8A1B61;
    color: var(--text-white);
    padding: 10px 30px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 500;
    border: 2px solid #8A1B61;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-custom-primary:hover {
    background: var(--text-white);
    color: var(--bg-black);
}

/* Sections General */
.section-padding {
    padding: 6rem 0;
}

.section-angle {
    clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%);
    padding-top: 10rem;
    padding-bottom: 10rem;
}

@media (max-width: 768px) {
    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
    }

    .section-angle {
        clip-path: polygon(0 30px, 100% 0, 100% calc(100% - 30px), 0 100%);
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.bg-dark-gray {
    background-color: var(--bg-dark);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #8a1b61;
    margin: 1rem auto 0;
}

.contact-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 140px;
    mix-blend-mode: difference;
}

.contact-link::before {
    content: "";
    position: absolute;
    background-image: url(../img/ayuda.svg);
    top: -3px;
    left: 3px;
    width: 140px;
    height: 140px;
    z-index: -1;
    animation: circle_animation 30s linear infinite;
}

@keyframes circle_animation {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Cards */
.card {
    background-color: transparent;
    border: 1px solid var(--accent-gray);
    border-radius: 0;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--text-white);
}

.card-img-top {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    border-radius: 0;
    height: 450px;
    object-fit: cover;
}

.card:hover .card-img-top {
    filter: grayscale(0%);
}

.card-body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Services */
.service-item {
    padding: 2rem;
    border: 1px solid var(--accent-gray);
    text-align: center;
    height: 100%;
    transition: background 0.3s ease;
}

.service-item:hover {
    background-color: var(--accent-gray);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Memberships */
.membership-card {
    border: 1px solid var(--accent-gray);
    padding: 2rem;
    text-align: center;
    background: var(--bg-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.membership-card.featured {
    border: 2px solid var(--text-white);
    transform: scale(1.05);
    background: #000;
}

.price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 300;
}

.membership-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.membership-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Contact */
.contact-form .form-control {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--accent-gray);
    border-radius: 0;
    color: var(--text-white);
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--text-white);
    background-color: transparent;
}

.beat {
    animation: beat 1s infinite;
    width: 250px;
    height: 250px;
    margin-bottom: 2rem;
}

@keyframes beat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Footer */
footer {
    background-color: #000;
    padding: 3rem 0;
    color: var(--text-gray);
    overflow: hidden;
    position: relative;
}

.scrolling-text-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--bg-black);
    padding: 10px;
    rotate: -3deg;
    margin-top: 0px;
    position: relative;
    z-index: 2;
}

.scrolling-text {
    display: flex;
    width: fit-content;
    animation: scroll-text 40s linear infinite;
}

.scrolling-text span {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    white-space: nowrap;
    padding-right: 50px;
    opacity: 0.3;
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--text-white);
}

/* Utilities */
/* Page Headers for Internal Pages */
.page-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--bg-black);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/*******Animation text*********/
.matrix-text {
    color: #fff;
    font-size: 80px;
    font-weight: 900;
    position: relative;
    z-index: 2;
    /* Ensure it stays above the rain effect */
}

.matrix-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: glitch 6s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 15px #fff;
}

.rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(255, 255, 255, 0.1) 0,
            rgba(0, 0, 0, 0.4) 2px,
            transparent 4px);
    z-index: 1;
    /* Place it behind the text */
}

/* Glitch effect for the text */
@keyframes glitch {

    0%,
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
        transform: translate(0);
    }

    33% {
        clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%);
        transform: translate(-5px, -5px);
    }

    66% {
        clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%);
        transform: translate(5px, 5px);
    }
}

@keyframes rain {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Gallery Styles */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--accent-gray);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--text-white);
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}