/* General Styles */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004080;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand .flag-arg {
    font-size: 1.5rem;
    display: inline-block;
}

#langToggle {
    border-radius: 20px;
    transition: all 0.3s ease;
}

#langToggle:hover {
    transform: scale(1.05);
    background-color: #fff;
    color: #000;
}

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

.lang-btn {
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lang-btn .flag {
    font-size: 1.3rem;
    display: inline-block;
}

.lang-btn:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background-color: #fff;
    color: #000;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.lang-btn.active:hover {
    background-color: #fff;
    color: #000;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Services Section */
#services {
    background-color: #f8f9fa;
}

#services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card .card-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card .card-text {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 5rem 0;
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.contact-info a {
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info a:hover {
    transform: scale(1.05);
    color: #667eea !important;
}

/* Footer */
footer {
    background-color: #000;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    #services h2,
    #contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

/* Smooth transitions for language change */
[data-es], [data-en], [data-pt] {
    transition: opacity 0.3s ease;
}
