/* =====================================================
   SPORTENTRY
   Main Stylesheet
===================================================== */

:root {

    --primary: #ff5a1f;
    --primary-dark: #e8490e;

    --dark: #101010;
    --dark-2: #181818;
    --dark-3: #242424;

    --text: #202020;
    --text-light: #6f6f6f;

    --light: #f7f7f5;
    --white: #ffffff;

    --border: #e8e8e8;

    --radius: 16px;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    --transition:
        all 0.3s ease;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.15;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
}

h2 span {
    color: var(--primary);
}



/* =====================================================
   BRAND LOGO
===================================================== */

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo img {
    display: block;
    width: 155px;
    height: 68px;
    object-fit: contain;
    object-position: left center;
}

/* Footer logo */

.footer-logo img {
    width: 175px;
    height: auto;
    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.45))
        drop-shadow(0 0 10px rgba(255, 90, 31, 0.25));
}



/* =====================================================
   BUTTON
===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 22px;

    border-radius: 8px;

    font-weight: 700;
    font-size: 14px;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--dark);
}

.btn-large {
    padding: 15px 26px;
    font-size: 14px;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    z-index: 1000;
}

.nav-container {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
}

.logo-icon {
    width: 38px;
    height: 38px;

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

    border-radius: 10px;

    background: var(--primary);
    color: var(--white);

    font-size: 18px;
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu > a {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    color: #555;

    transition: var(--transition);
}

.nav-menu > a:hover,
.nav-menu > a.active {
    color: var(--primary);
}

.nav-menu > a.active::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    background: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 14px;
    font-weight: 600;
}

.login-link:hover {
    color: var(--primary);
}

.mobile-login,
.menu-toggle {
    display: none;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 760px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.93),
            rgba(10, 10, 10, 0.72),
            rgba(10, 10, 10, 0.35)
        ),
        url('../images/hero-running.jpg');

    background-color: #161616;
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(255, 90, 31, 0.20),
            transparent 35%
        );
}

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

.hero-content {
    max-width: 720px;

    color: var(--white);

    padding-top: 70px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 22px;

    color: #dcdcdc;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-label i {
    color: var(--primary);
}

.hero h1 {
    font-size: clamp(52px, 8vw, 92px);

    font-weight: 900;

    letter-spacing: -3px;

    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    max-width: 600px;

    color: #d4d4d4;

    font-size: 17px;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-info {
    display: flex;
    align-items: center;

    margin-top: 55px;
}

.hero-info-item {
    display: flex;
    flex-direction: column;
}

.hero-info-item strong {
    font-family: 'Montserrat', sans-serif;

    font-size: 25px;
}

.hero-info-item span {
    color: #aaa;
    font-size: 12px;
}

.hero-divider {
    width: 1px;
    height: 38px;

    background: rgba(255, 255, 255, 0.25);

    margin: 0 28px;
}

.hero-scroll {
    position: absolute;

    right: 40px;
    bottom: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    color: #aaa;

    font-size: 11px;
    text-transform: uppercase;

    letter-spacing: 1px;
}

.hero-scroll i {
    color: var(--primary);
}


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

.section {
    padding: 100px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.section-label {
    display: block;

    color: var(--primary);

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

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;
    font-weight: 700;

    color: var(--dark);

    white-space: nowrap;
}

.view-all:hover {
    color: var(--primary);
}


/* =====================================================
   EVENTS
===================================================== */

.events-section {
    background: var(--light);
}

.events-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.event-card {
    overflow: hidden;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-7px);
}

.event-image {
    height: 240px;

    position: relative;

    background-position: center;
    background-size: cover;

    background-color: #333;
}

.event-image-one {
    background:
        linear-gradient(
            rgba(0,0,0,.15),
            rgba(0,0,0,.45)
        ),
        url('../images/event-1.jpg') center / cover;
}

.event-image-two {
    background:
        linear-gradient(
            rgba(0,0,0,.15),
            rgba(0,0,0,.45)
        ),
        url('../images/event-2.jpg') center / cover;
}

.event-image-three {
    background:
        linear-gradient(
            rgba(0,0,0,.15),
            rgba(0,0,0,.45)
        ),
        url('../images/event-3.jpg') center / cover;
}

.event-status {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 7px 10px;

    border-radius: 5px;

    background: var(--primary);
    color: var(--white);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .8px;
}

