/**
 * Enhanced button styles for SchutzCarr Armored Vehicles theme
 */

/* Modern Button Base Styles */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.btn-modern:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.btn-modern:hover:before {
    left: 0;
}

.btn-modern i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Primary Button - Gold Gradient */
.btn-modern.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-1) 0%, #b38c4d 100%);
    color: var(--color-bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-modern.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(212, 169, 104, 0.4);
    transform: translateY(-2px);
}

.btn-modern.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(212, 169, 104, 0.4);
}

/* Secondary Button - Dark with Gold Border */
.btn-modern.btn-secondary {
    background: rgba(26, 32, 40, 0.8);
    color: var(--color-accent-1);
    border: 1px solid var(--color-accent-1);
    backdrop-filter: blur(5px);
}

.btn-modern.btn-secondary:hover {
    background: rgba(26, 32, 40, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--color-accent-1);
    transform: translateY(-2px);
}

.btn-modern.btn-secondary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--color-accent-1);
}

/* Pulse Animation for CTA Buttons */
@keyframes subtle-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 169, 104, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 169, 104, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 169, 104, 0);
    }
}

.btn-modern.btn-pulse {
    animation: subtle-pulse 2s infinite;
}

/* Header Specific Button Styles */
.header-actions .btn-modern {
    margin-left: 12px;
}

.header-actions .btn-modern.btn-secondary {
    background: rgba(26, 32, 40, 0.4);
}

.header-actions .btn-modern.btn-primary {
    padding: 0.8rem 1.8rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-actions .btn-modern {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .btn-modern i {
        margin-right: 6px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-actions .btn-modern.btn-secondary {
        display: none;
    }
    
    .header-actions .btn-modern.btn-primary {
        padding: 0.7rem 1.4rem;
    }
}
