:root {
    --primary-color: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #FEE2E2;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.navbar-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23DC2626' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-lang {
    color: var(--text-color);
    border: 1px solid var(--border-color);
    background-color: var(--white);
}

.btn-lang:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-lang-active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-lang-active:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #991B1B 100%);
    color: white;
    padding: 5rem 0;
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 500;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    padding: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.1);
    border-color: var(--primary-light);
}

.service-icon {
    display: inline-block;
    color: var(--primary-color);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.6rem 1.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
}

.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

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

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.footer-dark {
    background-color: #1e293b;
    color: rgba(255, 255, 255, 0.85);
    border-top: none;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: #FCA5A5;
    text-decoration: underline;
}

.contact-info-box {
    background-color: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-info-box h5 {
    color: var(--text-color);
    font-weight: 600;
}

.contact-email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-email-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.alert-success {
    background-color: #DEF7EC;
    border-color: #31C48D;
    color: #03543F;
}

.alert-danger {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: #991B1B;
}

h2 {
    color: var(--text-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .navbar-logo {
        height: 35px;
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 576px) {
    .brand-text {
        display: none;
    }
    
    .navbar-logo {
        height: 40px;
    }
}
