:root {
    --primary-color: #0c1a2e; /* Azul profundo extraído del logo */
    --primary-light: #1b355c;
    --primary-accent: #0d6efd; /* Azul vibrante para botones (Bootstrap primary) */
    --secondary-color: #707b8c; /* Gris sutil */
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

.section-bg {
    background-color: var(--bg-light);
}

.text-primary {
    color: var(--primary-accent) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-outline-primary {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.btn-outline-primary:hover {
    background-color: var(--primary-accent);
    color: white;
}

.section-title {
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--primary-accent);
    bottom: 0;
    left: 25%;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

.logo-img {
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1.05rem;
    margin: 0 10px;
    position: relative;
    color: var(--text-dark);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(12, 26, 46, 0.9) 0%, rgba(27, 53, 92, 0.8) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    padding-top: 80px;
}

.glass-btn {
    background: rgba(13, 110, 253, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-btn:hover {
    background: rgba(13, 110, 253, 1);
}

/* Services */
.service-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

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

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--primary-accent);
    color: white;
}

/* Projects */
.project-showcase {
    transition: all 0.3s ease;
}

.project-showcase:hover {
    transform: scale(1.01);
}

/* Form */
.form-control {
    border-radius: 10px;
}
.form-control:focus {
    box-shadow: none;
    background-color: #fff !important;
    border: 1px solid var(--primary-accent) !important;
}

/* Utilities */
.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.02);
}

.grayscale-logo {
    filter: grayscale(100%) invert(1) brightness(200%);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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