@charset "utf-8";
/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open+Sans', Roboto, Helvetiva, sans-serif;
    overflow-x: hidden;
    background: #0a4d5c;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 30, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.logo span {
    color: #94a3c1;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-selector a {
    font-size: 1.5rem;
    transition: transform 0.3s, opacity 0.3s;
    line-height: 1;
    text-decoration: none;
}

.language-selector a:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #506999;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    z-index: 1001;
}

.menu-toggle:hover {
    color: #94a3c1;
}

/* Overlay para cerrar el menú */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section with Background Image */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/3dk/imagenes/patagonia.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.7) contrast(1.5);
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 105, 153, 0.7), rgba(148, 163, 193, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 0.2rem 2rem;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 3.5rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.service-link {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 3rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    overflow: hidden;
    min-height: 300px;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.2), transparent);
    transition: left 0.6s;
}

.service-link:hover::before {
    left: 100%;
}

.service-link:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: #94a3c1;
    box-shadow: 0 20px 60px rgba(78, 205, 196, 0.3);
}

.service-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #6980b2, #506999);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

.service-link:hover .service-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.6);
}

.service-icon svg {
    width: 60px;
    height: 60px;
    fill: #fff;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    text-align: center;
}

.service-arrow {
    margin-top: 1.5rem;
    font-size: 2rem;
    color: #94a3c1;
    transition: transform 0.3s ease;
}

.service-link:hover .service-arrow {
    transform: translateX(10px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Styles - CORRECCIÓN: Mover aquí y ajustar */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(20, 30, 40, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .language-selector {
        gap: 0.75rem;
    }

    .language-selector a {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-link {
        padding: 3rem 2rem;
        min-height: 250px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .service-link {
        padding: 2.5rem 1.5rem;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }

    .service-icon svg {
        width: 50px;
        height: 50px;
    }

    .service-title {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .logo {
        height: 35px;
    }

    .language-selector a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 30px;
    }


    .language-selector a {
        font-size: 1.3rem;
    }
}

/* Decorative Elements */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}
