body {
    background-color: #11131a;
    color: #e0e0e0;
}

/*Navigation Bar */
.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding-left: 3vw;
    padding-right: 3vw;
    background: #18191c !important;
    color: #fff;
    box-shadow: 0 2px 16px #1e90ff22;
    padding: 0.7rem 3vw 0.7rem 3vw;
    display: flex;
    align-items: center;
    /* Alinea verticalmente todo al centro */
    justify-content: space-between;
    /* Espacia logo y hamburguesa */
    border-radius: 0 0 24px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 64px;
    gap: 0.5rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.navbar-toggler {
    border: linear-gradient(120deg, #0a0c12 70%, #1b253b 100%);
    /* Azul más oscuro */
    border-radius: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23004aad' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/*Header */
header {
    background: #222;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 3vw 2rem 3vw;
    background: linear-gradient(120deg, #0a0c12 70%, #1b253b 100%);
    min-height: 520px;
    gap: 2rem;
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-section::before {
    content: none;
}

.hero-section>.container,
.hero-section .row,
.hero-section .col-lg-6 {
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1 1 350px;
    min-width: 300px;
    max-width: 520px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    color: #bfc8e2;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: transparent;
    color: #1e90ff;
    border: 2px solid #1e90ff;
}

.btn-secondary:hover {
    background: #1e90ff;
    color: #fff;
}

.hero-customers {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #3ea6ff;
    margin-left: -10px;
    background: #fff;
    object-fit: cover;
}

.avatars img:first-child {
    margin-left: 0;
}

.hero-customers span {
    color: #bfc8e2;
    font-size: 1rem;
    font-weight: 600;
}

.hero-image {
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 650px;
    max-width: 100vw;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(62, 166, 255, 0.10);
    display: block;
    margin: 0 auto;
}

/*services */
.program-section {
    padding: 3rem 3vw 2rem 3vw;
    background-color: #18191c !important;
}

.program-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2.5rem;
    font-weight: 800;
}

.program-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.program-card {
    background: #18191c !important;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    min-width: 220px;
    max-width: 260px;
    text-align: center;
    color: #e6eaf3;
    box-shadow: 0 2px 16px rgba(30, 40, 80, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #232326 !important;
}

.program-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 32px rgba(62, 166, 255, 0.15);
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.program-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.program-card p {
    color: #bfc8e2;
    font-size: 1rem;
}

/*carousel */

.brands-carousel-section {
    background: #11131a;
    padding: 3rem 3vw 2rem 3vw;
    text-align: center;
}

.brands-carousel-section h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

.brand-logo {
    width: auto;
    height: auto;
    border-radius: 0;
    /* Fondo blanco translúcido */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-weight: bold;
    color: #fff;
    font-size: 3rem;
    overflow: visible;
    box-shadow: none;
    position: static;
    z-index: auto;
}

.brand-logo img {
    width: 260px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    display: block;
}

/* Opcional: para que el texto dentro de .brand-logo esté centrado vertical y horizontal */
.brand-logo:not(:has(img)) {
    background: transparent;
    color: #2196f3;
    font-size: 3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .brand-logo {
    margin-bottom: 1.5rem;
}

.card {
    background: transparent !important;
    border: none;
    position: relative;
    z-index: 1;
}

/*Gallery */

.galeria {
    background: transparent;
    box-shadow: none;
    margin: 2rem auto 2rem auto;
    max-width: 1100px;
    padding: 0 1rem;
}

#galeria .card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #181c25;
    box-shadow: 0 2px 16px rgba(30, 40, 80, 0.18);
    transition: box-shadow 0.25s, transform 0.25s;
}

#galeria .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 171, 237, 0.3) !important;
}

#galeria .card-img-top {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    transition: filter 0.3s, transform 0.3s;
    filter: grayscale(100%) contrast(1.05) brightness(0.95);
}

#galeria .card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(20, 22, 28, 0.05) 40%, rgba(20, 22, 28, 0.85) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#galeria .card:hover .card-overlay {
    opacity: 1;
    pointer-events: auto;
}

#galeria .card-overlay .overlay-btn {
    display: block;
}

#galeria .overlay-btn {
    color: white;
    text-align: left;
    background: transparent;
    border: none;
}

/*Beneficios y garantías */

#extras .card {
    transition: box-shadow 0.25s, border 0.25s, background 0.25s, transform 0.25s;
    background: #18191c !important;
    color: #fff !important;
    border-radius: 18px;
    border: 1.5px solid transparent;
}

#extras .card:hover {
    box-shadow: 0 8px 32px #1e90ff33, 0 1.5px 0 #23283a;
    border: 1.5px solid #1e90ff;
    background: #23283a !important;
    transform: translateY(-8px) scale(1.04);
}

/*tetimonials */

.testimonial-section {
    background: #11131a;
    padding: 3rem 3vw 2rem 3vw;
}

.testimonial-section h2 {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: #181c25 !important;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    min-width: 260px;
    max-width: 400px;
    color: #e6eaf3;
    box-shadow: 0 2px 16px rgba(30, 40, 80, 0.18);
    font-style: italic;
    text-align: left;
    position: relative;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.2rem;
}

.testimonial-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #3ea6ff;
    object-fit: cover;
}

.user-name {
    font-weight: 700;
    color: #3ea6ff;
}

.user-role {
    font-size: 0.95rem;
    color: #bfc8e2;
}

.testimonial-rating {
    color: #ffb300;
    font-size: 1.2rem;
    margin-top: 0.7rem;
}

.testimonial-customers {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

/*formularios */

#formContactData {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#formContactData input,
#formContactData textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #232326 !important;
    font-size: 1rem;
    resize: none;
    background: #232326 !important;
    color: #e0e0e0 !important;
}

#formContactData input:focus,
#formContactData textarea:focus {
    outline: 2px solid #fff !important;
    background: #232326 !important;
    color: #fff !important;
}

#formContactData button {
    background: #23283a;
    color: #fff;
    border: none;
    padding: 0.8rem 0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#formContactData button:hover {
    background: #18191c;
    color: #fff;
}

.contacto-gym {
    background: #18191c !important;
    color: #e0e0e0 !important;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(30, 40, 80, 0.18);
    max-width: 500px;
    margin: 3rem auto 2rem auto;
    padding: 2.5rem 2rem 2rem 2rem;
    border: 1px solid #232326 !important;
}

.form-control::placeholder,
textarea.form-control::placeholder {
    color: #bfc8e2 !important;
    opacity: 1;
}

/*FAQS*/
#accordionFlushExample .accordion-item,
#accordionFlushExample .accordion-button {
    background-color: #181c25 !important;
    color: #f3f3f3 !important;
    border: none !important;
}

#accordionFlushExample .accordion-button::after {
    filter: invert(77%) sepia(4%) saturate(0%) hue-rotate(176deg) brightness(92%) contrast(89%);
}

#accordionFlushExample .accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent !important;
}

#accordionFlushExample .accordion-button:active {
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

#accordionFlushExample .accordion-button:focus,
#accordionFlushExample .accordion-button:active,
#accordionFlushExample .accordion-button:focus-visible {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}

/*GALERIA DE FOTOGRAFIAS PROYECTO BOSQUE REAL*/

#galeria .overlay-btn {
    text-decoration: none;
}

/* Ajuste específico para la imagen 5.jpg - centrar logo */
#proyecto-5-img {
    object-position: center 25% !important;
    transform: translateY(-10px) !important;
}