/* Enhanced styles matching Legend's exact design */

/* Color palette matching Legend's brand exactly */
:root {
    /* Legend's exact color variables */
    --brz-global-color1: 161, 112, 217;
    --brz-global-color2: 28, 28, 28;
    --brz-global-color3: 171, 0, 1;
    --brz-global-color4: 184, 230, 225;
    --brz-global-color5: 245, 212, 209;
    --brz-global-color6: 235, 235, 235;
    --brz-global-color7: 26, 26, 26;
    --brz-global-color8: 255, 255, 255;
    
    /* Main brand colors */
    --primary-red: #AB0001;  /* Legend's red primary color */
    --text-dark: rgb(26, 26, 26);  /* #1a1a1a */
    --text-medium: rgb(28, 28, 28); /* #1c1c1c */
    --text-light: #999999;
    --background-light: rgb(235, 235, 235); /* #ebebeb */
    --border-light: #e5e5e5;
    --white: #ffffff;
}

/* Enhanced button styles */
.cta-button {
    background-color: var(--primary-red) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(171, 0, 1, 0.3);
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.cta-button:hover {
    background-color: #8B0001 !important;
    box-shadow: 0 6px 20px rgba(171, 0, 1, 0.4);
}

/* Enhanced feature cards */
.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--background-light) 100%);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(171, 0, 1, 0.1);
}

/* Enhanced service cards */
.service-card {
    transition: all 0.3s ease;
    border-left-color: var(--primary-red);
}

.service-card:hover {
    background-color: var(--background-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(171, 0, 1, 0.15);
}

/* Navigation enhancements */
.nav-menu a {
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Enhanced typography */
.hero-title {
    color: var(--text-dark);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    letter-spacing: -1.3px;
}

.section-title {
    color: var(--text-dark);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    letter-spacing: -1.5px;
}

.feature-title,
.service-title {
    color: var(--text-dark);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

/* Loading animation for icons */
.feature-icon {
    background: linear-gradient(135deg, var(--primary-red) 0%, #8B0001 100%);
    box-shadow: 0 4px 15px rgba(171, 0, 1, 0.3);
}

/* Enhanced footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2d2d2d 100%);
}

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

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

.feature-card,
.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced focus states for accessibility */
.cta-button:focus,
.nav-menu a:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Logo styling */
.logo {
    color: var(--primary-red) !important;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

/* Breadcrumb styling */
.breadcrumb-nav a {
    color: var(--primary-red);
    font-family: 'Rajdhani', sans-serif;
}

/* CTA Section styling */
.cta-section {
    background-color: var(--primary-red);
}

.cta-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

/* Hero description */
.hero-description,
.section-description,
.feature-description,
.service-description,
.large-content-text {
    color: var(--text-medium);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 400;
}

/* Additional responsive enhancements */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .service-card {
        padding: 1.5rem;
    }
}