.event-distance {
    position: absolute;

    right: 15px;
    bottom: 15px;

    width: 60px;
    height: 60px;

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

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: var(--dark);

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 900;
}

.event-content {
    padding: 22px;
}

.event-date {
    display: flex;
    align-items: center;
    gap: 14px;
}

.date-box {
    width: 52px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #fff1eb;

    color: var(--primary);
}

.date-box strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    line-height: 1;
}

.date-box span {
    font-size: 9px;
    font-weight: 800;
}

.event-month {
    display: block;

    margin-bottom: 3px;

    color: #999;

    font-size: 11px;
}

.event-date h3 {
    font-size: 17px;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 7px;

    margin: 18px 0;

    color: var(--text-light);

    font-size: 12px;
}

.event-location i {
    color: var(--primary);
}

.event-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding-top: 18px;

    border-top: 1px solid var(--border);
}

.event-price {
    display: flex;
    flex-direction: column;
}

.event-price small {
    color: #999;
    font-size: 10px;
}

.event-price strong {
    font-size: 14px;
}

.event-button {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}

.event-button:hover {
    gap: 11px;
}

.event-content h3 a {
    color: inherit;
    text-decoration: none;
}

.event-content h3 a:hover {
    color: #f5a623;
}

/* =====================================================
   ABOUT
===================================================== */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-image {
    position: relative;

    min-height: 550px;
}

.about-image-main {
    width: 85%;
    height: 500px;

    display: flex;
    align-items: flex-end;

    padding: 40px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(0,0,0,.25),
            rgba(0,0,0,.75)
        ),
        url('../images/about-running.jpg') center / cover;

    background-color: #333;

    color: white;
}

.about-image-content span {
    display: block;

    color: var(--primary);

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

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.about-image-content strong {
    font-family: 'Montserrat', sans-serif;

    font-size: 45px;
    line-height: .95;
}

.about-experience {
    position: absolute;

    right: 0;
    bottom: 35px;

    width: 190px;
    height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px;

    background: var(--primary);

    color: var(--white);

    border-radius: 15px;

    box-shadow: 0 15px 35px rgba(255, 90, 31, .25);
}

.about-experience strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
}

.about-experience span {
    font-size: 12px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content > p {
    color: var(--text-light);

    font-size: 15px;

    margin-bottom: 15px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 45px;
    height: 45px;

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

    flex-shrink: 0;

    border-radius: 10px;

    background: #fff1eb;

    color: var(--primary);
}

.about-feature h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.about-feature p {
    color: var(--text-light);
    font-size: 12px;
}


/* =====================================================
   STATS
===================================================== */

.stats-section {
    padding: 70px 0;

    background: var(--dark);

    color: var(--white);
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.stat-item {
    text-align: center;

    padding: 15px;

    border-right: 1px solid rgba(255,255,255,.12);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    color: var(--primary);

    font-size: 25px;

    margin-bottom: 12px;
}

.stat-item strong {
    display: block;

    font-family: 'Montserrat', sans-serif;

    font-size: 32px;
}

.stat-item span {
    color: #aaa;

    font-size: 11px;
}


/* =====================================================
   NEWS
===================================================== */

.news-section {
    background: var(--white);
}

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.news-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.news-image {
    height: 210px;

    position: relative;

    background-position: center;
    background-size: cover;

    background-color: #333;
}

.news-image-one {
    background:
        linear-gradient(
            rgba(0,0,0,.15),
            rgba(0,0,0,.5)
        ),
        url('../images/news-1.jpg') center / cover;
}

.news-image-two {
    background:
        linear-gradient(
            rgba(0,0,0,.15),
            rgba(0,0,0,.5)
        ),
        url('../images/news-2.jpg') center / cover;
}

.news-image-three {
    background:
        linear-gradient(
            rgba(0,0,0,.15),
            rgba(0,0,0,.5)
        ),
        url('../images/news-3.jpg') center / cover;
}

.news-image span {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 6px 10px;

    border-radius: 5px;

    background: var(--primary);

    color: var(--white);

    font-size: 9px;
    font-weight: 800;
}

.news-content {
    padding: 22px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #999;

    font-size: 10px;

    margin-bottom: 10px;
}

.news-date i {
    color: var(--primary);
}

.news-content h3 {
    font-size: 18px;

    margin-bottom: 10px;
}

.news-content p {
    color: var(--text-light);

    font-size: 12px;

    margin-bottom: 17px;
}

.news-content > a {
    display: flex;
    align-items: center;
    gap: 7px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;
}


/* =====================================================
   GALLERY
===================================================== */

.gallery-section {
    background: var(--light);
}

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    grid-auto-rows: 240px;

    gap: 15px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    display: block;

    border-radius: 14px;

    background: #222;
}

.gallery-item.gallery-large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);

    filter: brightness(0.65);
}

