/* funny-dev — Clean & Modern Style */
#applications .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Esto centra las apps */
}
#privacy-content {
  padding-top: 140px; /* Mismo que banner-info en index.html */
}
body {
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    color: #444;
    font-size: 16px;
    font-weight: 300;
    overflow-x: hidden;
    background: #fafafa;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}
.section-padding { padding: 80px 0; }
/* Header — Cambio 2: Reducido para menos "abismo" */
.header {
    background: url('../img/bg-banner02.jpg') center center fixed;
    background-size: cover;
    min-height: 80vh; /* Era 100vh → ahora más compacto */
    position: relative;
}
.bg-color {
    background: rgba(0,0,0,0.65);
    min-height: 80vh; /* Era 100vh → ahora más compacto */
}
.navbar-default {
    background: transparent;
    border: none;
    padding: 20px 0;
    transition: all 0.3s;
}
.top-nav-collapse { padding: 0; background: rgba(0,0,0,0.9); }
.logo-dec { color: #be9e21; }
.navbar-brand { font-size: 26px; font-weight: 700; color: #fff; text-transform: uppercase; }
.navbar-nav > li > a {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px !important;
}
.navbar-nav > li > a:hover,
.navbar-nav > .active > a { color: #be9e21; }
.banner-info {
    padding-top: 120px; /* Era 180px → ahora más cerca del texto */
    color: #fff;
}
.bnr-title {
    font-size: 19px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.bnr-sub-title {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
}
.bnr-para {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px; /* Reducido margen inferior para menos espacio */
    line-height: 1.7;
}
.overlay-detail a i {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 42px;
    color: #fff;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}
/* Applications Section */
.service-title {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.bottom-line {
    height: 3px;
    width: 50px;
    background: #be9e21;
    margin: 0 auto 60px;
}
/* Equal height cards + perfect footer alignment */
.apps-equal-height {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.apps-equal-height > [class*="col-"] {
    display: flex;
    padding: 0 15px;
    margin-bottom: 30px;
}
.app-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    padding: 35px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.35s ease;
}
.app-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.item-img img {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.app-card:hover .item-img img {
    transform: scale(1.08);
}
.crazyrun-icon-wrap {
    transition: transform 0.3s;
}
.app-card:hover .crazyrun-icon-wrap {
    transform: scale(1.08);
}
.crazydive-icon-wrap {
    transition: transform 0.3s;
}
.app-card:hover .crazydive-icon-wrap {
    transform: scale(1.08);
}
.app-description {
    flex-grow: 1;
    margin: 15px 0;
    line-height: 1.7;
    color: #555;
}
.app-footer {
    margin-top: auto;
    padding-top: 25px;
}
.appstore-btn {
    width: 165px;
    height: auto;
    margin-bottom: 18px;
    transition: transform 0.2s;
}
.appstore-btn:hover { transform: scale(1.05); }
.app-footer a:not(:first-child) {
    display: block;
    margin: 10px 0;
    color: #be9e21;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
}
.app-footer a:not(:first-child):hover {
    color: #222;
    text-decoration: underline;
}
/* Contact */
#contact {
    background: #2c3e50;
    color: #ddd;
}
#contact .service-title { color: #fff; }
.mail p { font-size: 22px; }
/* Footer */
#footer {
    padding: 40px 0;
    background: #111;
    color: #888;
    font-size: 15px;
}
/* Responsive */
@media (max-width: 767px) {
    .bnr-sub-title { font-size: 36px; }
    .bnr-para { font-size: 16px; }
    .apps-equal-height > [class*="col-"] { display: block; }
    .app-card { margin-bottom: 40px; }
}
/* Arreglo definitivo para iconos de play no alargados */
video {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.wrap-item video {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.wrap-item video:hover {
  transform: scale(1.02);
}

/* CORRECCIÓN FINAL: TARJETAS ESTRECHAS (sobreescribe todo lo anterior) */
@media (max-width: 991px) {
    #applications .row {
        display: flex;
        justify-content: center;
    }
    .app-card {
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 60px;
    }
}
@media (max-width: 480px) {
    .app-card {
        max-width: 340px !important;
    }
}
