
/* Franja superior */
.franja-superior {
    flex-direction: row-reverse;
    padding: 2px 20px;
    background-color: #041522a1;
    font-family: 'Open Sans', sans-serif; 
    font-weight: 300;
    font-size: 14px;
    position: fixed;
    top: 0;
    min-height: 30px;
    width: 100%;
    z-index: 1001;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease-in-out;
}

.franja-superior img {
    margin-right: 8px; 
    vertical-align: middle;
}
.me-3 {
    margin-right: 0rem !important;
}

.franja-superior span {
    color: #555;
}

.franja-superior a img {
    margin-left: 4px; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

.franja-superior a img:hover {
    transform: scale(1.1); 
    opacity: 0.8; 
}

.language-dropdown {
    position: absolute;
    top: 8px;
    right: 15px;
}

.language-dropdown img {
    width: 28px;
    height: 28px;
    margin-top: 15px;
    margin-right: 6px;
    cursor: pointer;
}
.language-dropdown .dropdown-toggle::after {
    display: none;
}

/* Responsividad para franja superior */
@media (max-width: 768px) {
    .franja-superior {
        flex-direction: row-reverse;
        text-align: center;
            top: 0;
            padding: 5px 15px;
    }
}

/* Estilo general del navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    z-index: 999;
    position: fixed;
    min-height: 50px; 
    top: 44px;
    width: 100%;
    backdrop-filter: blur(10px); 
    transition: background 0.3s ease-in-out;
}

.navbar-toggler {
    border: none; 
    background: none; 
    padding: 0;
    box-shadow: none; 
    display: none;
    z-index: 1050; 
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none; 
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); 
    width: 30px; 
    height: 30px; 
    margin-top: 20px;
}

.navbar-brand {
    flex: 1;
    margin-left: 0;
}

.navbar-brand img {
    width: 200px;
    max-width: 100%;
}

.nav-item .nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

.nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #007bff;
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease-in-out;
}

.nav-item .nav-link:hover::after {
    width: 100%;
}

.nav-item .nav-link:hover {
    color: #007bff;
}

.navbar-controls {
    position: absolute;
    right: 20px; 
    top: 10px;
    z-index: 10;
    gap: 15px;
}

.nav-contact {
    border: 2px solid #0171c0; 
    border-radius: 0;
    padding: 5px 10px;
    transition: all 0.3s ease; 
}

.nav-contact:hover {
    border-color: #007bff; 
    color: #007bff; 
}

.navbar-nav {
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: all 0.3s ease-in-out;
}

/* Responsividad navbar */
@media (max-width: 768px) {
    .navbar-controls {
        flex-direction: row-reverse;
        justify-content: flex-start;
        top: 10px;
        right: 15px;
    }
    .navbar .container {
        width: 100%;
    }
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 1rem;
    }
    .navbar-toggler {
        display: block !important;
    }
    .navbar-nav .nav-link {
        font-size: 0.9rem; 
    }
}

@media (max-width: 480px) {
    .franja-superior {
        font-size: 12px;
    }
    .navbar-nav .nav-link {
        font-size: 0.8rem;
    }
}


/* sección Hero */
.typing-text {
    white-space: normal; 
    max-width: 90%;
    margin: 0 auto;
    overflow: hidden;
    border-right: none;
    display: inline-block;
    animation: blink 0.7s step-end infinite;
}

.hero {
    position: relative;
    background: url('../img/hero4.jpg') no-repeat center center/cover;
    height: 83vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 1rem;
    margin-top: 134px;
    opacity: 0.80;
    transition: opacity 0.5s ease-in-out; 
}

.hero-content {
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    z-index: 2; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1; 
}

