.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFD700' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    font-size: larger;
}

/* === COLORES PERSONALIZADOS === */
.text-gold {
    color: #d4af37 !important;
}

.bg-gold {
    border-bottom: 3.5px white solid;
    background-color: black !important;
    height: 120px;
}

.sect {    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.titulo {
    font-size: 2.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(-100vw);
}

.spacer {
    height: 100vh;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === NAVBAR === */
.bg-gold .nav-link {
    color: #fff !important;
}

.bg-gold .nav-link:hover,
.bg-gold .nav-link.active {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu-dark {
    background-color: #000 !important;
}

.dropdown-menu-dark .dropdown-item {
    color: #fff;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #222;
    color: #d4af37 !important;
}

/* === HERO CAROUSEL === */
.hero-carousel {
    position: relative;
}

.hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.h-image {
    max-height: 80px
}

.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.carousel-indicators [data-bs-target] {
    background-color: #d4af37;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) saturate(100%) invert(86%) sepia(51%) saturate(631%) hue-rotate(7deg) brightness(92%) contrast(101%);
}

/* === EQUIPO === */
.img-equipo {
    max-width: 100%;
    height: 100%;
    min-height: 25rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.img-equipo.img-lorena {
    background-image: url('../imgs/lorena_peralta.png');
}

.img-equipo.img-guillermo {
    background-image: url('../imgs/guillermo_sandoval.png');
}

/* === NOSOTROS === */
#about h2,
#about p,
#about img {
    transform: translateY(10px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

#about h2 {
    animation-delay: 0.1s;
}

#about p {
    animation-delay: 0.3s;
}

#about img {
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === ÁREAS PRÁCTICAS === */
.area-box {
    transition: transform 0.3s ease;
}

.area-box:hover {
    transform: scale(1.03);
}

/* === AREAS === */

.card {
    position: relative;
    overflow: hidden;
    background-color: #000;
    border: 1px solid white;
    color: #fff;
}

.card img {
    height: 200px;
    object-fit: cover;
}

.card-reveal {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    transition: top 0.4s ease;
    z-index: 2;
}

.card:hover .card-reveal {
    top: 0;
}

.card-title {
    color: gold;
}

.card-reveal .close-reveal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.card img {
    height: 200px;
    object-fit: cover;
}

.card-reveal::-webkit-scrollbar {
    width: 6px;
}

.card-reveal::-webkit-scrollbar-thumb {
    background: gold;
    border-radius: 4px;
}

/* === EFECTO REVEAL CON GSAP === */
.reveal-card {
    opacity: 0;
    transform: translateY(80px);
    will-change: transform, opacity;
}

/* === CONTACTO === */
.bg-contacto {
    background-image: url('../imgs/Final.png');
    background-position: top;
    background-size: auto;
}

.img-solo {
    filter: drop-shadow(0 0 2px white);
}

.contact-section {
    background-color: #111;
    color: white;
    padding: 50px 0;
}

.contact-section img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 5px gold);
}

.contact-section h2 {
    color: gold;
}

.btn-warning {
    background-color: gold;
    color: black;
    border: none;
}

.btn-warning:hover {
    background-color: #d4af37;
}


/* === RESPONSIVIDAD === */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .img-equipo {
        background-size: contain;
        background-position: top;
    }

    .bg-gold {
        height: auto;
    }

    .h-image {
        max-height: 55px;
    }

    .titulo {
        font-size: 1.8rem;
        padding: 10px;
    }
}