/* LMA Custom Styles */

/* Typography */
:root {
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    
    /* LMA Colors */
    --gold: #dbb95b;
    --gold-dark: #c4a447;
    --gold-light: #e8c66f;
    --gold-accent: #faf7ef;
    --dark: #212529;
    --light: #f8f9fa;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
}

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

/* Custom Colors */
.text-gold {
    color: var(--gold) !important;
}

.text-gold-light {
    color: var(--gold-light) !important;
}

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

.bg-gradient-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

/* Custom Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(219, 185, 91, 0.3);
}

.btn-gold-outline {
    border: 2px solid white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('../assets/hero-government-building.jpg') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(219, 185, 91, 0.55));
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #0d0d0d;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #1f1f1f;
}

.hero-highlight {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.btn-hero-primary {
    background-color: #0f0f10;
    color: #ffffff;
    border: 2px solid #0f0f10;
    font-weight: 600;
    padding-inline: 2.5rem;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background-color: #1a1a1c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    border: 2px solid #0f0f10;
    color: #0f0f10;
    background-color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    padding-inline: 2.5rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: #0f0f10;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(219, 185, 91, 0.8), rgba(196, 164, 71, 0.7));
}

.service-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    font-size: 2rem;
}

.service-card .card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
}

/* Consultora Section */
.consultora-text {
    color: #111111;
}

.consultora-subtitle {
    letter-spacing: 0.3px;
}

.consultora-highlight {
    background: #f8f9fa;
    border-radius: 18px;
    border: 1px solid rgba(15, 15, 16, 0.08);
}

.consultora-list li {
    color: #212529;
    font-weight: 500;
}

.consultora-list i {
    color: #0f0f10;
    font-size: 1.35rem;
    line-height: 1;
}

.consultora-list span {
    color: #343a40;
}

/* Trayectoria */
.trayectoria-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(15, 15, 16, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trayectoria-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.trayectoria-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #0f0f10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.6rem;
    box-shadow: 0 12px 24px rgba(15, 15, 16, 0.25);
}

/* Benefit Icons */
.benefit-icon {
    background: var(--gold-accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Advantage Icons */
.advantage-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(219, 185, 91, 0.3);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    transition: color 0.3s ease;
}

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

/* Modal Customization */
.modal-header {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: white;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Form Floating Labels */
.form-floating > label {
    color: #6c757d;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(219, 185, 91, 0.25);
}

.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(219, 185, 91, 0.25);
}

/* Footer */
footer {
    background-color: #1a1a1a !important;
}

/* Toast Customization */
.toast-header .bi-check-circle-fill {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}