.gallery-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 25px;

    color: var(--white);

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.05)
        );

    opacity: 0;

    transition: var(--transition);
}

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

.gallery-overlay span {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.gallery-overlay h3 {
    max-width: 80%;

    font-size: 18px;
}

.gallery-overlay i {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 38px;
    height: 38px;

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

    border-radius: 50%;

    background: var(--primary);

    font-size: 13px;
}








/* =====================================================
   CTA
===================================================== */

.cta-section {
    padding: 80px 0;

    background:
        linear-gradient(
            120deg,
            #181818,
            #282828
        );

    color: var(--white);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.cta-container h2 {
    margin-bottom: 10px;
}

.cta-container p {
    color: #aaa;

    font-size: 14px;
}


/* =====================================================
   FOOTER
===================================================== */

.contact-section {
    background: #111;

    color: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1.2fr;

    gap: 50px;

    padding: 75px 0;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    max-width: 330px;

    color: #999;

    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 8px;

    margin-top: 22px;
}

.social-links a {
    width: 35px;
    height: 35px;

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

    border-radius: 8px;

    background: #222;

    color: #aaa;

    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 8px;

    font-size: 14px;
}

.footer-column a,
.footer-column p {
    color: #999;

    font-size: 12px;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-column p {
    display: flex;
    gap: 10px;
}

.footer-column p i {
    width: 15px;

    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #252525;
}

.footer-bottom-container {
    min-height: 65px;

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

    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: #777;

    font-size: 10px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: var(--primary);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .nav-menu {
        gap: 18px;
    }

    .nav-actions .login-link {
        display: none;
    }

    .events-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid article:last-child,
    .news-grid article:last-child {
        grid-column: span 2;
        max-width: calc(50% - 12px);
    }

    .about-grid {
        gap: 50px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .container {
        width: min(100% - 30px, 600px);
    }

    .nav-container {
        height: 70px;
    }

    .brand-logo img {
        width: 120px;
        height: 58px;
    }

    .nav-menu {
        position: absolute;

        top: 70px;
        left: 15px;
        right: 15px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 20px;

        background: var(--white);

        border-radius: 12px;

        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > a {
        padding: 8px 0;
    }

    .nav-menu > a.active::after {
        display: none;
    }

    .mobile-login {
        display: block;

        margin-top: 8px;
    }

    .mobile-login .btn {
        width: 100%;
    }

    .nav-actions {
        display: none;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;

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

        border: 0;
        border-radius: 8px;

        background: #f5f5f5;

        color: var(--dark);

        cursor: pointer;

        font-size: 18px;
    }

    .hero {
        min-height: 700px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-info {
        margin-top: 40px;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .events-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .events-grid article:last-child,
    .news-grid article:last-child {
        grid-column: auto;
        max-width: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 450px;
    }

    .about-image-main {
        width: 90%;
        height: 420px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,.12);
        padding-top: 30px;
    }

    .cta-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
	
	.gallery-grid {
        grid-template-columns: repeat(2, 1fr);

        grid-auto-rows: 200px;
    }

    .gallery-item.gallery-large {
        grid-column: span 2;
    }

}


@media (max-width: 500px) {

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-info-item strong {
        font-size: 20px;
    }

    .hero-divider {
        margin: 0 15px;
    }

    .about-image {
        min-height: 380px;
    }

    .about-image-main {
        width: 100%;
        height: 360px;

        padding: 25px;
    }

    .about-image-content strong {
        font-size: 35px;
    }

    .about-experience {
        right: 10px;
        bottom: 10px;

        width: 150px;
        height: 120px;
    }

    .about-experience strong {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,.12);

        padding: 25px 0;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-container {
        align-items: flex-start;
        flex-direction: column;

        padding: 20px 0;
    }
	
	.gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 240px;
    }

    .gallery-item.gallery-large {
        grid-column: auto;
    }

    .gallery-overlay {
        opacity: 1;
    }

}