.hero-content h1 {
    font-family: 'Open Sans SemiBold', sans-serif;
    font-weight: 600; 
    font-size: 3rem;
    color: rgb(255, 255, 255);
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Responsividad hero */
@media (max-width: 768px) {
    .hero {
        height: 82vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 82vh; 
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* sección de servicios */

.services {
    padding: 4rem 4rem;
    margin: 50px;
}

.service-item {
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: auto;
    margin-bottom: 1rem;
    animation: zoomIn 0.8s ease-in-out;
}

.service-title {
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: #0072C0;
    margin-bottom: 0.5rem;
}

.service-description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* Responsibidad servicios */
@media (max-width: 768px) {
    .services {
        padding: 2rem 1rem; 
        margin: 20px;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 1.3rem;
    }

    .service-icon {
        width: 60px;
    }
}

/* seccion nosotros */
.about-us {
    position: relative;
    padding: 0rem 1rem;
    color: #fff;
}

.about-title {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: #0072C0;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-in-out;
}

.about-us::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/colores1.png') no-repeat center center/cover;
    opacity: 0.06;
    z-index: -1;
}

.about-us .container {
    position: relative;
    z-index: 1; 
}

.about-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300; 
    font-size: 1.3rem;
}

.about-us .container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-us.in-view .container {
    opacity: 1;
    transform: translateY(0);
}


/* Responsividad nosotros */
@media (max-width: 768px) {
    .about-text {
        font-size: 1.3rem;
    }

    .nahuel-image {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 1.25rem;
    }

    .title {
        font-size: 1rem;
    }
}

/* Sección contacto */
.contact-us {
    position: relative;
    padding: 8rem 2rem;
    margin-bottom: 50px;
}

.contact-title {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: #0072C0;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-in-out;
}

.world-image {
    position: absolute;
    top: 55px;
    left: 150px;
    width: 70%;
    height: 80%;
    background: url('../img/planeta.png') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
    z-index: 1;
    animation: fadeInOpacity 2s ease-in-out;
}

.contact-content {
    position: relative;
    z-index: 2;
    display: flow;
}

.contact-info {
    font-size: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0rem;
    margin-top: 40px;
    animation: slideInFromLeft 1.2s ease-in-out;
}

.location-item {
    padding: 1rem;
    margin-left: 60px;
    animation: scaleUp 1.5s ease-in-out;
}

.floating-mail {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(20, 73, 109, 0.64); 
    backdrop-filter: blur(10px); 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, backdrop-filter 0.3s ease;
}

.floating-mail svg {
    fill: #ffffff;
    width: 28px;
    height: 28px;
}

.floating-mail:hover {
    transform: scale(1.1);
    backdrop-filter: blur(15px);
}


/* Responsividad */
@media (max-width: 768px) {
    .world-image {
        left: 0;
        top: 200px;
        width: 100%;
        height: 80%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 1rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        font-size: 1.3rem;
    }

    .location-item {
        margin-left: 0;
        padding: 0.8rem;
    }

    .floating-mail {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 60px;
        height: 60px;
    }

    .floating-mail svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .world-image {
        left: 0;
        top: 200px;
        width: 100%;
        height: 70%;
    }

    .contact-info {
        font-size: 1.1rem;
        gap: 1rem;
    }

    .location-item {
        padding: 0.5rem;
    }

    .floating-mail {
        width: 60px;
        height: 60px;
    }

    .floating-mail svg {
        width: 28px;
        height: 28px;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.9);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fadeInOpacity {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.1;
    }
}

/* Seccion footer*/
.footer {
    position: relative; 
    background-color: #101421; 
    padding: 2rem 1rem;
    color: #f7f7f7; 
    font-size: 1.1rem;
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    z-index: 1;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/colores1.png') no-repeat center center/cover;
    opacity: 0.1; 
    z-index: -1; 
}

.footer h5 {
    color: #00aaff; 
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer p, .footer a {
    color: #e0e0e0; 
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: #00ccff; 
    text-decoration: underline;
}

.footer .social-icons img {
    width: 28px;
    margin-right: 0.7rem;
    filter: brightness(0) invert(1); 
    transition: transform 0.3s ease-in-out;
}

.footer .social-icons img:hover {
    transform: scale(1.1); 
}

.footer .list-unstyled li {
    margin-bottom: 0.6rem;
}

.footer .text-center {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }
    
    .footer .social-icons {
        justify-content: center;
    }
}

/* Seccion de expansion */
.collapsible {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s ease, transform 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    padding: 0;
}

.collapsible.expanded {
    padding: 0px;
}

.collapsible .content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-family: 'Open Sans', sans-serif; 
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.4;
    color: #333;
}

.collapsible.expanded .content {
    opacity: 1;
    transform: translateY(0);
}

.collapsible .content .highlight {
    color: #0072C0;
    font-weight: 300;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0072C0;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.service-link i {
    font-size: 1.2rem;
    margin-left: 5px;
    transition: transform 0.3s ease-in-out;
}

.service-link:hover {
    color: #005A9E;
}

.service-link.expanded i {
    transform: rotate(180deg);
}

/* Banner coookies*/
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: var(--cookie-bg, #ffffff); 
    color: var(--text-color);
    padding: 15px;
    text-align: center;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, background 0.3s ease-in-out;
}

.cookie-btn {
    background: #0072C0;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Open Sans Condensed', sans-serif;
    cursor: pointer;
    border-radius: 0px;
    transition: background 0.3s ease-in-out;
}

.cookie-btn:hover {
    background: #005b99;
}

.cookie-link {
    color: #0072C0;
    font-size: 0.9rem;
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .cookie-banner {
        width: 95%;
        padding: 12px;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 10px;
    }
}

/* Política de Cookies */
.cookie-policy-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; 
    padding: 120px 20px 40px; 
}

.cookie-policy-content {
    max-width: 800px;
    padding: 20px;
    font-size: 14px; 
    line-height: 1.6;
    background-color: var(--bg-color); 
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-policy-content h1 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
}

.cookie-policy-content h2 {
    font-size: 18px;
    margin-top: 20px;
}

.cookie-policy-content ul {
    padding-left: 20px;
}

.cookie-policy-content a {
    color: #0072C0;
    text-decoration: underline;
}

.cookie-policy-content p {
    font-size: 14px;
    color: var(--text-color);
}

.cookie-contact-link {
    font-weight: bold;
    text-decoration: none;
    color: #0072C0;
}

.cookie-contact-link:hover {
    text-decoration: underline;
}

/* Términos y Condiciones */
.terminos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; 
    padding: 120px 20px 40px; 
}

.terminos-content {
    max-width: 800px;
    padding: 20px;
    font-size: 14px; 
    line-height: 1.6;
    background-color: var(--bg-color); 
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.terminos-content h1 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
}

.terminos-content h2 {
    font-size: 18px;
    margin-top: 20px;
}

.terminos-content ul {
    padding-left: 20px;
}

.terminos-content a {
    color: #0072C0;
    text-decoration: underline;
}

.terminos-content p {
    font-size: 14px;
    color: var(--text-color);
}

.terminos-contact-link {
    font-weight: bold;
    text-decoration: none;
    color: #0072C0;
}

.terminos-contact-link:hover {
    text-decoration: underline;
}
