/* Custom CSS para complementar Bootstrap */
:root {
    --primary-color: #1e4a72;
    --secondary-color: #5ba3d4;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Override Bootstrap colors */
:root {
    --bs-primary: #1e4a72;
    --bs-warning: #f39c12;
    --bs-light: #f8f9fa;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header Styles */
.header {
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar-brand .brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-contact {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

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

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.hero-overlay {
    background: rgba(30, 74, 114, 0.1);
}

.hero-content {
    padding-top: 120px;
}

.hero-title {
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-img {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-stats .stat-item {
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 2rem;
}

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

.about .section-title::after {
    left: 0;
    transform: none;
}

/* Service Cards */
.service-card {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* About Section */
.about {
    background: var(--white);
}

.feature-icon {
    background: var(--accent-color) !important;
}

/* Contact Section */
.contact-item {
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.contact-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 74, 114, 0.25);
}

.form-control.error,
.form-select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Footer */
.footer {
    background: var(--text-dark) !important;
}

.social-links .btn:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-3px);
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #e67e22;
    border-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

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

.service-card,
.contact-item,
.feature-item {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Backdrop blur utility */
.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Custom spacing */
.hero-content {
    margin-bottom: 4rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.notification-success {
    background: #28a745;
}

.notification.notification-error {
    background: #dc3545;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

/* Custom utilities */
.text-warning {
    color: var(--accent-color) !important;
}

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

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

/* Hover effects */
.service-card:hover,
.contact-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Custom card styling */
.card {
    border: none;
    border-radius: 16px;
}

.rounded {
    border-radius: 16px !important;
}

/* Enhanced shadows */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

