/* NAVBAR STYLES */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #0b163557;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo img {
    height: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-right: 1rem;
    width: auto;
}

.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: center;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color .3s ease;
}

.menu li a:hover {
    color: var(--azul-secundario);
}

.social-icons {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.social-icons a {
    color: #fff;
    font-size: 1.3rem;
    transition: color .3s ease;
}

.social-icons img:hover {
    color: var(--azul-primario);
}

.hamburger-btn,
.search-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: .5rem;
    transition: color .3s ease;
}

.hamburger-btn:hover,
.search-btn:hover {
    color: #00bfff;
}

/* MOBILE MENU STYLES */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000f2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: opacity .3s ease, transform .3s ease;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color .3s ease;
}

.close-btn:hover {
    color: #00bfff;
}

.mobile-menu .menu {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    display: flex;
}

.mobile-menu .menu li a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color .3s ease;
}

.mobile-menu .menu li a:hover {
    color: #00bfff;
}

.mobile-menu .social-icons {
    display: flex;
    margin-top: 2rem;
    gap: 1.5rem;
}

.mobile-menu .social-icons a {
    font-size: 1.5rem;
    color: #fff;
    transition: color .3s ease;
}

.mobile-menu .social-icons a:hover {
    color: #00bfff;
}

/* MEDIA QUERIES - TABLET */
@media (max-width: 768px) {
    .navbar {
        background-color: #0000004d;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: fixed;
        top: 0;
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.5rem;
        z-index: 1000;
    }

    .hamburger-btn {
        display: block;
        order: 1;
        position: absolute;
        left: 1rem;
    }

    .search-btn {
        display: block;
        order: 3;
        position: absolute;
        right: 1rem;
    }

    .logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
    }

    .logo img {
        max-height: 50px;
    }

    .navbar .menu,
    .navbar .social-icons {
        display: none !important;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #0009;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 1001;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: opacity .3s ease, transform .3s ease;
        opacity: 0;
        pointer-events: none;
    }

    .mobile-menu.active {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu .menu {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        display: flex;
    }

    .mobile-menu .social-icons {
        display: flex !important;
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .mobile-menu .social-icons a {
        font-size: 1.8rem;
        color: #fff;
        transition: all .3s ease;
        padding: .5rem;
        border-radius: 50%;
        background-color: #ffffff1a;
    }

    .mobile-menu .social-icons a:hover {
        color: #00bfff;
        background-color: #00bfff33;
        transform: scale(1.1);
    }

    .close-btn {
        position: absolute;
        top: 1rem;
        right: 2rem;
        background: none;
        border: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
        transition: color .3s ease;
    }

    .close-btn:hover {
        color: #00bfff;
    }
}

@media (max-width: 768px) {
    .logo img {
        max-height: 70px;
    }
}

/* MEDIA QUERIES - MOBILE */
@media (max-width: 480px) {
    .logo img {
        max-height: 100px;
    }
}

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.content {
    flex: 1;
    padding: 2rem;
    color: #fff;
    text-align: center;
}

/* FOOTER STYLES */
footer {
    background: #021837e5;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #eee;
    text-align: center;
    padding: 3rem 2rem 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
}

.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, #1d4ed8, #05184a);
    border: 1px solid rgba(255, 255, 255, .186);
    backdrop-filter: blur(3px);
    animation: float 12s ease-in-out infinite;
}

.shape.circle {
    border-radius: 50%;
}

.shape.triangle {
    width: 0;
    height: 0;
    position: relative;
}

.shape.triangle:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 35px;
    background: linear-gradient(135deg, #137ebc, #073761);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* ANIMATIONS */
@keyframes float {
    0%, to {
        transform: translateY(0) rotate(0);
    }
    33% {
        transform: translateY(-15px) rotate(90deg);
    }
    66% {
        transform: translateY(-8px) rotate(180deg);
    }
}

.particle {
    position: absolute;
    background: #fdfdfd;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 8s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }
    10% {
        opacity: 1.6;
    }
    90% {
        opacity: 1.6;
    }
    to {
        transform: translateY(-100px) scale(1);
        opacity: 1;
    }
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #052459, #8a2be20f);
    opacity: 1.5;
    animation: wave 4s ease-in-out infinite;
}

@keyframes wave {
    0%, to {
        transform: translate(0) scaleY(1);
    }
    50% {
        transform: translate(-15px) scaleY(1.05);
    }
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 191, 255, .35) 0%, transparent 70%);
    animation: glow 6s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        opacity: .2;
    }
    to {
        opacity: .4;
    }
}

/* FOOTER CONTENT */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.footer-links a {
    color: #eee;
    text-decoration: none;
    transition: all .3s ease;
    border-left: 2px solid transparent;
    padding: .3rem 0 .3rem .5rem;
}

.footer-links a:hover {
    color: #00bfff;
    border-left-color: #00bfff;
    padding-left: 1rem;
    transform: translate(5px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    color: #eee;
    font-size: 1.5rem;
    transition: all .3s ease;
    padding: .8rem;
    border-radius: 50%;
    background-color: #ffffff1a;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.social-icons a:hover {
    color: #00bfff;
    background-color: #00bfff33;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px #00bfff4d;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #ffffffb3;
    font-size: .9rem;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.6;
}

.footer-bottom a {
    color: #00bfff;
    text-decoration: none;
    transition: all .3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 191, 255, .5);
}

/* FOOTER MEDIA QUERIES */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding-left: 0;
        padding-bottom: .3rem;
    }

    .footer-links a:hover {
        border-left: none;
        border-bottom-color: #00bfff;
        padding-left: 0;
        transform: translateY(-2px);
    }

    .social-icons {
        gap: 1rem;
    }

    .social-icons a {
        font-size: 1.3rem;
        width: 45px;
        height: 45px;
    }

    .shape:nth-child(odd) {
        display: none;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 1rem;
    }

    .footer-content {
        gap: 1rem;
    }

    .social-icons a {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
}