@import url(../css/clash-display.css);

/* VARIABLES */
:root {
    --dark: #212529;
    --dark-rgb: 0, 0, 0;
    --main: #0e9600;
    --main-light: #0e9600;
    --lime-green: #B7F724;
    --main-rgb: 14, 150, 0;
    --small-text: #727272;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s ease;
}

/* yellow: #fcba41  252,186,65
/* red: #f13429     241,52,41
/* green: #0e9600   14,150,0



/* RESET & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--small-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 600;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: var(--main);
    transition: var(--transition);
}

a:hover {
    color: var(--main-light);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img {
    transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}


/* NAVBAR */
.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
}

.navbar-nav .nav-link.active {
    color: var(--main);
}

.navbar-brand img {
    height: 40px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu {
    border: none;
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}


@media (max-width: 991.98px) {
    .dropdown-menu {
        box-shadow: none !important;
    }
}


.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
    border-radius: 0;

}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item.active {
    color: #198754 !important;
    /* Bootstrap green */
    font-weight: 500;
    background-color: transparent;
}


/* BTN */
.btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--main);
    border-color: var(--main);
    color: white;
}

.btn-brand:hover {
    background-color: var(--main-light);
    border-color: var(--main-light);
    color: white;
}




/* SECTION TITLE */
.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--main);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ICONBOX */
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--main-rgb), 0.1);
    color: var(--main);
    font-size: 34px;
    flex: none;
}

/* SERVICE */
.service {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service::after {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(var(--main-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}


.service:hover::after {
    width: 100%;
    height: 100%;
    background: var(--main);
    z-index: -1;
}

.service:hover h5,
.service:hover p {
    color: white;
}

.service:hover .iconbox {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* COUNTER */
#counter {
    background: var(--main);
    background-position: center;
    background-size: cover;
}

/* PORTFOLIO */
.portfolio-item .iconbox {
    background-color: var(--main);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .iconbox {
    opacity: 1;
    top: 50%;
}

/* REVIEW */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--main);
}

.review-head {
    position: relative;
}

.review-head::after {
    content: "";
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: -14px;
    background-color: white;
    transform: rotate(45deg);
}

/* TEAM */
.team-member-content {
    background-color: var(--main);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}

.team-member:hover .team-member-content {
    opacity: 1;
    bottom: 24px;
}

/* CONTACT */
#contact-component {
    position: relative;
    z-index: 2;
}

#contact-component::after {
    content: "";
    width: 100%;
    height: 70%;
    background: linear-gradient(rgba(var(--main-rgb), 0.8), rgba(var(--main-rgb), 0.8)), url(../images/image12.jpeg);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact-component .form-control {
    border-radius: 0;
}

#contact-component .form-control:focus {
    box-shadow: none;
    border-color: var(--main);
}

/* BOARD */
.board-member {
    margin: 0 auto 10px auto;
    max-width: 180px;
}

.board-member .image-zoom-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.board-text {
    margin-bottom: 20px;
}

.board-line {
    width: 60px;
    height: 4px;
    background-color: var(--main);
    margin: 5px auto 16px auto;
}


/* FOOTER */
footer {
    padding-top: 120px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 10px;
    padding-bottom: 10px;
}

footer li,
footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--main);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--main);
    color: white;
}


.masonry-gallery {
    column-count: 4;
    column-gap: 1rem;
}

.masonry-gallery a {
    display: block;
    margin-bottom: 1rem;
    break-inside: avoid;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.masonry-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hover effect */
.masonry-gallery a:hover {
    transform: scale(1.02);
}

/* Responsive columns */
@media (max-width: 1200px) {
    .masonry-gallery {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .masonry-gallery {
        column-count: 1;
    }
}

.carousel-item {
    transition: transform 0.3s ease-in-out;
}

.iframe-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 1000px;
    /* default height */
    background: rgb(248, 248, 248);
}

.iframe-container iframe {
    border: none;
    position: relative;
    width: 100%;
    height: 1000px;
    top: -215px;
    /* desktop offset */
}

@media (max-width: 680px) {
    .iframe-container {
        height: 500px;
        /* taller for mobile */
    }

    .iframe-container iframe {
        top: -125px;
        /* smaller offset for mobile */
        height: 700px;
    }
}


.player-number-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}



#sponsors .line {
    width: 80px;
    height: 4px;
    margin: 10px auto;
    border-radius: 4px;
}