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

/* VARIABLES */
:root {
    --c-dark: #212529;
    --c-brand: #4e57d4;
    --c-brand-light: #6970dd;
    --c-brand-rgb: 78, 87, 212;
    --c-body: #727272;
    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.5s ease;
}

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

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

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

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

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

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

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

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

.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(--c-dark);
}

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

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

.btn-brand {
    background-color: #ffffff;
    border-color: #000000;
    color: #000000;
    border-radius: 20px;
}

.btn-brand:hover {
    background-color: #f0f0f0;
    border-color: #000000;
    color: #000000;
}

/* HERO SECTION */
#hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    color: white;
    display: flex; /* Asegúrate de que el contenido esté alineado */
    justify-content: center; /* Alinea el contenido horizontalmente */
    align-items: center; /* Alinea el contenido verticalmente */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.container {
    position: relative;
    z-index: 1;
}

/* GALLERY */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery-item {
    margin: 10px;
    text-align: center;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
}

.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
}

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

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    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(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}

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

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

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

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

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

/* COUNTERS */
#counters {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.counter-box {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background-color: #4e57d4;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.counter-box i {
    font-size: 50px;
    color: #fff;
    margin-bottom: 15px;
}

.counter {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.counter-box p {
    font-size: 20px;
    color: #fff;
}

@media (max-width: 991px) {
    .counter-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .col-lg-3 {
        margin-bottom: 20px;
    }
}

/* PORTFOLIO */
.portfolio-item .iconbox {
    background-color: var(--c-brand);
    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(--c-brand);
}

.review-head {
    position: relative;
}

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

/* TEAM MEMBER */
.team-member-content {
    margin-top: 10px;
    background-color: var(--c-brand);
    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 {
    position: relative;
    padding: 100px 0;
}

#contact .map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.contact-info {
    margin-top: 30px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-info .info-item i {
    font-size: 24px;
    color: var(--c-brand);
    margin-right: 15px;
}

.contact-info .info-item p {
    font-size: 16px;
}

.contact-info .info-item a {
    color: var(--c-brand);
    text-decoration: none;
}

.contact-info .info-item a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background-color: #212529;
    padding: 60px 0;
}

.footer a {
    color: #ffffff;
}

.footer a:hover {
    color: var(--c-brand-light);
}

.footer .social-links a {
    margin: 0 10px;
    color: #ffffff;
}

.footer .social-links a:hover {
    color: var(--c-brand-light);
}

.footer .copyright {
    color: #ffffff;
    margin-top: 20px;
    text-align: center;
}