@charset "UTF-8";
/*-----------------------------------------------------------------------------------
    Theme Name: Maratoma
    Theme URI: 
    Description: Página para ser utilizada en el Trail Maratoma 2026
    Author: Namy
    Version: 1.0 - Mobile First
-----------------------------------------------------------------------------------*/


/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-catamaran: "Catamaran", sans-serif;
    --font-mulish: "Mulish", sans-serif;

    /* Colors */
    --color-black: #262022; /* rgb(38, 32, 34) */
    --color-brown: #281f22; /* rgb(40, 31, 34) */
    --color-brown-light: #675021; /* rgb(103, 80, 33) */
    --color-yellow: #e6bf55; /* rgb(230, 191, 85) */
    --color-white: #ffffff; /* rgb(255, 255, 255) */
    --color--green: #21694d; /* rgb(33, 105, 77) */
    --color--green-light: #2a8763; /* rgb(42, 135, 99) */

}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-mulish);
    overflow-x: hidden;
    width: 100%;
}


/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.section__padding {
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
}

/* Prevenir overflow horizontal */
section {
    max-width: 100vw;
    overflow-x: hidden;
}

.color--white {
    color: var(--color-white)!important;
}

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

.color--brown {
    color: var(--color-brown)!important;
}

.color--timetrack {
    color: rgb(248, 102, 36);
}

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

.bg--green-degrade {
    background: linear-gradient(180deg, var(--color--green-light) 10%, var(--color--green) 100%);
}

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

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

.bg--red {
    background-color: red;
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
   .title__section {
    text-transform: uppercase;
    font-family: var(--font-catamaran);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-yellow);
    
    
}

.title__primary {
    font-family: var(--font-catamaran);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 3.1rem;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
}

.title__secondary {
    font-family: var(--font-catamaran);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-yellow);
    padding: 1rem 0;
    
}


.text {
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.date__icon {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--color-yellow);
    margin-right: 2rem;
}


/* ==========================================================================
   HEADER & HERO
   ========================================================================== */
.navbar {
    transition: all 800ms cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    background: linear-gradient(180deg, rgba(5,24,35,1) 0%, rgba(5,24,35,0.5466561624649859) 52%, rgba(5,24,35,0) 97%);
    backdrop-filter: blur(0px);
    box-shadow: none;
}

.navbar-scrolled {
    background: var(--color-brown);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-collapse {
    background-color: var(--color-brown);
    padding: 1rem;
}

.nav-logo {
    width: 60px;
    height: auto!important;
}

.nav-item .nav-link {
    font-family: var(--font-catamaran);
    color: var(--color-yellow);
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    border-bottom: 1px solid var(--color-white);
    color: var(--color-white);
}

.bi::before, [class^="bi-"]::before, [class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bi-list::before {
    content: "\f479";
}

.navbar-toggler {
    color: var(--color-white);
    border: 2px solid;
    border-color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-toggler:hover {
    color: var(--color-red);
    border-color: var(--color-red);
}

/* ==========================================================================
   HEADER & HERO
   ========================================================================== */
.header {
    width: 100%;
    height: 100vh;
    background-image: url("../img/hero/hero-desktop_v3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
}

.header__wrapper {
    background-color: rgba(40, 31, 34, 0.7);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.header__wrapper .container {
    width: 100%;
}

.header__wrapper .row {
    min-height: 100vh;
    align-items: center;
}

.hero__title strong {
    font-weight: nomral;
}

.hero__title {
    font-family: var(--font-catamaran);
    font-size: 3.25rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px var(--color-brown), 
                 -1px -1px 3px var(--color-brown),
                 0 0 10px rgba(40, 31, 34, 0.8);
}

.hero__text {
    font-size: 1.25rem;
    color: var(--color-white);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.hero__logo {
    max-width: 250px;
    height: auto!important;
    
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn__cta {
    display: inline-block;
    background: linear-gradient(135deg, #d4a636 0%, #e6bf55 50%, #f0d278 100%);
    color: var(--color-brown-light);
    font-family: var(--font-catamaran);
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    box-shadow: 0 8px 15px rgba(230, 191, 85, 0.6), 0 0 20px rgba(230, 191, 85, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse-badge 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn__cta:hover {
    text-decoration: none;
}

.btn__cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.btn__cta--black {
    display: inline-block;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 50%, #2a2a2a 100%);
    color: white;
    font-family: var(--font-exo2);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 30px;
    border: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse-badge 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 11;
    text-align: center;
}

.btn__cta--black:hover {
    text-decoration: none;
    background: linear-gradient(135deg, #2a2a2a 0%, #444444 50%, #3a3a3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 0, 0, 0.5);
}

.btn__cta--black::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.btn__regulation {
    display: inline-block;
    background-color: transparent;
    color: #ededed;
    font-family: var(--font-catamaran);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 30px;
    border: 1px solid #ededed;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn__regulation:hover {
    background-color: var(--color-brown-light);
    border-color: var(--color-brown-light);
    color: #fff;
    text-decoration: none;
}


/* ==========================================================================
   INFORMATION SECTION
   ========================================================================== */
#welcome {
    position: relative;
}

.welcome__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 30%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

#welcome .container {
    position: relative;
    z-index: 2;
}

.photos__stack {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.photo__item {
    position: absolute;
    display: block;
    background: white;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.photo__item img {
    display: block;
    width: 100%;
    height: auto;
}

.photo__item--back {
    top: 20px;
    left: 10px;
    width: 75%;
    transform: rotate(-8deg);
    z-index: 1;
}

.photo__item--front {
    top: 210px;
    right: 0;
    width: 75%;
    transform: rotate(5deg);
    z-index: 2;
}

.photo__item:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
                0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.photo__item--back:hover {
    transform: rotate(0deg) scale(1.05);
}

.photo__item--front:hover {
    transform: rotate(0deg) scale(1.05);
}

/* ==========================================================================
   CIRCUIT SECTION
   ========================================================================== */
.circuit__box {
    min-height: 100vh;
    position: relative;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url(../img/circuit/fondo_madera.jpg) center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}


/* ==========================================================================
   KIT SECTION
   ========================================================================== */



   #tickets {
    background-image: url(../img/ticketera/paper_BG.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   }

   .kit__icon {
    font-size: 3rem;
    color: var(--color-brown);
   }

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery__section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.gallery__horizontal {
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.gallery__horizontal::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.gallery__track {
    display: flex;
    justify-content: space-around;
    background-color: var(--color-brown);
    width: 100%;
    max-width: 100vw;
}

.gallery__track:hover {
    animation-play-state: paused;
}

.gallery__item {
    flex-shrink: 0;
    width: 250px;
    height: 180px;
    max-width: 80vw;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery__item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   SPONSORS SECTION
   ========================================================================== */
   .sponsors__box {
        background-color: var(--color-brown);

   }
/* ==========================================================================
   TIMETRACK SECTION
   ========================================================================== */
.timetrack__box {
    border-top: 1px solid rgb(248, 102, 36);
    text-align: center;
    color: var(--color-white);
}

.link__timetrack {
    text-decoration: none;
    color: rgb(248, 102, 36);
}

.link__timetrack:hover {
    color: #fff;
}

.logo__footer {
    max-width: 300px;
    height: auto!important;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
   @keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(230, 191, 85, 0.6), 0 0 40px rgba(230, 191, 85, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(230, 191, 85, 0.8), 0 0 60px rgba(240, 210, 120, 0.6);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Animaciones para las estadísticas */
@keyframes statsAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes statsNumberAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statsLabelAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



